//
// sub_100456668 from 0x100456668 to 0x100456734 (204 bytes)
//
// 2 xrefs:
// > sub_1004535C8 @ 0x10045370c
// > sub_1004535C8 @ 0x100453808
//
// 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:05:23 +0000
//
__int64 __fastcall sub_100456668(__int64 result, __int64 a2)
{
_QWORD *v2; // x22
__int64 v3; // x20
__int64 v4; // x1
const char *v5; // x8
char *v6; // x21
size_t v7; // x0
char *v8; // x1
if ( *(_QWORD *)a2 )
{
v2 = *(_QWORD **)(*(_QWORD *)a2 + 56LL);
if ( v2 )
{
v3 = result;
do
{
sub_100454060(v3, 32);
v5 = (const char *)v2[1];
if ( !v5 )
v5 = "";
if ( *v5 )
v6 = (char *)v5;
else
v6 = ":anonymous";
v7 = sub_100453DD4(v6, v4);
sub_100457130(v3, v6, v7);
sub_100453FF4(v3, 61, 34);
if ( v2[2] )
v8 = (char *)v2[2];
else
v8 = "";
sub_1004567C8(v3, v8);
result = sub_100454060(v3, 34);
v2 = (_QWORD *)v2[4];
}
while ( v2 );
}
}
return result;
}