//
// sub_18006C810 from 0x18006c810 to 0x18006c849 (57 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801ace00
//
// This function is hookable on this platform (idp: pc, 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 10:53:28 +0000
//
__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;
}