//
// sub_1800C3B70 from 0x1800c3b70 to 0x1800c3bb5 (69 bytes)
//
// 2 xrefs:
// > sub_1800C3960 @ 0x1800c399e
// > ??> @ 0x1801fddd0
//
// 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:04 +0000
//
__int64 __fastcall sub_1800C3B70(__int64 a1, _DWORD *a2)
{
__int64 v2; // rbx
__int64 result; // rax
v2 = a1 - 8;
if ( !a1 )
v2 = 0;
result = sub_1800C36A0(v2);
if ( !(_DWORD)result )
{
*a2 = *(_DWORD *)(v2 + 1048);
return 0;
}
return result;
}