//
// sub_10009A4F0 from 0x10009a4f0 to 0x10009a595 (165 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b47b8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
char __fastcall sub_10009A4F0(__int64 a1, __int64 a2)
{
const char *v2; // r14
int v3; // r12d
v2 = (const char *)sub_100093910((int *)(a2 + 24));
if ( *(_BYTE *)(a1 + 8) == 1 )
{
*(_BYTE *)(a1 + 8) = 0;
sub_1000992C0(a1, ">");
}
if ( *(int *)(a1 + 28) < 0 && !*(_BYTE *)(a1 + 9) && !*(_BYTE *)(a1 + 33) )
{
sub_1000992C0(a1, "\n");
v3 = *(_DWORD *)(a1 + 24);
if ( v3 > 0 )
{
do
{
sub_1000992C0(a1, " ");
--v3;
}
while ( v3 );
}
}
*(_BYTE *)(a1 + 9) = 0;
sub_1000992C0(a1, "", v2);
return 1;
}