//
// ScrollableContentLayer::~ScrollableContentLayer from 0x6e3f2c to 0x6e404c (288 bytes)
//
// 4 xrefs:
// > `non-virtual thunk to'ScrollableContentLayer::~ScrollableContentLayer @ 0x6e4050
// > `non-virtual thunk to'ScrollableContentLayer::~ScrollableContentLayer @ 0x6e4058
// > ??> @ 0x89590
// > ??> @ 0x1424be0
//
// This function is hookable on this platform (idp: arm, 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:51:42 +0000
//
void __fastcall ScrollableContentLayer::~ScrollableContentLayer(ScrollableContentLayer *this)
{
_QWORD **v2; // x20
char *v3; // x0
char *v4; // x2
_QWORD **v5; // x20
_QWORD **v6; // x20
v2 = *((_QWORD ***)this + 81);
*(_QWORD *)this = &off_1424BD0;
*((_QWORD *)this + 40) = off_1425070;
*((_QWORD *)this + 41) = &off_14250E0;
*((_QWORD *)this + 42) = off_14250F8;
*((_QWORD *)this + 43) = off_1425118;
*((_QWORD *)this + 44) = off_1425140;
*((_QWORD *)this + 51) = off_1425170;
if ( v2 )
{
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)this + 640,
*v2);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)this + 640,
v2[1]);
operator delete(v2);
}
v3 = *((char **)this + 77);
if ( v3 )
{
v4 = *((char **)this + 78);
if ( v3 != v4 )
*((_QWORD *)this + 78) = &v4[4 * ~((unsigned __int64)(v4 - 4 - v3) >> 2)];
operator delete(v3);
}
v5 = *((_QWORD ***)this + 70);
if ( v5 )
{
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)this + 552,
*v5);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)this + 552,
v5[1]);
operator delete(v5);
}
v6 = *((_QWORD ***)this + 67);
if ( v6 )
{
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)this + 528,
*v6);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)this + 528,
v6[1]);
operator delete(v6);
}
cocos2d::CCLayer::~CCLayer(this);
operator delete(this);
}