//
// sub_1800FD5D0 from 0x1800fd5d0 to 0x1800fd63e (110 bytes)
//
// 2 xrefs:
// > sub_1800E14F0 @ 0x1800e1ba9
// > ??> @ 0x180201010
//
// 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_1800FD5D0(__int64 a1, unsigned int a2, __int64 a3, _DWORD *a4, __int64 a5, int a6)
{
__int64 result; // rax
__int64 *v9; // [rsp+40h] [rbp+8h] BYREF
if ( !a1 || !a4 || !a3 )
return 31;
result = sub_1800FD450(*(_QWORD *)(*(_QWORD *)a1 + 168LL), a2, &v9);
if ( !(_DWORD)result )
return sub_1800F55A0((__int64)v9, a3, a4, a5, a6);
return result;
}