//
// sub_10054A19C from 0x10054a19c to 0x10054a1ec (80 bytes)
//
// 2 xrefs:
// > sub_10055FDDC @ 0x10055feb0
// > sub_1005714B0 @ 0x1005714c0
//
// 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
//
__int64 __fastcall sub_10054A19C(__int64 *a1)
{
__int64 v1; // x19
__int64 result; // x0
v1 = *a1;
*(_QWORD *)(*a1 + 1976) = 0;
result = sub_10054A1EC(a1);
if ( !(_DWORD)result )
{
if ( (*(_BYTE *)(v1 + 2032) & 0x10) == 0 && !*(_BYTE *)(v1 + 2024) )
sub_100562B00(*(_QWORD *)(v1 + 544), "\n");
*(_DWORD *)(v1 + 2320) = 0;
return 0;
}
return result;
}