// // GJGroundLayer::updateShadowXPos from 0x7ec72c to 0x7ec82c (256 bytes) // // 7 xrefs: // > GJBaseGameLayer::updateGroundShadows @ 0x857b14 // > GJBaseGameLayer::updateGroundShadows @ 0x857b2c // > GJBaseGameLayer::preUpdateVisibility @ 0x882ce0 // > GJBaseGameLayer::preUpdateVisibility @ 0x882cf8 // > GJBaseGameLayer::resetLevelVariables @ 0x88af3c // > GJBaseGameLayer::resetLevelVariables @ 0x88af54 // > @ 0xc4e30 // // 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 // void GJGroundLayer::updateShadowXPos(GJGroundLayer *a1, float a2, float a3) { cocos2d::CCNode *v6; // x0 cocos2d::CCNode *v7; // x21 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x22 cocos2d::CCNode *v9; // x0 cocos2d::CCNode *v10; // x19 void (__fastcall *v11)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21 cocos2d::CCPoint v12; // [xsp+50h] [xbp+50h] BYREF a1->getScaleX(a1); v6 = a1->getChildByTag(a1, 0); v7 = v6; if ( v6 ) { setPosition = v6->setPosition; cocos2d::CCPoint::CCPoint(&v12, a2 - 1.0, 0.0); setPosition(v7, &v12); } v9 = a1->getChildByTag(a1, 1); v10 = v9; if ( v9 ) { v11 = v9->setPosition; cocos2d::CCPoint::CCPoint(&v12, a3 + 1.0, 0.0); v11(v10, &v12); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source