//
// GJGroundLayer::updateShadowXPos from 0x91754c to 0x91764c (256 bytes)
//
// 7 xrefs:
// > GJBaseGameLayer::updateGroundShadows @ 0x99a048
// > GJBaseGameLayer::updateGroundShadows @ 0x99a060
// > GJBaseGameLayer::preUpdateVisibility @ 0x9db694
// > GJBaseGameLayer::preUpdateVisibility @ 0x9db6ac
// > GJBaseGameLayer::resetLevelVariables @ 0x9e7908
// > GJBaseGameLayer::resetLevelVariables @ 0x9e7920
// > ??> @ 0x1002e8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:57:20 +0000
//
__int64 __fastcall GJGroundLayer::updateShadowXPos(GJGroundLayer *this, float a2, float a3)
{
__int64 v6; // x0
__int64 v7; // x21
void (__fastcall *v8)(__int64, _BYTE *); // x22
__int64 v9; // x0
__int64 v10; // x19
void (__fastcall *v11)(__int64, _BYTE *); // x21
_BYTE v13[8]; // [xsp+50h] [xbp+50h] BYREF
(*(void (__fastcall **)(GJGroundLayer *))(*(_QWORD *)this + 136LL))(this);
v6 = (*(__int64 (__fastcall **)(GJGroundLayer *, _QWORD))(*(_QWORD *)this + 480LL))(this, 0);
v7 = v6;
if ( v6 )
{
v8 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v6 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, a2 - 1.0, 0.0);
v8(v7, v13);
}
v9 = (*(__int64 (__fastcall **)(GJGroundLayer *, __int64))(*(_QWORD *)this + 480LL))(this, 1);
v10 = v9;
if ( v9 )
{
v11 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v9 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, a3 + 1.0, 0.0);
v11(v10, v13);
}
return _stack_chk_guard;
}