//
// sub_1800A3550 from 0x1800a3550 to 0x1800a358e (62 bytes)
//
// 3 xrefs:
// > sub_1800A3F70 @ 0x1800a3fa8
// > sub_1800A5760 @ 0x1800a5999
// > ??> @ 0x1801c1998
//
// 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 11:22:14 +0000
//
__int64 __fastcall sub_1800A3550(__int64 a1)
{
unsigned int v2; // eax
__int64 v3; // rcx
if ( *(_QWORD *)(a1 + 32) )
return (*(__int64 (__fastcall **)(_QWORD))(a1 + 24))(*(_QWORD *)(a1 + 56));
v2 = (*(__int64 (__fastcall **)(_QWORD))(a1 + 72))(*(_QWORD *)(a1 + 56));
v3 = v2;
if ( v2 == -1 )
return -1;
return v3;
}