//
// sub_10073F1BC from 0x10073f1bc to 0x10073f300 (324 bytes)
//
// 1 xrefs:
// > sub_10066E1CC @ 0x10066e290
//
// 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_10073F1BC(__int64 a1, __int64 a2, __int64 a3, __int64 *a4)
{
_BYTE *v8; // x20
__int64 *v9; // x19
_BYTE *v10; // x21
_BYTE *v11; // x22
__int64 *v12; // x24
v8 = nullptr;
if ( a1 && a2 && a3 && a4 )
{
v9 = (__int64 *)sub_1006D1C30();
if ( v9 )
{
v10 = sub_1006D0E9C();
if ( v10 && (v11 = sub_1006D0E9C()) != nullptr )
{
v8 = sub_1006D0E9C();
if ( v8 )
{
if ( (unsigned int)sub_1006CF400((__int64)v11, a3, a1, a2) )
{
v12 = (__int64 *)sub_10073F300(a2, a3);
if ( v12 )
{
if ( sub_1006D3430((__int64)v10, a4, v12, a2, v9)
&& (unsigned int)sub_1006D3238((__int64)v8, (__int64)v11, (__int64)v10, a2, (__int64)v9) )
{
goto LABEL_20;
}
}
else
{
v12 = nullptr;
}
}
else
{
v12 = nullptr;
}
sub_1006D0E38(v8);
v8 = nullptr;
LABEL_20:
sub_1006D1C94((void **)v9);
sub_1006D0DC4((__int64)v10);
sub_1006D0DC4((__int64)v11);
sub_1006D0E38(v12);
return v8;
}
}
else
{
v11 = nullptr;
}
v8 = nullptr;
v12 = nullptr;
goto LABEL_20;
}
return nullptr;
}
return v8;
}