//
// sub_1000617A0 from 0x1000617a0 to 0x100061845 (165 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ab7dd0
//
// 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_1000617A0(__int64 a1, __int64 a2)
{
const char *v2; // r14
int v3; // r12d
v2 = (const char *)sub_10005AD20((int *)(a2 + 24));
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");
v3 = *(_DWORD *)(a1 + 24);
if ( v3 > 0 )
{
do
{
sub_1000606D0(a1, " ");
--v3;
}
while ( v3 );
}
}
*(_BYTE *)(a1 + 9) = 0;
sub_1000606D0(a1, "", v2);
return 1;
}