//
// sub_10073F0C4 from 0x10073f0c4 to 0x10073f1bc (248 bytes)
//
// 1 xrefs:
// > sub_10066E2E8 @ 0x10066e340
//
// 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:13:19 +0000
//
_BYTE *__fastcall sub_10073F0C4(__int64 *a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5)
{
_BYTE *v10; // x19
__int64 *v11; // x20
__int64 *v12; // x21
v10 = nullptr;
if ( a5 && a4 && a2 && a1 && a3 )
{
v11 = (__int64 *)sub_1006D1C30();
if ( v11 && (v12 = (__int64 *)sub_1006D0E9C()) != nullptr )
{
v10 = sub_1006D0E9C();
if ( v10 )
{
if ( (unsigned int)sub_1006CF400((__int64)v12, a2, a3, a5) && sub_1006D3430((__int64)v12, a1, v12, a5, v11) )
sub_1006CF400((__int64)v10, (__int64)v12, a4, a5);
}
else
{
v10 = nullptr;
}
}
else
{
v12 = nullptr;
v10 = nullptr;
}
sub_1006D1C94((void **)v11);
sub_1006D0DC4((__int64)v12);
}
return v10;
}