//
// sub_1002C9F58 from 0x1002c9f58 to 0x1002c9fb4 (92 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::checkCollisions @ 0x100283070
// > GJBaseGameLayer::checkCollisions @ 0x100283160
//
// 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 11:02:34 +0000
//
bool __fastcall sub_1002C9F58(__int64 a1)
{
double v1; // d0
double v2; // d0
v1 = *(double *)(a1 + 2000);
if ( (v1 == 0.0 || *(double *)(a1 + 2624) - v1 >= 0.200000003)
&& ((v2 = *(double *)(a1 + 1960), v2 == 0.0) || *(double *)(a1 + 2624) - v2 >= 0.200000003) )
{
return *(_DWORD *)(a1 + 2844) > 0;
}
else
{
return 1;
}
}