// // GJShopLayer::scene from 0x10030e440 to 0x10030e56d (301 bytes) // // 4 xrefs: // > GJGarageLayer::onShop @ 0x1003554b4 // > SecretRewardsLayer::onShop @ 0x10070f537 // > SecretRewardsLayer::showShop @ 0x100716d4b // > SecretRewardsLayer::dialogClosed @ 0x100716e86 // // 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 12:28:37 +0000 // _BYTE *__fastcall GJShopLayer::scene(__int64 a1, __int64 a2) { _BYTE *v2; // rbx char *v3; // r14 v2 = cocos2d::CCScene::create(); *(_QWORD *)(AppDelegate::get(a1, a2) + 72) = v2; v3 = (char *)operator new(0x210u); cocos2d::CCLayer::CCLayer(v3); *(_QWORD *)v3 = off_100B1B458; *((_QWORD *)v3 + 40) = off_100B1B900; *((_QWORD *)v3 + 41) = &off_100B1B970; *((_QWORD *)v3 + 42) = off_100B1B988; *((_QWORD *)v3 + 43) = off_100B1B9A8; *((_QWORD *)v3 + 44) = off_100B1B9D0; *((_QWORD *)v3 + 51) = &off_100B1BA00; *((_QWORD *)v3 + 52) = &off_100B1BA18; *((_QWORD *)v3 + 53) = off_100B1BA30; v3[432] = 0; *(_OWORD *)(v3 + 440) = 0; *((_DWORD *)v3 + 114) = 0; *((_OWORD *)v3 + 29) = 0; *((_OWORD *)v3 + 30) = 0; *(_OWORD *)(v3 + 490) = 0; *((_OWORD *)v3 + 32) = 0; if ( (unsigned __int8)GJShopLayer::init(v3, (unsigned int)a1) ) { cocos2d::CCObject::autorelease(v3); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v3 + 16LL))(v3); v3 = nullptr; } (*(void (__fastcall **)(_BYTE *, char *))(*(_QWORD *)v2 + 456LL))(v2, v3); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source