//
// sub_1800CC530 from 0x1800cc530 to 0x1800cc596 (102 bytes)
//
// 2 xrefs:
// > ??> @ 0x18016c698
// > ??> @ 0x1801fe634
//
// 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:07 +0000
//
__int64 __fastcall sub_1800CC530(__int64 a1)
{
__int64 *v1; // rdi
__int64 *v3; // rbx
_QWORD *v4; // rbx
__int64 v5; // rcx
v1 = (__int64 *)(a1 + 400);
v3 = *(__int64 **)(a1 + 400);
if ( v3 != (__int64 *)(a1 + 400) )
{
do
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3[2] + 8LL))(v3[2]);
v3 = (__int64 *)*v3;
}
while ( v3 != v1 );
}
v4 = *(_QWORD **)(a1 + 424);
while ( v4 != (_QWORD *)(a1 + 424) )
{
v5 = v4[2];
v4 = (_QWORD *)*v4;
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 8LL))(v5);
}
return 0;
}