//
// sub_B6978 from 0xb6978 to 0xb69a8 (48 bytes)
//
// 1 xrefs:
// > sub_B6A84 @ 0xb6a90
//
// 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:14:39 +0000
//
__int64 __fastcall sub_B6978(float *a1, int a2, float a3)
{
float v3; // s1
if ( a2 == 1 )
{
a1[291] = a3;
}
else if ( !a2 )
{
v3 = a1[138];
a1[292] = a3;
if ( v3 <= a3 )
a1[292] = v3;
}
return 0;
}