// // GJShopLayer::scene from 0x1402a95b0 to 0x1402a9722 (370 bytes) // // 4 xrefs: // > GJGarageLayer::onShop @ 0x140278fdf // > SecretRewardsLayer::onShop @ 0x1403d688d // > SecretRewardsLayer::dialogClosed @ 0x1403d6a74 // > @ 0x1406d21f8 // // 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 // // local variable allocation has failed, the output may be wrong! // Hidden C++ exception states: #wind=1 cocos2d::CCScene *GJShopLayer::scene(ShopType a1) { cocos2d::CCScene *v2; // rsi __int64 v3; // rdx __int64 v4; // rcx GJShopLayer *v5; // rdi v2 = (cocos2d::CCScene *)cocos2d::CCScene::create(*(_QWORD *)&a1); *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v4, v3) + 224) = v2; v5 = (GJShopLayer *)operator new(0x218u); cocos2d::CCLayer::CCLayer(v5); v5->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJShopLayer_vtbl *)&GJShopLayer::`vftable'; v5->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&GJShopLayer::`vftable'; v5->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&GJShopLayer::`vftable'; v5->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&GJShopLayer::`vftable'; v5->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&GJShopLayer::`vftable'; v5->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&GJShopLayer::`vftable'; v5->GJPurchaseDelegate::__vftable = (GJPurchaseDelegate_vtbl *)&GJShopLayer::`vftable'; v5->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&GJShopLayer::`vftable'; v5->RewardedVideoDelegate::__vftable = (RewardedVideoDelegate_vtbl *)&GJShopLayer::`vftable'; v5->m_closing = 0; v5->m_currencyLabel = nullptr; v5->m_shopItems = nullptr; v5->m_type = 0; v5->m_sheetName.m_data.0 = 0; v5->m_sheetName.m_data.m_size = 0; v5->m_sheetName.m_data.m_capacity = 15; v5->m_sheetName.m_data.m_smallStorage._Elems[0] = 0; v5->m_unkNode1 = nullptr; v5->m_unkNode2 = nullptr; *(_WORD *)&v5->m_videoPlaying = 0; v5->m_shopKeeper = nullptr; *(_QWORD *)&v5->m_zolgurothDialogIndex = 0; if ( GJShopLayer::init(v5, a1) ) { cocos2d::CCObject::autorelease(v5); } else { ((void (__fastcall *)(GJShopLayer *, __int64))v5->~GJShopLayer)(v5, 1); v5 = nullptr; } v2->addChild_1(v2, v5); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source