//
// sub_1005F4038 from 0x1005f4038 to 0x1005f40bc (132 bytes)
//
// 1 xrefs:
// > sub_100601C34 @ 0x100601c98
//
// 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_1005F4038(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v6; // x8
__int64 v7; // x22
__int64 v8; // x3
__int64 (__fastcall *v10)(__int64, __int64, __int64, __int64); // [xsp+8h] [xbp-28h]
v6 = *(_QWORD *)(a1 + 104);
if ( !*(_QWORD *)(v6 + 24) )
return 0;
v10 = *(__int64 (__fastcall **)(__int64, __int64, __int64, __int64))(v6 + 24);
v7 = sub_1005FEF6C(a3);
v8 = sub_1005FEEB0(a3);
return v10(a1, a2, v7, v8);
}