//
// sub_1800FD560 from 0x1800fd560 to 0x1800fd5ce (110 bytes)
//
// 2 xrefs:
// > sub_1800E14F0 @ 0x1800e194e
// > ??> @ 0x180201004
//
// 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:26 +0000
//
__int64 __fastcall sub_1800FD560(__int64 a1, unsigned int a2, __int64 a3, __int64 a4, __int64 a5, int a6)
{
__int64 result; // rax
__int64 *v9; // [rsp+40h] [rbp+8h] BYREF
if ( !a1 || !a3 || !a4 )
return 31;
result = sub_1800FD450(*(_QWORD *)(*(_QWORD *)a1 + 168LL), a2, &v9);
if ( !(_DWORD)result )
return sub_1800F5350((__int64)v9, a3, a4, a5, a6);
return result;
}