// // SFXBrowser::onPage from 0x6c89ae to 0x6c8a2a (124 bytes) // // 0 xrefs: // // 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:56:57 +0000 // void __fastcall SFXBrowser::onPage(SFXBrowser *this, cocos2d::CCObject *a2) { int v3; // r3 int v5; // r0 float v6; // r0 int v7; // r4 int v8; // s15 int v9; // r3 v3 = *((_DWORD *)this + 136); if ( v3 ) { v5 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v3 + 56)) / *((_DWORD *)this + 191); v6 = ceilf((float)(unsigned int)v5); v7 = *(_DWORD *)(*((_DWORD *)this + 136) + 72); v8 = (int)v6; if ( (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2) == 1 ) v9 = v7 + 1; else v9 = v7 - 1; if ( v9 < 0 ) { if ( v9 == -1 ) SFXBrowser::onExitFolder(this, a2); } else if ( v9 <= v8 ) { *(_DWORD *)(*((_DWORD *)this + 136) + 72) = v9; SFXBrowser::setupList((int *)this, *((cocos2d::CCArray ***)this + 136)); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source