//
// AccountReviewPopup::onDeleteFilterRow from 0x733a68 to 0x733bce (358 bytes)
//
// 0 xrefs:
//
// 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:58:22 +0000
//
cocos2d::CCArray *__fastcall AccountReviewPopup::onDeleteFilterRow(AccountReviewPopup *this, cocos2d::CCObject *a2)
{
cocos2d::CCArray *result; // r0
signed int v4; // r5
int v5; // r0
int v6; // r7
int v7; // r1
const char *v8; // r9
char *v9; // r8
cocos2d::CCString *v10; // r0
const char *CString; // r8
size_t v12; // r0
char *v13; // r8
size_t v14; // r0
char **v15; // r4
int v16[2]; // [sp+1Ch] [bp-20h] BYREF
char *v17; // [sp+24h] [bp-18h]
int v18[3]; // [sp+28h] [bp-14h] BYREF
result = (cocos2d::CCArray *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v4 = (signed int)result;
if ( *((_DWORD *)this + 218) == 1 )
{
result = *((cocos2d::CCArray **)this + 231);
if ( result )
{
if ( v4 >= 0 )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);
if ( v4 < (int)result )
{
v5 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 231), v4);
*((_DWORD *)this + 222) = v4;
v6 = v5;
v8 = (const char *)ReportPopup::surfaceName(*(ReportPopup **)(v5 + 52), v7);
if ( (*((_BYTE *)this + 632) & 1) != 0 )
v9 = *((char **)this + 160);
else
v9 = (char *)this + 633;
GameToolbox::singleLineSnippet((unsigned __int8 *)v18, v6 + 84, 0x3Cu);
v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"Delete this %s by %s? Cannot be undone.\n"
"\"%s\"",
v8,
v9);
CString = (const char *)cocos2d::CCString::getCString(v10);
v16[0] = 0;
v16[1] = 0;
v17 = nullptr;
v12 = strlen(CString);
std::string::__init(v16, CString, v12);
v13 = (char *)this + 608;
std::string::~string((int)v18);
if ( (v16[0] & 1) == 0 )
this = (AccountReviewPopup *)((char *)v16 + 1);
v18[0] = 0;
if ( (v16[0] & 1) != 0 )
this = (AccountReviewPopup *)v17;
v18[1] = 0;
v18[2] = 0;
v14 = strlen((const char *)this);
std::string::__init(v18, this, v14);
v15 = (char **)FLAlertLayer::create(
(int)v13,
(cocos2d::CCLabelBMFont *)"Delete Content",
(int)v18,
(ButtonSprite *)"Cancel",
(ButtonSprite *)"Delete",
380.0,
0,
0,
1.0);
std::string::~string((int)v18);
(*((void (__fastcall **)(char **, int))*v15 + 9))(v15, 6);
ButtonSprite::updateBGImage(v15[121], "GJ_button_06.png");
(*((void (__fastcall **)(char **))*v15 + 164))(v15);
return (cocos2d::CCArray *)std::string::~string((int)v16);
}
}
}
}
return result;
}