//
// sub_1005FC618 from 0x1005fc618 to 0x1005fc660 (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x10083fa50
//
// 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_1005FC618(int a1, __int64 a2)
{
__int64 v2; // x8
char **v3; // x8
if ( a1 == 2 )
{
v2 = *(_QWORD *)(*(_QWORD *)a2 + 24LL);
if ( v2 )
{
if ( *(_DWORD *)v2 == 4 )
{
v3 = *(char ***)(v2 + 8);
if ( v3 )
sub_10058A3A8(v3[1], *(int *)v3);
}
}
}
return 1;
}