//
// InfoLayer::clearBulkSelection from 0x1403d3870 to 0x1403d396c (252 bytes)
//
// 4 xrefs:
// > InfoLayer::toggleModRoom @ 0x1403d2dba
// > InfoLayer::bulkCommentDeleteFinished @ 0x1403d4156
// > ??> @ 0x140924854
// > ??> @ 0x140924860
//
// 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 11:31:36 +0000
//
void __fastcall InfoLayer::clearBulkSelection(__int64 *a1)
{
_QWORD *v1; // r14
_QWORD *v3; // rbx
void *v4; // rcx
__int64 v5; // rcx
cocos2d::CCArray *v6; // rcx
unsigned int v7; // ebx
unsigned int v8; // esi
struct cocos2d::CCObject *v9; // rax
v1 = (_QWORD *)a1[117];
v3 = (_QWORD *)v1[1];
while ( !*((_BYTE *)v3 + 25) )
{
sub_140083780((__int64)(a1 + 117), (__int64)(a1 + 117), v3[2]);
v4 = v3;
v3 = (_QWORD *)*v3;
j_j_free(v4);
}
v1[1] = v1;
*v1 = v1;
v1[2] = v1;
a1[118] = 0;
v5 = a1[113];
if ( v5 )
{
v6 = *(cocos2d::CCArray **)(v5 + 432);
if ( v6 )
{
v7 = 0;
v8 = cocos2d::CCArray::count(v6);
if ( v8 )
{
do
{
v9 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1[113] + 432), v7);
if ( v9 )
*((_BYTE *)v9 + 464) = 0;
++v7;
}
while ( v7 < v8 );
}
CustomListView::reloadAll(a1[113]);
}
}
a1[119] = 0;
InfoLayer::refreshBulkUI((__int64)a1);
}