//
// sub_100449D14 from 0x100449d14 to 0x100449d84 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x10084d478
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_100449D14(__int64 *a1, int a2, int a3)
{
__int64 v3; // x8
int v4; // w9
float v6; // s1
float v7; // s0
if ( a2 != 10 )
return 31;
v3 = *a1;
v4 = a3 != 0;
if ( *(unsigned __int8 *)(*a1 + 649) == v4 )
return 0;
*(_BYTE *)(v3 + 649) = v4;
if ( a3 )
{
v6 = *(float *)(v3 + 560);
v7 = *(float *)(v3 + 564);
if ( v6 >= v7 )
v6 = *(float *)(v3 + 564);
}
else
{
v6 = *(float *)(v3 + 552);
v7 = *(float *)(v3 + 556);
}
*(float *)(v3 + 672) = v6;
*(float *)(v3 + 676) = v7;
++*(_DWORD *)(v3 + 636);
return 0;
}