//
// sub_1005D6264 from 0x1005d6264 to 0x1005d62c0 (92 bytes)
//
// 1 xrefs:
// > sub_1005D9670 @ 0x1005d9a44
//
// 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_1005D6264(__int64 a1, __int64 a2)
{
__int64 (*v2)(void); // x3
if ( a1 && a2 )
{
if ( (*(_BYTE *)(a1 + 20) & 1) == 0 )
{
v2 = *(__int64 (**)(void))(a1 + 48);
if ( v2 )
return v2();
v2 = *(__int64 (**)(void))(*(_QWORD *)a1 + 56LL);
if ( v2 )
return v2();
}
}
else
{
sub_1005E0E48(37, 132, 67, "dso_lib.c", 374);
}
return 0;
}