//
// sub_18000EDF0 from 0x18000edf0 to 0x18000ee73 (131 bytes)
//
// 3 xrefs:
// > ??> @ 0x18016c870
// > ??> @ 0x18016cae8
// > ??> @ 0x1801f6cfc
//
// 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_18000EDF0(_DWORD *a1, bool *a2, _DWORD *a3, _DWORD *a4)
{
__int64 result; // rax
char v9; // [rsp+30h] [rbp+8h] BYREF
result = (*(__int64 (__fastcall **)(_DWORD *, char *))(*(_QWORD *)a1 + 152LL))(a1, &v9);
if ( !(_DWORD)result )
{
if ( (v9 & 0x10) != 0 )
{
if ( a2 )
*a2 = (a1[18] & 0x100000) != 0;
if ( a3 )
*a3 = a1[62];
if ( a4 )
*a4 = a1[63];
return 0;
}
else
{
return 40;
}
}
return result;
}