//
// sub_100635C14 from 0x100635c14 to 0x100635c98 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009e0858
//
// 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_100635C14(__int64 *a1, int a2, _DWORD *a3, _BYTE *a4)
{
__int64 result; // x0
__int64 v6; // x8
int v7; // w8
if ( !a3 )
return 31;
result = 31;
v6 = *a1;
switch ( a2 )
{
case 0:
v7 = *(_DWORD *)(v6 + 904);
goto LABEL_11;
case 6:
v7 = *(_DWORD *)(v6 + 932);
goto LABEL_11;
case 9:
v7 = *(_DWORD *)(v6 + 980);
goto LABEL_11;
case 11:
v7 = *(_DWORD *)(v6 + 948);
goto LABEL_11;
case 14:
v7 = *(_DWORD *)(v6 + 960);
goto LABEL_11;
case 18:
v7 = *(unsigned __int8 *)(v6 + 976);
goto LABEL_11;
case 20:
v7 = *(_DWORD *)(v6 + 908);
LABEL_11:
*a3 = v7;
result = 0;
if ( a4 )
*a4 = 0;
break;
default:
return result;
}
return result;
}