//
// sub_4FAB0 from 0x4fab0 to 0x4fae8 (56 bytes)
//
// 1 xrefs:
// > sub_4FB9C @ 0x4fba0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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;
}