//
// sub_1005F40BC from 0x1005f40bc to 0x1005f40f4 (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x10083eca0
//
// 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_1005F40BC(int a1, __int64 a2)
{
__int64 v2; // x0
if ( *(_QWORD *)a2 )
{
if ( a1 == 5 )
{
v2 = *(_QWORD *)(*(_QWORD *)a2 + 40LL);
if ( v2 )
sub_1005DE15C(v2, (__int64)sub_1005F400C);
}
}
return 1;
}