//
// sub_1800CC530 from 0x1800cc530 to 0x1800cc596 (102 bytes)
//
// 2 xrefs:
// > ??> @ 0x18016c698
// > ??> @ 0x1801fe634
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}