//
// 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 (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:13:53 +0000
//
__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;
}