// // GJGroundLayer::create from 0x434950 to 0x4349fc (172 bytes) // // 4 xrefs: // > MenuGameLayer::init @ 0x3aa288 // > LevelSelectLayer::init @ 0x409fe8 // > GJBaseGameLayer::createGroundLayer @ 0x46d2b4 // > GJBaseGameLayer::createGroundLayer @ 0x46d2da // // 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 // GJGroundLayer *GJGroundLayer::create(int a1, int a2) { GJGroundLayer *v4; // r4 GJGroundLayer_vtbl *v5; // r3 int *v6; // r0 v4 = (GJGroundLayer *)operator new(0x168u); cocos2d::CCLayer::CCLayer(v4); v4->m_showGround1 = 1; v4->m_showGround2 = 1; v4->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJGroundLayer_vtbl *)&off_A63740; v4->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A6398C; v4->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A639C4; v4->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A639D0; v4->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A639E0; v4->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A639F0; v4->m_textureWidth = 0.0; v4->m_groundWidth = 0.0; v4->m_unk1cc = 0.0; v4->m_ground1Sprite = nullptr; v4->m_ground2Sprite = nullptr; v4->m_lineSprite = nullptr; v4->m_showGround = 0; v4->m_blendLine = 0; v4->m_lineType = 0; v4->m_cameraRotated = 0; if ( GJGroundLayer::init(v4, a1, a2) ) { cocos2d::CCObject::autorelease(v4); } else { v5 = v4->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v6 = (int *)v4; v4 = nullptr; v5->~GJGroundLayer_0((GJGroundLayer *)v6); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source