//
// sub_1004B38D8 from 0x1004b38d8 to 0x1004b3920 (72 bytes)
//
// 0 xrefs:
//
// 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
//
__int64 __fastcall sub_1004B38D8(_DWORD *a1, _DWORD *a2, int a3)
{
int v3; // w8
switch ( a3 )
{
case 1024:
v3 = *((unsigned __int8 *)a1 + a1[767] + 656);
break;
case 512:
v3 = a1[766];
break;
case 256:
v3 = a1[767];
break;
default:
v3 = a1[534];
break;
}
*a2 = v3;
return 0;
}