// // MusicBrowser::onPage from 0x14047d480 to 0x14047d530 (176 bytes) // // 6 xrefs: // > MusicBrowser::init @ 0x14047a6ae // > MusicBrowser::init @ 0x14047a783 // > @ 0x1408cf62c // > @ 0x1408cf640 // > @ 0x1408cf650 // > @ 0x14092867c // // This function is hookable on this platform (idp: pc, 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 11:32:43 +0000 // void __fastcall MusicBrowser::onPage(__int64 a1, __int64 a2) { __int64 v4; // rcx unsigned int v5; // eax int v6; // ebp int v7; // ebx int v8; // eax int v9; // ecx int v10; // edx v4 = *(_QWORD *)(a1 + 712); if ( v4 ) { v5 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v4 + 64)); v6 = (int)ceilf((float)(v5 / 0xA)); v7 = *(_DWORD *)(*(_QWORD *)(a1 + 712) + 96LL); v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v9 = 1; if ( v8 != 1 ) v9 = -1; v10 = v9 + v7; if ( v9 + v7 >= 0 && v10 <= v6 ) { *(_DWORD *)(*(_QWORD *)(a1 + 712) + 96LL) = v10; MusicBrowser::setupList((__int64 *)a1, *(cocos2d::CCObject **)(a1 + 712)); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source