//
// sub_18006C810 from 0x18006c810 to 0x18006c849 (57 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801ace00
//
// 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_18006C810(float **a1, int a2, float a3)
{
float *v3; // r8
__int64 result; // rax
float v5; // xmm0_4
v3 = *a1;
result = 0;
if ( a2 )
{
if ( a2 == 1 )
v3[274] = a3;
}
else
{
v5 = v3[137];
v3[273] = a3;
if ( a3 >= v5 )
v3[273] = v5;
}
return result;
}