//
// sub_100491F98 from 0x100491f98 to 0x100491fd0 (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x100851b68
//
// 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_100491F98(float **a1, int a2, float a3)
{
float *v3; // x8
float v4; // s1
v3 = *a1;
if ( a2 == 1 )
{
v3[289] = a3;
}
else if ( !a2 )
{
v3[290] = a3;
v4 = v3[136];
if ( v4 <= a3 )
{
v3[290] = v4;
return 0;
}
}
return 0;
}