//
// sub_1001D67F4 from 0x1001d67f4 to 0x1001d68d0 (220 bytes)
//
// 1 xrefs:
// > sub_1001F50BC @ 0x1001f5354
//
// 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:00:25 +0000
//
__int64 __usercall sub_1001D67F4@(__int64 a1@, int a2@, char a3@, std::string *a4@)
{
__int64 result; // x0
__int64 v9; // x21
unsigned int i; // w23
int v11; // w11
const std::string::value_type *v12; // x2
std::string::size_type v13; // x3
sub_100009900(a4, "");
result = sub_1001D6784(a1, a2);
v9 = result;
if ( result && (a3 & 1) != 0 )
{
result = sub_1001D6784(a1, *(_DWORD *)(result + 60));
v9 = result;
}
for ( i = 0; v9 && i <= 9; ++i )
{
std::string::insert(a4, 0, " \\ ");
v11 = *(char *)(v9 + 103);
if ( v11 >= 0 )
v12 = (const std::string::value_type *)(v9 + 80);
else
v12 = *(const std::string::value_type **)(v9 + 80);
if ( v11 >= 0 )
v13 = *(unsigned __int8 *)(v9 + 103);
else
v13 = *(_QWORD *)(v9 + 88);
std::string::insert(a4, 0, v12, v13);
result = sub_1001D6784(a1, *(_DWORD *)(v9 + 60));
v9 = result;
}
return result;
}