// // CustomSongLayer::onSongBrowser from 0x57ad6e to 0x57adac (62 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:52:48 +0000 // int __fastcall CustomSongLayer::onSongBrowser(CustomSongLayer *this, cocos2d::CCObject *a2) { int *v3; // r0 int *v4; // r4 cocos2d::CCScene *v5; // r5 void (__fastcall *v6)(cocos2d::CCScene *, int *, int); // r6 int HighestChildZ; // r0 v3 = GJSongBrowser::create(this); v3[118] = (int)this + 520; v4 = v3; v5 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)v3) + 220); v6 = *(void (__fastcall **)(cocos2d::CCScene *, int *, int))(*(_DWORD *)v5 + 232); HighestChildZ = cocos2d::CCScene::getHighestChildZ(v5); v6(v5, v4, HighestChildZ + 1); return (*(int (__fastcall **)(int *, _DWORD))(*v4 + 664))(v4, 0); }