//
// sub_100061700 from 0x100061700 to 0x10006179e (158 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ab7dc8
//
// 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
//
char __fastcall sub_100061700(__int64 a1, __int64 a2)
{
const char *v2; // r14
char v3; // r15
v2 = (const char *)sub_10005AD20((int *)(a2 + 24));
v3 = *(_BYTE *)(a2 + 88);
*(_DWORD *)(a1 + 28) = *(_DWORD *)(a1 + 24) - 1;
if ( *(_BYTE *)(a1 + 8) == 1 )
{
*(_BYTE *)(a1 + 8) = 0;
sub_1000606D0(a1, ">");
}
if ( v3 )
{
sub_1000606D0(a1, "");
}
else
{
sub_1000608E0(a1, v2, 1);
}
return 1;
}