//
// sub_1800DEF20 from 0x1800def20 to 0x1800def3e (30 bytes)
//
// 4 xrefs:
// > ??> @ 0x18016d1d8
// > ??> @ 0x18016d3c8
// > ??> @ 0x18016d560
// > ??> @ 0x18016d730
//
// 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_1800DEF20(__int64 a1)
{
__int64 v1; // rcx
__int64 (*v2)(void); // rax
v1 = *(_QWORD *)(a1 + 96);
if ( v1 && (v2 = *(__int64 (**)(void))(v1 + 192)) != nullptr )
return v2();
else
return 19;
}