//
// sub_6AB50 from 0x6ab50 to 0x6abd2 (130 bytes)
//
// 1 xrefs:
// > ??> @ 0x6ab4e
//
// 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:40:57 +0000
//
int __fastcall sub_6AB50(int a1, int a2, float *a3, int a4)
{
float *v4; // r0
float *v5; // r0
v4 = *(float **)(a1 + 4);
switch ( a2 )
{
case 1:
v5 = v4 + 1;
goto LABEL_17;
case 2:
v5 = v4 + 2;
goto LABEL_17;
case 3:
v5 = v4 + 3;
goto LABEL_17;
case 5:
v5 = v4 + 6;
goto LABEL_17;
case 6:
v5 = v4 + 7;
goto LABEL_17;
case 7:
v5 = v4 + 8;
goto LABEL_17;
case 9:
v5 = v4 + 11;
goto LABEL_17;
case 10:
v5 = v4 + 12;
goto LABEL_17;
case 11:
v5 = v4 + 13;
goto LABEL_17;
case 13:
v5 = v4 + 16;
goto LABEL_17;
case 14:
v5 = v4 + 17;
goto LABEL_17;
case 15:
v5 = v4 + 18;
goto LABEL_17;
case 17:
v5 = v4 + 21;
goto LABEL_17;
case 18:
v5 = v4 + 22;
goto LABEL_17;
case 19:
v5 = v4 + 23;
LABEL_17:
*a3 = *v5;
break;
default:
break;
}
if ( a4 )
sub_BE420(a4, 32, "%.02f", *a3);
return 0;
}