//
// GJGroundLayer::updateShadowXPos from 0x10002c6e4 to 0x10002c7ac (200 bytes)
//
// 6 xrefs:
// > GJBaseGameLayer::updateGroundShadows @ 0x1001de9ac
// > GJBaseGameLayer::updateGroundShadows @ 0x1001de9c4
// > GJBaseGameLayer::preUpdateVisibility @ 0x1001fd7e4
// > GJBaseGameLayer::preUpdateVisibility @ 0x1001fd7fc
// > GJBaseGameLayer::resetLevelVariables @ 0x10020266c
// > GJBaseGameLayer::resetLevelVariables @ 0x100202684
//
// 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 __fastcall GJGroundLayer::updateShadowXPos(GJGroundLayer *a1, float a2, float a3)
{
__int64 v6; // x0
__n128 v7; // q0
__n128 v8; // q1
__int64 v9; // x20
__int64 v10; // x0
__n128 v11; // q0
__n128 v12; // q1
__int64 v13; // x19
int v14; // [xsp+8h] [xbp-28h] BYREF
((void (__fastcall *)(GJGroundLayer *))a1->getScaleX)(a1);
v6 = ((__int64 (__fastcall *)(GJGroundLayer *, _QWORD))a1->getChildByTag)(a1, 0);
if ( v6 )
{
v9 = v6;
v7.n128_f32[0] = a2 + -1.0;
v8.n128_u32[0] = 0;
sub_100022980(v7, v8, &v14);
(*(void (__fastcall **)(__int64, int *))(*(_QWORD *)v9 + 184LL))(v9, &v14);
}
v10 = ((__int64 (__fastcall *)(GJGroundLayer *, __int64))a1->getChildByTag)(a1, 1);
if ( v10 )
{
v13 = v10;
v11.n128_f32[0] = a3 + 1.0;
v12.n128_u32[0] = 0;
sub_100022980(v11, v12, &v14);
(*(void (__fastcall **)(__int64, int *))(*(_QWORD *)v13 + 184LL))(v13, &v14);
}
}