//
// sub_1006354AC from 0x1006354ac to 0x100635558 (172 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 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 11:10:30 +0000
//
__int64 __fastcall sub_1006354AC(_DWORD *a1, int a2, _DWORD *a3, _BYTE *a4)
{
__int64 v4; // x8
_DWORD *v5; // x8
v4 = 31;
if ( a3 )
{
switch ( a2 )
{
case 1:
v5 = a1 + 228;
goto LABEL_16;
case 2:
v5 = a1 + 229;
goto LABEL_16;
case 3:
v5 = a1 + 230;
goto LABEL_16;
case 4:
v5 = a1 + 231;
goto LABEL_16;
case 5:
v5 = a1 + 232;
goto LABEL_16;
case 7:
v5 = a1 + 234;
goto LABEL_16;
case 8:
v5 = a1 + 235;
goto LABEL_16;
case 12:
v5 = a1 + 140;
goto LABEL_16;
case 13:
v5 = a1 + 141;
goto LABEL_16;
case 15:
v5 = a1 + 241;
goto LABEL_16;
case 16:
v5 = a1 + 243;
goto LABEL_16;
case 17:
v5 = a1 + 242;
goto LABEL_16;
case 21:
v5 = a1 + 236;
LABEL_16:
*a3 = *v5;
v4 = 0;
if ( a4 )
*a4 = 0;
break;
default:
return v4;
}
}
return v4;
}