//
// sub_53990 from 0x53990 to 0x539e8 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c2e0
//
// This function is hookable on this platform (idp: arm, 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:13:48 +0000
//
__int64 __fastcall sub_53990(__int64 a1, int a2, char a3)
{
__int64 result; // x0
__int64 v6; // [xsp+8h] [xbp-18h] BYREF
if ( (a3 & 0x10) == 0 )
return 68;
result = (*(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)a1 + 136LL))(a1, &v6);
if ( !(_DWORD)result )
{
LODWORD(v6) = a2;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 128LL))(a1, v6);
}
return result;
}