//
// sub_1002C0AE0 from 0x1002c0ae0 to 0x1002c0b64 (132 bytes)
//
// 2 xrefs:
// > PlayerObject::collidedWithSlopeInternal @ 0x1002be2a8
// > PlayerObject::updateRotation_1 @ 0x1002c0f18
//
// 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
//
float *__fastcall sub_1002C0AE0(__int64 a1, float a2)
{
float v4; // s0
float v5; // s1
v4 = *(double *)(a1 + 2280) * 57.2957802;
v5 = sub_1002BA0BC((_BYTE *)a1, v4);
if ( *(_BYTE *)(a1 + 2832) == 1
&& *(double *)(a1 + 2816) > 80.0
&& ((*(_BYTE *)(a1 + 2809) & 1) != 0 || *(_BYTE *)(a1 + 2810) == 1) )
{
v5 = 0.0;
}
return PlayerObject::updateRotation((float *)a1, a2, v5);
}