//
// sub_1005F1BE4 from 0x1005f1be4 to 0x1005f1c24 (64 bytes)
//
// 8 xrefs:
// > sub_1005834D0 @ 0x1005843a0
// > sub_1005834D0 @ 0x100584404
// > sub_100586C2C @ 0x100586c68
// > sub_1005F37F0 @ 0x1005f3800
// > sub_100609670 @ 0x100609718
// > sub_10060BA70 @ 0x10060bb38
// > sub_10060BEE0 @ 0x10060bf5c
// > sub_10060DFD8 @ 0x10060e038
//
// 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_1005F1BE4(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
if ( a4 )
return sub_1005F1C24(sub_1005F20A8, a1, a2, a3, a4);
else
return sub_1005F5230(a1, a2, a3);
}