//
// sub_605FC from 0x605fc to 0x60840 (580 bytes)
//
// 3 xrefs:
// > sub_94D7C @ 0x95210
// > sub_956EC @ 0x95a9c
// > sub_9F200 @ 0x9f610
//
// 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_605FC(__int64 a1, unsigned __int8 a2, int *a3)
{
int v3; // w8
if ( !a3 )
return 31;
if ( a2 > 0xFu )
v3 = 8363;
else
v3 = dword_2F684[(char)a2];
*a3 = v3;
return 0;
}