//
// sub_68D00 from 0x68d00 to 0x68d5a (90 bytes)
//
// 1 xrefs:
// > sub_692E2 @ 0x692e4
//
// 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:56 +0000
//
int __fastcall sub_68D00(_DWORD *a1, int a2, float *a3, _BYTE *a4)
{
int result; // r0
unsigned int v6; // s0
int v7; // r0
if ( !a3 )
return 31;
result = 31;
switch ( a2 )
{
case 1:
v6 = a1[125];
goto LABEL_8;
case 2:
v7 = a1[100];
goto LABEL_12;
case 3:
v7 = a1[101];
goto LABEL_12;
case 4:
v6 = a1[128];
LABEL_8:
*a3 = (float)v6;
goto LABEL_13;
case 5:
v7 = a1[129];
goto LABEL_12;
case 6:
v7 = a1[130];
goto LABEL_12;
case 8:
v7 = a1[134];
LABEL_12:
*(_DWORD *)a3 = v7;
LABEL_13:
result = 0;
if ( a4 )
*a4 = 0;
break;
default:
return result;
}
return result;
}