// // GJGroundLayer::updateShadowXPos from 0x434c7c to 0x434d18 (156 bytes) // // 6 xrefs: // > GJBaseGameLayer::updateGroundShadows @ 0x46d904 // > GJBaseGameLayer::updateGroundShadows @ 0x46d924 // > GJBaseGameLayer::preUpdateVisibility @ 0x489170 // > GJBaseGameLayer::preUpdateVisibility @ 0x489184 // > GJBaseGameLayer::resetLevelVariables @ 0x491e26 // > GJBaseGameLayer::resetLevelVariables @ 0x491e3a // // 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; // r0 cocos2d::CCNode *v7; // r6 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8 cocos2d::CCNode *v9; // r0 cocos2d::CCNode *v10; // r4 void (__fastcall *v11)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r7 cocos2d::CCPoint v12; // [sp+4h] [bp-Ch] BYREF ((void (__fastcall *)(GJGroundLayer *, _DWORD, _DWORD))a1->getScaleX)(a1, LODWORD(a2), LODWORD(a3)); 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