//
// sub_1006A726C from 0x1006a726c to 0x1006a730c (160 bytes)
//
// 2 xrefs:
// > sub_100682ECC @ 0x100684af0
// > sub_100682ECC @ 0x100685824
//
// 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:11:42 +0000
//
__int64 __fastcall sub_1006A726C(__int64 a1, __int64 a2)
{
const char **v3; // x8
char *v4; // x0
char *v5; // x20
size_t v6; // x0
__int64 v7; // x19
if ( !a2 )
return 0;
if ( *(_BYTE *)(a1 + 739) )
v3 = (const char **)(a1 + 224);
else
v3 = (const char **)(a1 + 192);
v4 = sub_100688A44("%s:%d", *v3, *(unsigned __int16 *)(a1 + 1584));
v5 = v4;
if ( !v4 )
return 0;
v6 = strlen(v4);
v7 = sub_1006922D8(a2, (__int64)v5, v6);
off_1009E5FD8(v5);
return v7;
}