//
// ScrollableContentLayer::sectionClear from 0x6e372c to 0x6e37cc (160 bytes)
//
// 2 xrefs:
// > ScrollableContentLayer::contentWiped @ 0x6e5344
// > ??> @ 0x8f710
//
// 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:41 +0000
//
__int64 __fastcall ScrollableContentLayer::sectionClear(ScrollableContentLayer *this)
{
char *v2; // x21
_QWORD **v3; // x20
_QWORD **v4; // x20
v2 = (char *)this + 528;
v3 = *((_QWORD ***)this + 67);
if ( v3 )
{
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)this + 528,
*v3);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)v2,
v3[1]);
operator delete(v3);
}
v4 = *((_QWORD ***)this + 70);
*((_QWORD *)this + 68) = 0;
*((_QWORD *)this + 66) = (char *)this + 536;
*((_QWORD *)this + 67) = 0;
if ( v4 )
{
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)this + 552,
*v4);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)this + 552,
v4[1]);
operator delete(v4);
}
*((_QWORD *)this + 71) = 0;
*((_QWORD *)this + 70) = 0;
*((_QWORD *)this + 69) = (char *)this + 560;
*((_QWORD *)this + 72) = 0;
return (__int64)this + 560;
}