//
// sub_1002C1504 from 0x1002c1504 to 0x1002c1554 (80 bytes)
//
// 3 xrefs:
// > PlayerObject::collidedWithObjectInternal @ 0x1002bf798
// > PlayerObject::collidedWithObjectInternal @ 0x1002bfb34
// > PlayerObject::collidedWithObjectInternal @ 0x1002bfc2c
//
// 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:30 +0000
//
__int64 __fastcall sub_1002C1504(__int64 result)
{
__int64 v1; // x19
if ( *(int *)(result + 2848) >= 1 )
{
v1 = result;
result = sub_1002C164C(result);
*(_BYTE *)(v1 + 2516) = 1;
*(_BYTE *)(v1 + 2500) = 0;
if ( *(int *)(v1 + 2836) >= 1 )
{
*(_BYTE *)(v1 + 2425) = 0;
*(_WORD *)(v1 + 2365) = 0;
}
}
return result;
}