//
// sub_10002FFC4 from 0x10002ffc4 to 0x10003008c (200 bytes)
//
// 6 xrefs:
// > GJBaseGameLayer::updateGroundShadows @ 0x100278ec4
// > GJBaseGameLayer::updateGroundShadows @ 0x100278edc
// > GJBaseGameLayer::preUpdateVisibility @ 0x10029991c
// > GJBaseGameLayer::preUpdateVisibility @ 0x100299934
// > GJBaseGameLayer::resetLevelVariables @ 0x10029f3e4
// > GJBaseGameLayer::resetLevelVariables @ 0x10029f3fc
//
// 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 10:57:30 +0000
//
__int64 __fastcall sub_10002FFC4(__int64 a1, float a2, float a3)
{
__int64 v6; // x0
__int64 v7; // x20
__int64 result; // x0
__int64 v9; // x19
float v10; // [xsp+8h] [xbp-28h] BYREF
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 136LL))(a1);
v6 = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 480LL))(a1, 0);
if ( v6 )
{
v7 = v6;
sub_1000262BC(&v10, a2 + -1.0, 0.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v7 + 184LL))(v7, &v10);
}
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 480LL))(a1, 1);
if ( result )
{
v9 = result;
sub_1000262BC(&v10, a3 + 1.0, 0.0);
return (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v9 + 184LL))(v9, &v10);
}
return result;
}