//
// sub_1004B3850 from 0x1004b3850 to 0x1004b388c (60 bytes)
//
// 3 xrefs:
// > sub_10046D2DC @ 0x10046d868
// > sub_10046DFAC @ 0x10046e608
// > sub_10047BDAC @ 0x10047c204
//
// 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_1004B3850(__int64 a1, int a2, int *a3)
{
int v3; // w8
if ( !a3 )
return 31;
if ( (unsigned int)(a2 - 1) > 0xE )
v3 = 8363;
else
v3 = dword_10064B0EC[(char)(a2 - 1)];
*a3 = v3;
return 0;
}