//
// sub_10073A830 from 0x10073a830 to 0x10073a8f0 (192 bytes)
//
// 2 xrefs:
// > sub_10073A254 @ 0x10073a520
// > sub_10073A254 @ 0x10073a670
//
// 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_10073A830(__int64 *a1, _QWORD *a2, int a3)
{
_QWORD *v6; // x0
__int64 v7; // x21
unsigned int *v8; // x0
__int16 v9; // w2
int v10; // w4
while ( 1 )
{
v6 = sub_1007010E4(a2, 520);
v7 = (__int64)v6;
if ( !v6 )
{
v9 = 108;
v10 = 699;
goto LABEL_9;
}
sub_100700CE0(v6, 120, 0, (__int64)a1);
if ( !*a1 )
break;
v8 = (unsigned int *)sub_100711450(*a1);
if ( (unsigned int)sub_100711408(v8) == a3 )
return v7;
a2 = (_QWORD *)sub_100701134(v7);
}
v9 = 68;
v10 = 704;
LABEL_9:
sub_100706FB0(33, 127, v9, (__int64)"pk7_doit.c", v10);
return 0;
}