// // GJGarageLayer::scene from 0x790318 to 0x79047c (356 bytes) // // 6 xrefs: // > MenuLayer::onGarage @ 0x5c2e5c // > LevelInfoLayer::onGarage @ 0x6d59a8 // > GJShopLayer::onBack @ 0x92b5a0 // > GJShopLayer::dialogClosed @ 0x92c07c // > WorldSelectLayer::onGarage @ 0x95e434 // > @ 0x362b8 // // 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 *GJGarageLayer::scene() { cocos2d::CCScene *v0; // x20 __int64 v1; // x19 v0 = cocos2d::CCScene::create(); AppDelegate::get()->cocos2d::CCSceneDelegate::__vftable = (cocos2d::CCSceneDelegate_vtbl *)v0; v1 = operator new(0x280u); cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v1); *(_QWORD *)(v1 + 472) = 0; *(_QWORD *)v1 = &off_1178610; *(_QWORD *)(v1 + 320) = off_1178AE0; *(_QWORD *)(v1 + 328) = &off_1178B50; *(_QWORD *)(v1 + 336) = &off_1178B68; *(_QWORD *)(v1 + 344) = &off_1178B88; *(_QWORD *)(v1 + 352) = off_1178BA8; *(_QWORD *)(v1 + 408) = off_1178BD0; *(_QWORD *)(v1 + 416) = &off_1178C18; *(_QWORD *)(v1 + 424) = &off_1178C30; *(_QWORD *)(v1 + 432) = &off_1178C48; *(_QWORD *)(v1 + 496) = 0; *(_QWORD *)(v1 + 504) = 0; *(_QWORD *)(v1 + 440) = &off_1178C60; *(_QWORD *)(v1 + 448) = &off_1178C78; *(_QWORD *)(v1 + 456) = &off_1178C98; *(_BYTE *)(v1 + 512) = 0; *(_DWORD *)(v1 + 528) = 0; *(_QWORD *)(v1 + 536) = 0; *(_QWORD *)(v1 + 560) = 0; *(_QWORD *)(v1 + 544) = v1 + 528; *(_QWORD *)(v1 + 552) = v1 + 528; *(_QWORD *)(v1 + 576) = 0; *(_QWORD *)(v1 + 584) = 0; *(_QWORD *)(v1 + 592) = 0; *(_DWORD *)(v1 + 624) = 0; *(_DWORD *)(v1 + 628) = 0; *(_BYTE *)(v1 + 632) = 0; if ( GJGarageLayer::init((GJGarageLayer *)v1) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1); v0->addChild(v0, (cocos2d::CCNode *)v1); } else { (*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1); v0->addChild(v0, nullptr); } return v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source