//
// sub_4FAE8 from 0x4fae8 to 0x4fb1a (50 bytes)
//
// 1 xrefs:
// > sub_4FBA8 @ 0x4fbac
//
// 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_4FAE8(_DWORD *a1, _DWORD *a2, int a3)
{
int v3; // r0
switch ( a3 )
{
case 1024:
v3 = *((unsigned __int8 *)a1 + a1[610] + 492);
break;
case 512:
v3 = a1[609];
break;
case 256:
v3 = a1[610];
break;
default:
v3 = a1[379];
break;
}
*a2 = v3;
return 0;
}