//
// sub_1005D5AFC from 0x1005d5afc to 0x1005d5b78 (124 bytes)
//
// 3 xrefs:
// > sub_10051FFFC @ 0x1005208c8
// > sub_100525468 @ 0x100525718
// > sub_1005C3CD4 @ 0x1005c3d2c
//
// 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_1005D5AFC(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5)
{
__int64 v10; // x0
v10 = sub_1005D5550(a4);
if ( v10 )
return (*(__int64 (__fastcall **)(__int64, __int64, __int64, __int64, __int64))(*(_QWORD *)(v10 + 24) + 8LL))(
a1,
a2,
a3,
a4,
a5);
else
return 0;
}