//
// sub_4FAE8 from 0x4fae8 to 0x4fb1a (50 bytes)
//
// 1 xrefs:
// > sub_4FBA8 @ 0x4fbac
//
// 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_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;
}