//
// sub_180055D70 from 0x180055d70 to 0x180055db4 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801ac450
// > ??> @ 0x1801f8d90
//
// 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:19 +0000
//
__int64 __fastcall sub_180055D70(__int64 *a1, int a2)
{
__int64 v2; // rcx
__int64 result; // rax
if ( !a2 )
return 0;
v2 = *a1;
if ( *(_QWORD *)(v2 + 856) )
return 11;
result = (*(__int64 (__fastcall **)(__int64, __int64, _QWORD, _QWORD))(*(_QWORD *)(v2 + 216) + 64LL))(
v2 + 176,
v2 + 856,
0,
0);
if ( !(_DWORD)result )
return 11;
return result;
}