//
// sub_1800882B0 from 0x1800882b0 to 0x1800882e5 (53 bytes)
//
// 2 xrefs:
// > sub_1800E4E00 @ 0x1800e5a0d
// > ??> @ 0x1801fa2d8
//
// 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:41 +0000
//
__int64 __fastcall sub_1800882B0(__int64 a1, __int64 a2)
{
__int64 v2; // rcx
*(_QWORD *)a1 = a2;
*(_DWORD *)(a1 + 8) = 0;
v2 = a1 + 16;
if ( *(_DWORD *)(v2 + 8) )
return 28;
else
return sub_1800886A0(v2, 64);
}