//
// sub_1800708C0 from 0x1800708c0 to 0x18007091b (91 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801ad130
// > ??> @ 0x1801f9924
//
// 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:53:30 +0000
//
__int64 __fastcall sub_1800708C0(__int64 *a1, int a2, _DWORD *a3, __int64 a4)
{
__int64 v6; // rcx
const char *v7; // r9
if ( a2 != 3 )
return 31;
v6 = *a1;
*a3 = *(_DWORD *)(v6 + 692);
if ( a4 )
{
v7 = "Independent";
if ( *(_DWORD *)(v6 + 692) )
v7 = "Linked";
sub_1800B7CA0(a4, 32, "%s", v7);
}
return 0;
}