#ifndef __CUSTOMLISTVIEW_H__ #define __CUSTOMLISTVIEW_H__ #include namespace gd { class BoomListView; #pragma runtime_checks("s", off) class GDH_DLL CustomListView : public BoomListView { //no members protected: CustomListView() { reinterpret_cast( base + 0x57E60 )(this); } public: static CustomListView* create( cocos2d::CCArray* entries, BoomListType type, float width, float height ) { __asm { movss xmm1, width movss xmm2, height } auto pRet = reinterpret_cast( base + 0x57f90 )(entries, type); __asm add esp, 0x4 return pRet; } virtual void setupList() { return reinterpret_cast( base + 0x58870 )(this); } virtual TableViewCell* getListCell(const char* key) { return reinterpret_cast( base + 0x58050 )(this, key); } virtual void loadCell(TableViewCell* cell, unsigned int index) { return reinterpret_cast( base + 0x585C0 )(this, cell, index); } }; #pragma runtime_checks("s", restore) } #endif