//
// sub_977F6 from 0x977f6 to 0x97820 (42 bytes)
//
// 1 xrefs:
// > sub_978B4 @ 0x978ba
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:41:29 +0000
//
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;
}