//
// sub_10053F090 from 0x10053f090 to 0x10053f0cc (60 bytes)
//
// 1 xrefs:
// > sub_1008C9690 @ 0x1008c96c4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:31:56 +0000
//
_BYTE *__fastcall sub_10053F090(__int64 a1)
{
_BYTE *result; // rax
if ( (*(_BYTE *)(a1 + 1720) & 1) != 0 )
{
result = *(_BYTE **)(a1 + 1736);
*result = 0;
*(_QWORD *)(a1 + 1728) = 0;
}
else
{
*(_WORD *)(a1 + 1720) = 0;
}
*(_BYTE *)(a1 + 1744) = 0;
return result;
}