//
// sub_1006EE4A8 from 0x1006ee4a8 to 0x1006ee4f0 (72 bytes)
//
// 12 xrefs:
// > sub_100647030 @ 0x1006471f8
// > sub_100649644 @ 0x10064a6f0
// > sub_1006F2510 @ 0x1006f2698
// > ??> @ 0x1009c0ed0
// > ??> @ 0x1009c0f48
// > ??> @ 0x1009c0fc0
// > ??> @ 0x1009c1038
// > ??> @ 0x1009c10b0
// > ??> @ 0x1009c1128
// > ??> @ 0x1009c11a0
// > ??> @ 0x1009c1218
// > ??> @ 0x1009c1470
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:12:39 +0000
//
__int64 __fastcall sub_1006EE4A8(__int64 a1, const void *a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6)
{
__int64 (__fastcall *v6)(__int64, const void *, __int64, __int64, __int64, __int64); // x6
if ( (*(_BYTE *)(a6 + 116) & 0x40) != 0
&& (v6 = *(__int64 (__fastcall **)(__int64, const void *, __int64, __int64, __int64, __int64))(*(_QWORD *)(a6 + 16)
+ 96LL)) != nullptr )
{
return v6(a1, a2, a3, a4, a5, a6);
}
else
{
return sub_1006EE068(a1, a2, a3, nullptr, nullptr, a4, (unsigned int)a5, a6);
}
}