//
// sub_100060A90 from 0x100060a90 to 0x100060b63 (211 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:19:41 +0000
//
__int64 __fastcall sub_100060A90(__int64 a1, int a2, char a3)
{
__int64 result; // rax
int v5; // r15d
if ( a2 )
result = sub_1000606D0(a1, "%s", byte_100A03D7B);
if ( a3 )
{
if ( *(_BYTE *)(a1 + 8) == 1 )
{
*(_BYTE *)(a1 + 8) = 0;
sub_1000606D0(a1, ">");
}
if ( *(int *)(a1 + 28) < 0 && !*(_BYTE *)(a1 + 9) && !*(_BYTE *)(a1 + 33) )
{
sub_1000606D0(a1, "\n");
v5 = *(_DWORD *)(a1 + 24);
if ( v5 > 0 )
{
do
{
sub_1000606D0(a1, " ");
--v5;
}
while ( v5 );
}
}
*(_BYTE *)(a1 + 9) = 0;
return sub_1000606D0(a1, "%s?>", "xml version=\"1.0\"");
}
return result;
}