// // CustomSongLayer::onSongBrowser from 0x1400c3e40 to 0x1400c3eb8 (120 bytes) // // 2 xrefs: // > CustomSongLayer::init @ 0x1400c2f1d // > @ 0x1406c8058 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void CustomSongLayer::onSongBrowser(CustomSongLayer *a1, cocos2d::CCObject *a2) { __int64 v3; // rcx GJSongBrowser *v4; // rsi GJDropDownLayerDelegate *v5; // rdx cocos2d::CCScene *v6; // rbx cocos2d::CCScene_vtbl *v7; // rdi int HighestChildZ; // eax v4 = GJSongBrowser::create(); v5 = &a1->GJDropDownLayerDelegate; if ( !a1 ) v5 = nullptr; v4->m_delegate = v5; v6 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v3) + 264); v7 = v6->__vftable; HighestChildZ = cocos2d::CCScene::getHighestChildZ(v6); v7->addChild_0(v6, v4, HighestChildZ + 1); v4->showLayer(v4, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source