// // GJSongBrowser::loadPage from 0x3f7750 to 0x3f7800 (176 bytes) // // 3 xrefs: // > GJSongBrowser::init @ 0x3f7814 // > GJSongBrowser::onNextPage @ 0x3f7826 // > GJSongBrowser::onPrevPage @ 0x3f7830 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:47:18 +0000 // int __fastcall GJSongBrowser::loadPage(GJSongBrowser *this, int a2) { cocos2d::CCArray *v4; // r0 int v5; // r5 cocos2d::CCArray *v6; // r7 int v7; // r8 unsigned int i; // r6 cocos2d::CCObject *v9; // r0 *((_DWORD *)this + 122) = a2; v4 = (cocos2d::CCArray *)(*(int (__fastcall **)(_DWORD, bool))(**((_DWORD **)this + 126) + 172))( *((_DWORD *)this + 126), a2 > 0); v5 = 10 * a2; v6 = (cocos2d::CCArray *)cocos2d::CCArray::create(v4); v7 = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 130)); if ( cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 130)) ) { for ( i = v5; i != v5 + 10 && i <= cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 130)) - 1; ++i ) { v9 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 130), i); cocos2d::CCArray::addObject(v6, v9); } } cocos2d::CCArray::count(v6); cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 130)); (*(void (**)(void))(**((_DWORD **)this + 125) + 172))(); GJSongBrowser::setupPageInfo(this, v7, v5, 10); return GJSongBrowser::setupSongBrowser(this, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source