//CFTTAudio_Bank - [2020-04-13 11:57:46]
#ifndef _CFTTAUDIO_BANK_H_
#define _CFTTAUDIO_BANK_H_

#include "common.h"
#include "CFTTAsyncEvent.h"
#include "CFTTFile.h"
/*
001FB1D8 CFTTAudio_Bank::Create(char const*,bool,bool)
001FB1F2 CFTTAudio_Bank::Create(CFTTFile *,bool,bool)
001FB23C CFTTAudio_Bank::CFTTAudio_Bank(CFTTFile *,bool,bool)
001FB598 CFTTAudio_Bank::AsyncLoadCallback(CFTTAsyncEvent<TFTTFileAsyncEventData> *,TFTTFileAsyncEventData const*,void *)
001FB618 CFTTAudio_Bank::Dereference()
001FB650 CFTTAudio_Bank::GetState()
001FB654 CFTTAudio_Bank::GetNumPatches()
001FB658 CFTTAudio_Bank::GetPatch(uint)
001FB66C CFTTAudio_Bank::Release()
001FB694 CFTTAudio_Bank::Reference()
001FB6B8 CFTTAudio_Bank::~CFTTAudio_Bank()

*/
class CFTTAudio_Patch;
class CFTTAudio_Bank {
public:
	static CFTTAudio_Bank * Create(const char *, bool, bool);																				//001FB1D8
	static CFTTAudio_Bank *  Create(CFTTFile * cft1, bool b1, bool b2);																		//001FB1F2
    CFTTAudio_Bank(CFTTFile *,bool,bool);          																							//001FB23C
	static void AsyncLoadCallback(CFTTAsyncEvent<TFTTFileAsyncEventData> * cftEv1, TFTTFileAsyncEventData const* tftEv2, void * v3);        //001FB598
	void Dereference(); 																													//001FB618
    void GetState();                                    																					//001FB650
    void GetNumPatches();                               																					//001FB654
	CFTTAudio_Patch * GetPatch(uint u0);                																					//001FB658
    void Release();                                     																					//001FB66C
    void Reference();                                   																					//001FB694
	~CFTTAudio_Bank();                                  																					//001FB6B8

	CFTTFile * field_0;
	int field_4;		                                //.text:001FB3C2                 STR             R0, [R4,#4]
	int field_8;
	CFTTAudio_Patch * field_C;
	struct TFTTAudio_PatchInfo* field_10;
	char * field_14;
	int field_18;

};


#endif //_CFTTAUDIO_BANK_H_