//
// InfoLayer::clearBulkSelection from 0x53dd2a to 0x53dd94 (106 bytes)
//
// 2 xrefs:
// > InfoLayer::bulkCommentDeleteFinished @ 0x53ead8
// > InfoLayer::toggleModRoom @ 0x53ecc2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:16 +0000
//
InfoLayer *__fastcall InfoLayer::clearBulkSelection(InfoLayer *this)
{
unsigned int v2; // r5
int v3; // r3
cocos2d::CCArray *v4; // r0
int v5; // r6
int v6; // r0
std::__tree,BulkCommentKey>,std::__map_value_compare,std::__value_type,BulkCommentKey>,std::less>,true>,std::allocator,BulkCommentKey>>>::destroy(
(int)this + 664,
*((_DWORD **)this + 167));
*((_DWORD *)this + 166) = (char *)this + 668;
v2 = 0;
v3 = *((_DWORD *)this + 162);
*((_DWORD *)this + 168) = 0;
*((_DWORD *)this + 167) = 0;
if ( v3 )
{
v4 = *(cocos2d::CCArray **)(v3 + 328);
if ( v4 )
{
v5 = cocos2d::CCArray::count(v4);
while ( v2 != v5 )
{
v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(*((_DWORD *)this + 162) + 328), v2);
if ( v6 )
*(_BYTE *)(v6 + 348) = 0;
++v2;
}
CustomListView::reloadAll(*((CCMenuItemToggler **)this + 162));
}
}
*((_DWORD *)this + 169) = 0;
return InfoLayer::refreshBulkUI(this);
}