//
// InfoLayer::bulkCommentDeleteFinished from 0x90ad68 to 0x90af38 (464 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'InfoLayer::bulkCommentDeleteFinished @ 0x90af40
// > ??> @ 0xf52d8
// > ??> @ 0x1466560
//
// 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:12 +0000
//
__int64 __fastcall InfoLayer::bulkCommentDeleteFinished(InfoLayer *this, unsigned int a2)
{
char *v4; // x2
cocos2d::CCString *v5; // x0
size_t v6; // x0
__int64 v7; // x1
void (__fastcall *v8)(InfoLayer *, __int64, __int64); // x23
__int64 v9; // x0
char *CString; // [xsp+48h] [xbp+48h]
__int64 v12; // [xsp+50h] [xbp+50h] BYREF
size_t v13; // [xsp+58h] [xbp+58h]
void *v14; // [xsp+60h] [xbp+60h]
__int64 v15; // [xsp+68h] [xbp+68h] BYREF
size_t v16; // [xsp+70h] [xbp+70h]
void *v17; // [xsp+78h] [xbp+78h]
__int64 v18[2]; // [xsp+80h] [xbp+80h] BYREF
void *v19; // [xsp+90h] [xbp+90h]
InfoLayer::clearBulkSelection(this);
InfoLayer::onRefreshComments(this, nullptr);
if ( a2 == 1 )
v4 = &byte_11B8890;
else
v4 = "s";
v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Deleted %i comment%s",
(const char *)a2,
v4);
v12 = 0;
CString = (char *)cocos2d::CCString::getCString(v5);
v13 = 0;
v14 = nullptr;
v6 = strlen(CString);
std::string::__init(&v12, CString, v6);
v15 = 0;
v7 = *(_QWORD *)this;
v16 = 0;
v17 = nullptr;
v8 = *(void (__fastcall **)(InfoLayer *, __int64, __int64))(v7 + 464);
if ( (v12 & 1) != 0 )
{
std::string::__init(&v15, v14, v13);
}
else
{
v17 = v14;
v15 = v12;
v16 = v13;
}
v18[0] = 0;
v18[1] = 0;
v19 = nullptr;
std::string::__init(v18, &byte_11B8890, 0);
v9 = TextAlertPopup::create(&v15, 150, v18, 0.5, 0.6);
v8(this, v9, 100);
if ( (v18[0] & 1) != 0 )
operator delete(v19);
if ( (v15 & 1) != 0 )
operator delete(v17);
if ( (v12 & 1) != 0 )
operator delete(v14);
return _stack_chk_guard;
}