//
// sub_1005D2AD0 from 0x1005d2ad0 to 0x1005d2b24 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x10085fe38
//
// 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_1005D2AD0(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6, __int64 a7)
{
if ( *(_DWORD *)(a3 + 8) == 1 && (*(_BYTE *)(a1 + 48) & 2) != 0 )
return sub_1005A92E8(a2, **(_QWORD **)a3, a4, a5, a6, a7);
else
return sub_1005A976C(a2, a3, a4, a5, a6, a7);
}