//
// sub_1800FC5B0 from 0x1800fc5b0 to 0x1800fc619 (105 bytes)
//
// 2 xrefs:
// > sub_1800E2620 @ 0x1800e2af8
// > ??> @ 0x180200e90
//
// 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_1800FC5B0(__int64 a1, int a2)
{
__int64 v2; // rdi
_DWORD *v3; // rbx
__int64 result; // rax
v2 = a1 + 8LL * a2;
v3 = *(_DWORD **)(v2 + 67968);
if ( v3 )
{
result = sub_1800554A0(*(_QWORD *)(v2 + 67968));
if ( (_DWORD)result )
return result;
sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), v3);
*(_QWORD *)(v2 + 67968) = 0;
}
return 0;
}