//
// sub_10073A164 from 0x10073a164 to 0x10073a254 (240 bytes)
//
// 2 xrefs:
// > sub_100739AC4 @ 0x100739d10
// > sub_100739AC4 @ 0x100739d38
//
// 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:17 +0000
//
__int64 __fastcall sub_10073A164(_QWORD **a1, __int64 *a2)
{
void *v4; // x0
_QWORD *v5; // x19
unsigned int v6; // w0
char *v7; // x0
__int64 v8; // x8
__int16 v10; // w2
int v11; // w4
v4 = sub_10070FCB4();
v5 = sub_1007005EC((__int64)v4);
if ( v5 )
{
v6 = sub_1006B0F78(*a2);
v7 = sub_1006B0DD0(v6);
v8 = sub_10070E1C8((__int64)v7);
if ( v8 )
{
sub_100700CE0(v5, 111, 0, v8);
if ( !*a1 )
{
*a1 = v5;
return 1;
}
if ( sub_100700ED8(*a1, (__int64)v5) )
return 1;
v10 = 32;
v11 = 123;
}
else
{
v10 = 109;
v11 = 115;
}
sub_100706FB0(33, 125, v10, (__int64)"pk7_doit.c", v11);
sub_1007006BC(v5);
}
else
{
sub_100706FB0(33, 125, 32, (__int64)"pk7_doit.c", 109);
}
return 0;
}