// // GJShopLayer::scene from 0x1403af830 to 0x1403af9a2 (370 bytes) // // 4 xrefs: // > GJGarageLayer::onShop @ 0x14038194f // > SecretRewardsLayer::onShop @ 0x14056c2f9 // > SecretRewardsLayer::dialogClosed @ 0x14056c4f0 // > @ 0x140923bb8 // // 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:31:22 +0000 // // Hidden C++ exception states: #wind=1 __int64 __fastcall GJShopLayer::scene(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { unsigned int v4; // ebx __int64 v5; // rsi __int64 v6; // rcx cocos2d::CCLayer *v7; // rdi v4 = a1; v5 = cocos2d::CCScene::create(a1, a2, a3, a4); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v6) + 232) = v5; v7 = (cocos2d::CCLayer *)operator new(0x218u); cocos2d::CCLayer::CCLayer(v7); *(_QWORD *)v7 = &GJShopLayer::`vftable'; *((_QWORD *)v7 + 40) = &GJShopLayer::`vftable'; *((_QWORD *)v7 + 41) = &GJShopLayer::`vftable'; *((_QWORD *)v7 + 42) = &GJShopLayer::`vftable'; *((_QWORD *)v7 + 43) = &GJShopLayer::`vftable'; *((_QWORD *)v7 + 44) = &GJShopLayer::`vftable'; *((_QWORD *)v7 + 51) = &GJShopLayer::`vftable'; *((_QWORD *)v7 + 52) = &GJShopLayer::`vftable'; *((_QWORD *)v7 + 53) = &GJShopLayer::`vftable'; *((_BYTE *)v7 + 432) = 0; *((_QWORD *)v7 + 55) = 0; *((_QWORD *)v7 + 56) = 0; *((_DWORD *)v7 + 114) = 0; *((_OWORD *)v7 + 29) = 0; *((_QWORD *)v7 + 60) = 0; *((_QWORD *)v7 + 61) = 15; *((_BYTE *)v7 + 464) = 0; *((_QWORD *)v7 + 62) = 0; *((_QWORD *)v7 + 63) = 0; *((_WORD *)v7 + 256) = 0; *((_QWORD *)v7 + 65) = 0; *((_QWORD *)v7 + 66) = 0; if ( (unsigned __int8)GJShopLayer::init(v7, v4) ) { cocos2d::CCObject::autorelease(v7); } else { (*(void (__fastcall **)(cocos2d::CCLayer *, __int64))(*(_QWORD *)v7 + 8LL))(v7, 1); v7 = nullptr; } (*(void (__fastcall **)(__int64, cocos2d::CCLayer *))(*(_QWORD *)v5 + 464LL))(v5, v7); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source