// // GJShopLayer::create from 0x4e3ddc to 0x4e3ea0 (196 bytes) // // 1 xrefs: // > GJShopLayer::scene @ 0x4e3eba // // 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 // GJShopLayer *GJShopLayer::create(ShopType a1) { GJShopLayer *v2; // r4 GJShopLayer_vtbl *v3; // r3 int *v4; // r0 v2 = (GJShopLayer *)operator new(0x174u); cocos2d::CCLayer::CCLayer(v2); v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJShopLayer_vtbl *)&off_A78CA8; v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A78EF4; v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A78F2C; v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A78F38; v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A78F48; v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A78F58; v2->GJPurchaseDelegate::__vftable = (GJPurchaseDelegate_vtbl *)&off_A78F6C; v2->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_A78F78; v2->RewardedVideoDelegate::__vftable = (RewardedVideoDelegate_vtbl *)&off_A78F84; v2->m_closing = 0; v2->m_currencyLabel = nullptr; v2->m_shopItems = nullptr; v2->m_type = 0; v2->m_sheetName.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8; v2->m_unkNode1 = nullptr; v2->m_unkNode2 = nullptr; v2->m_videoPlaying = 0; v2->m_unkBool = 0; v2->m_shopKeeper = nullptr; v2->m_zolgurothDialogIndex = 0; v2->m_affordDialogIndex = 0; if ( GJShopLayer::init(v2, a1) ) { cocos2d::CCObject::autorelease(v2); } else { v3 = v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v4 = (int *)v2; v2 = nullptr; v3->~GJShopLayer_0((GJShopLayer *)v4); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source