//
// InfoLayer::clearBulkSelection from 0x909800 to 0x9098b4 (180 bytes)
//
// 3 xrefs:
// > InfoLayer::bulkCommentDeleteFinished @ 0x90ad94
// > InfoLayer::toggleModRoom @ 0x90b0f0
// > ??> @ 0x58288
//
// 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:57:11 +0000
//
_QWORD *__fastcall InfoLayer::clearBulkSelection(InfoLayer *this)
{
char *v2; // x21
_QWORD **v3; // x19
__int64 v4; // x0
cocos2d::CCArray *v5; // x0
unsigned int v6; // w19
int v7; // w21
unsigned int v8; // w1
__int64 v9; // x0
v2 = (char *)this + 928;
v3 = *((_QWORD ***)this + 117);
if ( v3 )
{
std::__tree,BulkCommentKey>,std::__map_value_compare,std::__value_type,BulkCommentKey>,std::less>,true>,std::allocator,BulkCommentKey>>>::destroy(
(__int64)this + 928,
*v3);
std::__tree,BulkCommentKey>,std::__map_value_compare,std::__value_type,BulkCommentKey>,std::less>,true>,std::allocator,BulkCommentKey>>>::destroy(
(__int64)v2,
v3[1]);
operator delete(v3);
}
v4 = *((_QWORD *)this + 112);
*((_QWORD *)this + 118) = 0;
*((_QWORD *)this + 116) = (char *)this + 936;
*((_QWORD *)this + 117) = 0;
if ( v4 )
{
v5 = *(cocos2d::CCArray **)(v4 + 432);
if ( v5 )
{
v6 = 0;
v7 = cocos2d::CCArray::count(v5);
if ( v7 )
{
do
{
v8 = v6++;
v9 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(*((_QWORD *)this + 112) + 432LL), v8);
if ( v9 )
*(_BYTE *)(v9 + 440) = 0;
}
while ( v6 != v7 );
}
CustomListView::reloadAll(*((_QWORD *)this + 112));
}
}
*((_QWORD *)this + 119) = 0;
return InfoLayer::refreshBulkUI(this);
}