//
// sub_1800F2040 from 0x1800f2040 to 0x1800f2093 (83 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801b0028
// > ??> @ 0x1802005c0
//
// 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:22 +0000
//
__int64 __fastcall sub_1800F2040(_QWORD *a1, int a2, _QWORD *a3, _DWORD *a4, __int64 a5)
{
_DWORD *v5; // rax
const char *v6; // r9
if ( a2 == 3 )
{
v5 = (_DWORD *)(*a1 + 576LL);
*a3 = v5;
*a4 = 4;
if ( a5 )
{
v6 = "false";
if ( *v5 )
v6 = "true";
sub_1800B7CA0(a5, 32, "%s", v6);
}
}
return 0;
}