//
// sub_10071AD38 from 0x10071ad38 to 0x10071ae6c (308 bytes)
//
// 2 xrefs:
// > sub_1006F07C0 @ 0x1006f08d8
// > sub_1006F641C @ 0x1006f64b0
//
// 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:02 +0000
//
bool __fastcall sub_10071AD38(__int64 a1, int *a2, int a3)
{
__int64 v5; // x26
__int64 v6; // x25
__int64 v7; // x27
const char *v8; // x8
int v9; // w0
v5 = 0;
v6 = *((_QWORD *)a2 + 1);
v7 = *a2;
while ( 1 )
{
if ( v5 >= v7 )
return (unsigned int)sub_100700894(a1, (__int64)"\n", 1) == 1;
if ( !((int)v5 % 18) )
{
if ( (int)sub_100700894(a1, (__int64)"\n", 1) < 1 )
return 0;
if ( (int)sub_100700B80(a1, a3, a3) < 1 )
break;
}
if ( (_DWORD)v7 - 1 == (_DWORD)v5 )
v8 = "";
else
v8 = ":";
v9 = sub_100702BA8(a1, "%02x%s", *(unsigned __int8 *)(v6 + v5++), v8);
if ( v9 < 1 )
return 0;
}
return 0;
}