// C:\diabpsx\PSXSRC\SNDBANK.CPP

#include "types.h"

// address: 0x800901DC
// line start: 141
// line end:   178
void SPU_Init__Fv() {
	{
		// address: 0xFFFFFFD0
		// size: 0x28
		auto struct SpuCommonAttr common_attr;
	}
}


// address: 0x800902AC
// line start: 191
// line end:   204
int SND_FindChannel__Fv() {
	// address: 0xFFFFFFE0
	// size: 0x18
	auto char status[24];
	// register: 3
	register int count;
	// register: 16
	register int result;
}


// address: 0x80090318
// line start: 214
// line end:   224
void SND_ClearBank__Fv() {
	// register: 16
	register bool GalRet;
}


// address: 0x80090390
// line start: 233
// line end:   246
bool SndLoadCallBack__FPUciib(unsigned char *Mem, int ReadSoFar, int Size, bool LastChunk) {
	// address: 0x8012D5C0
	static int DestAddr;
}


// address: 0x80090408
// line start: 251
// line end:   290
void SND_LoadBank__Fi(int lvlnum) {
	// register: 16
	// size: 0x14
	register struct FileIO *MyFileIO;
	// address: 0xFFFFFFE0
	// size: 0x10
	auto char BankFile[16];
}


// address: 0x8009053C
// line start: 356
// line end:   361
int SND_FindSFX__FUs(unsigned short Name) {
	{
		// register: 3
		register int i;
	}
}


// address: 0x80090590
// line start: 385
// line end:   387
void SND_StopSnd__Fi(int voice) {
}


// address: 0x800905B4
// line start: 397
// line end:   402
int SND_RemapSnd__Fi(int SFXNo) {
	{
		// register: 3
		register int i;
	}
}


// address: 0x80090618
// line start: 412
// line end:   477
int SND_PlaySnd__FUsiii(unsigned short Name, int vol, int pan, int pitchadj) {
	// address: 0xFFFFFFA0
	// size: 0x40
	auto struct SpuVoiceAttr voice_attr;
	// register: 19
	register int Offset;
	// register: 3
	register int sfxnum;
	// register: 17
	register int voice;
}


