//
// sub_18010A720 from 0x18010a720 to 0x18010a7ac (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801b0920
//
// 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:54:32 +0000
//
__int64 __fastcall sub_18010A720(__int64 *a1, int a2, float *a3, _BYTE *a4)
{
__int64 v4; // rax
float v5; // xmm0_4
v4 = *a1;
if ( !a3 )
return 31;
if ( a2 != 1 )
{
switch ( a2 )
{
case 2:
v5 = *(float *)(v4 + 568);
goto LABEL_16;
case 3:
v5 = *(float *)(v4 + 572);
goto LABEL_16;
case 4:
v5 = (float)*(int *)(v4 + 688);
goto LABEL_16;
case 5:
v5 = *(float *)(v4 + 692);
goto LABEL_16;
case 6:
v5 = *(float *)(v4 + 696);
goto LABEL_16;
case 8:
v5 = *(float *)(v4 + 712);
goto LABEL_16;
}
return 31;
}
v5 = (float)*(int *)(v4 + 676);
LABEL_16:
*a3 = v5;
if ( a4 )
*a4 = 0;
return 0;
}