//
// sub_10009A2F0 from 0x10009a2f0 to 0x10009a38e (158 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b47a8
//
// 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_10009A2F0(__int64 a1, __int64 a2)
{
const char *v2; // r14
char v3; // r15
v2 = (const char *)sub_100093910((int *)(a2 + 24));
v3 = *(_BYTE *)(a2 + 88);
*(_DWORD *)(a1 + 28) = *(_DWORD *)(a1 + 24) - 1;
if ( *(_BYTE *)(a1 + 8) == 1 )
{
*(_BYTE *)(a1 + 8) = 0;
sub_1000992C0(a1, ">");
}
if ( v3 )
{
sub_1000992C0(a1, "");
}
else
{
sub_1000994D0(a1, v2, 1);
}
return 1;
}