//
// sub_977F6 from 0x977f6 to 0x97820 (42 bytes)
//
// 1 xrefs:
// > sub_978B4 @ 0x978ba
//
// 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
//
int __fastcall sub_977F6(float *a1, int a2, float a3)
{
float v3; // s2
if ( a2 == 1 )
{
a1[249] = a3;
}
else if ( !a2 )
{
a1[250] = a3;
v3 = a1[96];
if ( v3 <= a3 )
a1[250] = v3;
}
return 0;
}