//
// sub_1800DF870 from 0x1800df870 to 0x1800df89a (42 bytes)
//
// 4 xrefs:
// > ??> @ 0x18016d148
// > ??> @ 0x18016d338
// > ??> @ 0x18016d4d0
// > ??> @ 0x18016d6a0
//
// 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 10:54:15 +0000
//
__int64 __fastcall sub_1800DF870(__int64 a1, char *a2, int a3, __int64 a4)
{
__int64 v5; // rax
__int64 **v6; // rcx
if ( !a4 )
return 31;
v5 = *(_QWORD *)(a1 + 96);
if ( v5 && (v6 = *(__int64 ***)(v5 + 360)) != nullptr )
return sub_1800D4940(v6, a2, a3, a4);
else
return 63;
}