// // MusicBrowser::onPage from 0xb85558 to 0xb85604 (172 bytes) // // 4 xrefs: // > @ 0x99e80 // > sub_B85DD0 @ 0xb86114 // > sub_B85DD0 @ 0xb861ec // > @ 0x1544350 // // 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:30 +0000 // __int64 __fastcall MusicBrowser::onPage(__int64 this, cocos2d::CCObject *a2) { __int64 v3; // x1 MusicSearchResult **v4; // x21 cocos2d::CCObject *v5; // x20 unsigned int v6; // w19 cocos2d::CCObject *v7; // x0 __int64 (__fastcall *v8)(cocos2d::CCObject *); // x1 int v9; // w20 signed int v10; // w19 signed int v11; // w1 v3 = *(_QWORD *)(this + 712); if ( v3 ) { v4 = (MusicSearchResult **)this; v5 = a2; v6 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v3 + 64)); v7 = v5; v8 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v5 + 64LL); v9 = *((_DWORD *)v4[89] + 24); v10 = vcvtps_s32_f32((float)(v6 / 0xA)); this = v8(v7); v11 = v9 + 1; if ( (_DWORD)this != 1 ) v11 = v9 - 1; if ( v11 <= v10 && (v11 & 0x80000000) == 0 ) { *((_DWORD *)v4[89] + 24) = v11; return MusicBrowser::setupList((MusicBrowser *)v4, v4[89]); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source