//
// sub_1800D9C80 from 0x1800d9c80 to 0x1800d9cab (43 bytes)
//
// 3 xrefs:
// > sub_1800DA0D0 @ 0x1800da466
// > sub_1800DA0D0 @ 0x1800dadc4
// > sub_1800DA0D0 @ 0x1800dadfa
//
// 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 11:22:34 +0000
//
__int64 __fastcall sub_1800D9C80(__int64 a1)
{
__int64 result; // rax
if ( *(_QWORD *)(a1 + 72) )
return 2248146944LL;
if ( !*(_DWORD *)(a1 + 12) )
return 2248802304LL;
result = 114229248;
if ( !*(_DWORD *)(a1 + 8) )
return 113901568;
return result;
}