//
// sub_10053EB14 from 0x10053eb14 to 0x10053eb6c (88 bytes)
//
// 2 xrefs:
// > sub_1005831E8 @ 0x10058321c
// > sub_1005834D0 @ 0x100583dac
//
// 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_10053EB14(__int64 a1)
{
__int64 v2; // x0
__int64 result; // x0
*(_DWORD *)(a1 + 56) = 0;
*(_DWORD *)(a1 + 68) = 0;
*(_DWORD *)(a1 + 72) = 20480;
*(_QWORD *)(a1 + 48) = *(_QWORD *)(*(_QWORD *)(a1 + 8) + 40LL);
sub_10053E050(a1);
v2 = *(_QWORD *)(a1 + 216);
if ( v2 )
sub_1005E3528(v2);
*(_QWORD *)(a1 + 216) = 0;
result = *(_QWORD *)(a1 + 240);
if ( result )
result = sub_1005E3528(result);
*(_QWORD *)(a1 + 240) = 0;
return result;
}