//
// sub_4FAB0 from 0x4fab0 to 0x4fae8 (56 bytes)
//
// 1 xrefs:
// > sub_4FB9C @ 0x4fba0
//
// 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:42 +0000
//
int __fastcall sub_4FAB0(_DWORD *a1, _DWORD *a2, int a3)
{
_DWORD *v3; // r0
switch ( a3 )
{
case 1024:
v3 = a1 + 417;
goto LABEL_7;
case 512:
v3 = (_DWORD *)(a1[120] + 8 * *((unsigned __int8 *)a1 + a1[610] + 492));
goto LABEL_7;
case 256:
v3 = a1 + 416;
LABEL_7:
*a2 = *v3;
break;
}
return 0;
}