//
// PlayerObject::updatePlayerForce from 0x7536c0 to 0x753738 (120 bytes)
//
// 5 xrefs:
// > PlayerObject::updateStaticForce @ 0x75384c
// > PlayerObject::redirectPlayerForce @ 0x7539b4
// > PlayerObject::rotateGameplay @ 0x756040
// > PlayerObject::stopDashing @ 0x758b58
// > ??> @ 0xde970
//
// 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 12:52:56 +0000
//
double __fastcall PlayerObject::updatePlayerForce(__int64 a1, float *a2, char a3)
{
int v3; // w2
double result; // d0
float v5; // s0
double v6; // d1
int v7; // w2
float v8; // s0
*(_BYTE *)(a1 + 2314) = 1;
if ( a3 )
{
v3 = *(unsigned __int8 *)(a1 + 2832);
result = *(double *)(a1 + 2392) + a2[1];
*(double *)(a1 + 2392) = result;
if ( v3 )
{
v5 = *a2;
v6 = *(double *)(a1 + 2712);
*(_BYTE *)(a1 + 2868) = 1;
result = v5 + v6;
*(double *)(a1 + 2712) = result;
}
}
else
{
v7 = *(unsigned __int8 *)(a1 + 2832);
result = a2[1];
*(double *)(a1 + 2392) = result;
if ( v7 )
{
v8 = *a2;
*(_BYTE *)(a1 + 2868) = 1;
result = v8;
*(double *)(a1 + 2712) = result;
}
}
return result;
}