// // GJMGLayer::create from 0x43526c to 0x435324 (184 bytes) // // 1 xrefs: // > GJBaseGameLayer::createMiddleground @ 0x46d242 // // 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 // GJMGLayer *GJMGLayer::create(int a1) { GJMGLayer *v2; // r4 GJMGLayer_vtbl *v3; // r3 int *v4; // r0 v2 = (GJMGLayer *)operator new(0x170u); cocos2d::CCLayer::CCLayer(v2); v2->m_showGround1 = 1; v2->m_showGround2 = 1; v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJMGLayer_vtbl *)&off_A63CD0; v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A63F14; v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A63F4C; v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A63F58; v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A63F68; v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A63F78; v2->m_textureWidth = 0.0; v2->m_ground1Sprite = nullptr; v2->m_ground2Sprite = nullptr; v2->m_unk1b0 = nullptr; v2->m_showGround = 0; v2->m_groundWidth = 0.0; v2->m_unk1c4 = 0.0; v2->m_cameraRotated = 0; v2->m_blendMG1 = 0; v2->m_blendMG2 = 0; v2->m_mg1BatchNode = nullptr; v2->m_mg2BatchNode = nullptr; v2->m_groundScale = 0.0; v2->m_ground2Offset = 0.0; if ( GJMGLayer::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->~GJMGLayer_0((GJMGLayer *)v4); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source