//
// PlayerObject::runNormalRotation from 0x1002b816c to 0x1002b824c (224 bytes)
//
// 1 xrefs:
// > PlayerObject::runRotateAction @ 0x1002b9f78
//
// 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:24 +0000
//
float __fastcall PlayerObject::runNormalRotation(__int64 a1, char a2, float result)
{
int v3; // w9
float v4; // s2
if ( (a2 & 1) != 0
|| (*(_BYTE *)(a1 + 2417) & 1) == 0
&& (*(_BYTE *)(a1 + 2418) & 1) == 0
&& (*(_BYTE *)(a1 + 2420) & 1) == 0
&& (*(_BYTE *)(a1 + 2428) & 1) == 0
&& (*(_BYTE *)(a1 + 2421) & 1) == 0
&& (*(_BYTE *)(a1 + 2422) & 1) == 0
&& (*(_BYTE *)(a1 + 2460) & 1) == 0
&& (*(_BYTE *)(a1 + 2832) != 1
|| (*(_BYTE *)(a1 + 2721) & 1) != 0
|| (*(_BYTE *)(a1 + 2720) & 1) != 0
|| (*(_BYTE *)(a1 + 2809) & 1) != 0
|| *(_BYTE *)(a1 + 2810) == 1) )
{
if ( *(_BYTE *)(a1 + 2423) )
v3 = -180;
else
v3 = 180;
if ( *(_BYTE *)(a1 + 2426) )
v3 = -v3;
v4 = (float)v3;
if ( *(_BYTE *)(a1 + 2427) )
v4 = -(float)v3;
result = (float)((float)(*(float *)(a1 + 2852) * v4) * result) / flt_100763528[*(float *)(a1 + 2472) == 1.0];
*(float *)(a1 + 1776) = result;
*(_BYTE *)(a1 + 1784) = 1;
}
return result;
}