// // MPLobbyLayer::scene from 0x100493a60 to 0x100493b85 (293 bytes) // // 2 xrefs: // > MultiplayerLayer::onBtn1 @ 0x10039afcb // > MultiplayerLayer::onBtn2 @ 0x10039b01e // // 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 // cocos2d::CCScene *__fastcall MPLobbyLayer::scene(int a1) { cocos2d::CCScene *v1; // rbx char *v2; // r14 v1 = cocos2d::CCScene::create(); AppDelegate::get()->m_runningScene = v1; v2 = (char *)operator new(0x1F0u); cocos2d::CCLayer::CCLayer(v2); *(_QWORD *)v2 = off_1009437F0; *((_QWORD *)v2 + 40) = off_100943CD0; *((_QWORD *)v2 + 41) = &off_100943D40; *((_QWORD *)v2 + 42) = off_100943D58; *((_QWORD *)v2 + 43) = off_100943D78; *((_QWORD *)v2 + 44) = off_100943D98; *((_QWORD *)v2 + 51) = &off_100943DC0; *((_QWORD *)v2 + 52) = &off_100943DF0; *((_QWORD *)v2 + 53) = off_100943E08; *((_QWORD *)v2 + 54) = &off_100943E28; *((_QWORD *)v2 + 55) = off_100943E40; *((_DWORD *)v2 + 112) = 0; *(_OWORD *)(v2 + 456) = 0; *(_OWORD *)(v2 + 472) = 0; *(_QWORD *)(v2 + 486) = 0; if ( cocos2d::CCLayer::init((cocos2d::CCLayer *)v2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); v2 = nullptr; } ((void (__fastcall *)(cocos2d::CCScene *, char *))v1->addChild)(v1, v2); return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source