//
// sub_18000ECC0 from 0x18000ecc0 to 0x18000ed31 (113 bytes)
//
// 4 xrefs:
// > sub_18000F040 @ 0x18000f04f
// > cocos2d::CCSet::~CCSet @ 0x18000f08b
// > sub_18000F0C0 @ 0x18000f13b
// > ??> @ 0x1801b8008
//
// 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:21:21 +0000
//
void __fastcall sub_18000ECC0(void **a1, __int64 a2)
{
_QWORD *v4; // rbx
void *v5; // rcx
v4 = *((_QWORD **)*a1 + 1);
while ( !*((_BYTE *)v4 + 25) )
{
sub_18000ED40(a1, a2, v4[2]);
v5 = v4;
v4 = (_QWORD *)*v4;
j_j_free_0(v5);
}
j_j_free_0(*a1);
}