//
// sub_1800DEB00 from 0x1800deb00 to 0x1800deb4c (76 bytes)
//
// 2 xrefs:
// > sub_1800CDCB0 @ 0x1800cdcd0
// > ??> @ 0x1801ff78c
//
// 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_1800DEB00(__int64 a1, _DWORD *a2)
{
__int64 v3; // rdx
__int64 v4; // rcx
__int64 result; // rax
_OWORD v6[3]; // [rsp+20h] [rbp-48h] BYREF
__int64 v7; // [rsp+50h] [rbp-18h]
v3 = *(unsigned int *)(a1 + 192);
v7 = 0;
v4 = *(_QWORD *)(a1 + 96);
memset(v6, 0, sizeof(v6));
result = (*(__int64 (__fastcall **)(__int64, __int64, _OWORD *))(v4 + 136))(v4, v3, v6);
if ( !(_DWORD)result )
{
*a2 = HIDWORD(v6[0]);
return 0;
}
return result;
}