//
// sub_1800055E0 from 0x1800055e0 to 0x180005651 (113 bytes)
//
// 4 xrefs:
// > cocos2d::extension::CCControl::~CCControl @ 0x180004323
// > cocos2d::extension::CCScrollView::~CCScrollView @ 0x18001231c
// > sub_18001DE30 @ 0x18001de3f
// > ??> @ 0x180049510
//
// 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
//
void __fastcall sub_1800055E0(void **a1, __int64 a2)
{
_QWORD *v4; // rbx
void *v5; // rcx
v4 = *((_QWORD **)*a1 + 1);
while ( !*((_BYTE *)v4 + 25) )
{
sub_180005580((__int64)a1, a2, v4[2]);
v5 = v4;
v4 = (_QWORD *)*v4;
j_j_free(v5);
}
j_j_free(*a1);
}