//
// GJGroundLayer::updateShadowXPos from 0x1005eb9c0 to 0x1005eba73 (179 bytes)
//
// 6 xrefs:
// > GJBaseGameLayer::updateGroundShadows @ 0x100115381
// > GJBaseGameLayer::updateGroundShadows @ 0x1001153a0
// > GJBaseGameLayer::preUpdateVisibility @ 0x10014f826
// > GJBaseGameLayer::preUpdateVisibility @ 0x10014f844
// > GJBaseGameLayer::resetLevelVariables @ 0x100159832
// > GJBaseGameLayer::resetLevelVariables @ 0x100159850
//
// 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 v3; // rax
__int64 v4; // r14
__int64 v5; // rax
__int64 v6; // rbx
float v7; // [rsp+8h] [rbp-28h] BYREF
float v8; // [rsp+10h] [rbp-20h]
float v9; // [rsp+14h] [rbp-1Ch]
v8 = a3;
v9 = a2;
((void (__fastcall *)(GJGroundLayer *))a1->getScaleX)(a1);
v3 = ((__int64 (__fastcall *)(GJGroundLayer *, _QWORD))a1->getChildByTag)(a1, 0);
if ( v3 )
{
v4 = v3;
sub_10028CBE0(&v7, v9 + -1.0, 0.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 184LL))(v4, &v7);
}
v5 = ((__int64 (__fastcall *)(GJGroundLayer *, __int64))a1->getChildByTag)(a1, 1);
if ( v5 )
{
v6 = v5;
sub_10028CBE0(&v7, v8 + 1.0, 0.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v6 + 184LL))(v6, &v7);
}
}