//
// sub_6115FC from 0x6115fc to 0x611632 (54 bytes)
//
// 2 xrefs:
// > sub_62E754 @ 0x62e7c8
// > sub_633868 @ 0x63386e
//
// 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
//
int __fastcall sub_6115FC(int *a1)
{
int v1; // r4
int result; // r0
v1 = *a1;
*(_DWORD *)(*a1 + 1336) = 0;
result = sub_610EFC(a1);
if ( !result )
{
if ( (*(_DWORD *)(v1 + 1392) & 0x10) == 0 && !*(_BYTE *)(v1 + 1384) )
sub_627110(*(_DWORD *)(v1 + 336), "\n");
result = 0;
*(_DWORD *)(v1 + 1632) = 0;
}
return result;
}