//
// sub_909F8 from 0x909f8 to 0x90a64 (108 bytes)
//
// 1 xrefs:
// > sub_90AB4 @ 0x90aba
//
// 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:41:25 +0000
//
int __fastcall sub_909F8(float *a1, int a2, _DWORD *a3, int a4)
{
float v4; // s0
switch ( a2 )
{
case 0:
*a3 = *((_DWORD *)a1 + 115);
if ( a4 )
sub_BE420(a4, 32, "%.02f", a1[115]);
break;
case 1:
*a3 = *((_DWORD *)a1 + 116);
if ( a4 )
{
v4 = a1[116];
goto LABEL_10;
}
break;
case 2:
*a3 = *((_DWORD *)a1 + 118);
if ( a4 )
{
v4 = a1[118];
goto LABEL_10;
}
break;
case 3:
*a3 = *((_DWORD *)a1 + 119);
if ( a4 )
{
v4 = a1[119];
LABEL_10:
sub_BE420(a4, 32, "%.1f", v4);
}
break;
default:
return 0;
}
return 0;
}