// // SFXBrowser::onPage from 0xb971d0 to 0xb9728c (188 bytes) // // 4 xrefs: // > @ 0xe3728 // > sub_B947C8 @ 0xb94dbc // > sub_B947C8 @ 0xb94e9c // > @ 0x1546d48 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:02:41 +0000 // void __fastcall SFXBrowser::onPage(SFXBrowser *this, cocos2d::CCObject *a2) { __int64 v2; // x2 unsigned int v5; // w0 int v6; // w21 signed int v7; // w19 int v8; // w0 signed int v9; // w2 v2 = *((_QWORD *)this + 89); if ( v2 ) { v5 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 64)); v6 = *(_DWORD *)(*((_QWORD *)this + 89) + 96LL); v7 = vcvtps_s32_f32((float)(v5 / *((_DWORD *)this + 276))); v8 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v9 = v6 + 1; if ( v8 != 1 ) v9 = v6 - 1; if ( v9 > v7 || v9 < 0 ) { if ( v9 == -1 ) SFXBrowser::onExitFolder(this, a2); } else { *(_DWORD *)(*((_QWORD *)this + 89) + 96LL) = v9; SFXBrowser::setupList(this, *((cocos2d::CCArray ***)this + 89)); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source