//
// sub_18001D600 from 0x18001d600 to 0x18001d68b (139 bytes)
//
// 5 xrefs:
// > cocos2d::extension::CCControl::operator= @ 0x18001af9f
// > cocos2d::extension::CCScrollView::operator= @ 0x18001c34c
// > ??> @ 0x180031f04
// > ??> @ 0x180031f14
// > ??> @ 0x18004cf80
//
// 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 12:15:44 +0000
//
_QWORD *__fastcall sub_18001D600(_QWORD *a1, _QWORD *a2)
{
_QWORD *v4; // rsi
_QWORD *v5; // rdi
void *v6; // rcx
if ( a1 != a2 )
{
v4 = (_QWORD *)*a1;
v5 = *(_QWORD **)(*a1 + 8LL);
while ( !*((_BYTE *)v5 + 25) )
{
sub_180005020((__int64)a1, (__int64)a1, v5[2]);
v6 = v5;
v5 = (_QWORD *)*v5;
j_j_free(v6);
}
v4[1] = v4;
*v4 = v4;
v4[2] = v4;
a1[1] = 0;
sub_18001DA70(a1, a2);
}
return a1;
}