//
// sub_1800E0790 from 0x1800e0790 to 0x1800e07da (74 bytes)
//
// 2 xrefs:
// > sub_1800DF8E0 @ 0x1800df9bd
// > ??> @ 0x1801ff894
//
// 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 *__fastcall sub_1800E0790(__int64 a1))(__int64)
{
void *v2; // rcx
__int64 (__fastcall *result)(__int64); // rax
*(_DWORD *)(a1 + 344) = 0;
v2 = *(void **)(a1 + 320);
if ( v2 )
memset(v2, 0, *(unsigned int *)(a1 + 340));
result = *(__int64 (__fastcall **)(__int64))(a1 + 176);
if ( result )
return (__int64 (__fastcall *)(__int64))result(a1);
return result;
}