// // CustomSongLayer::onSongBrowser from 0x140164f10 to 0x140164f88 (120 bytes) // // 2 xrefs: // > CustomSongLayer::init @ 0x140163f7f // > @ 0x140917e64 // // 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:27:26 +0000 // __int64 __fastcall CustomSongLayer::onSongBrowser(__int64 a1) { __int64 v2; // rcx _QWORD *v3; // rsi __int64 v4; // rdx cocos2d::CCScene *v5; // rdi __int64 v6; // rbx int HighestChildZ; // eax v3 = (_QWORD *)GJSongBrowser::create(); v4 = a1 + 664; if ( !a1 ) v4 = 0; v3[74] = v4; v5 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v2) + 272); v6 = *(_QWORD *)v5; HighestChildZ = cocos2d::CCScene::getHighestChildZ(v5); (*(void (__fastcall **)(cocos2d::CCScene *, _QWORD *, _QWORD))(v6 + 456))(v5, v3, (unsigned int)(HighestChildZ + 1)); return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*v3 + 1080LL))(v3, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source