//
// sub_1005D3D58 from 0x1005d3d58 to 0x1005d3d7c (36 bytes)
//
// 2 xrefs:
// > ??> @ 0x10083b338
// > ??> @ 0x10083b408
//
// 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_1005D3D58(__int64 a1, __int64 a2)
{
__int64 v3; // x0
v3 = *(_QWORD *)(a1 + 32);
if ( *(_UNKNOWN **)(a1 + 16) == &unk_10083B398 )
return sub_1005D2364(v3, a2);
else
return sub_1005D2270(v3, a2);
}