//
// AccountReviewPopup::adminCloseCaseFinished from 0x737588 to 0x7376ae (294 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'AccountReviewPopup::adminCloseCaseFinished @ 0x7376d4
//
// 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:25 +0000
//
PagedListPopup *__fastcall AccountReviewPopup::adminCloseCaseFinished(
PagedListPopup *this,
int a2,
const char *a3,
int a4)
{
PagedListPopup *v5; // r4
int v7; // r3
int v8; // r2
_BOOL4 v9; // r1
_DWORD *v10; // r0
int v11; // r1
int v12; // r2
_DWORD *v13; // r0
int v14; // r1
cocos2d::CCDirector *v15; // r2
cocos2d::CCDirector *v16; // r0
char *v17; // r0
cocos2d::CCAction *v18; // r0
int v19[3]; // [sp+8h] [bp-28h] BYREF
_DWORD v20[3]; // [sp+14h] [bp-1Ch] BYREF
_DWORD v21[2]; // [sp+20h] [bp-10h] BYREF
cocos2d::CCDirector *v22; // [sp+28h] [bp-8h]
v5 = this;
if ( a2 == *((_DWORD *)this + 157) )
{
PagedListPopup::fadeLoading(this, a2, (int)a3);
v8 = *((unsigned __int8 *)v5 + 868);
v9 = 1;
*((_BYTE *)v5 + 884) = 1;
if ( v8 )
{
v7 = *((_DWORD *)v5 + 180);
if ( v7 <= 0 )
{
v7 = *((_DWORD *)v5 + 183);
if ( v7 <= 0 )
v9 = *((_DWORD *)v5 + 167) == 0;
}
}
else
{
v9 = 0;
}
if ( (int)a3 <= 0 )
{
if ( !a4 && v9 )
v17 = "Already closed";
else
v17 = "Case closed";
sub_732BD8((cocos2d::CCDirector *)v17);
}
else
{
sub_7328F4(v19, a3, (int)"item", v7);
v10 = std::string::insert(v19, 0, "Case closed, ");
v11 = v10[1];
v12 = v10[2];
v20[0] = *v10;
v20[1] = v11;
v20[2] = v12;
*v10 = 0;
v10[1] = 0;
v10[2] = 0;
v13 = std::string::append(v20, " cleared");
v14 = v13[1];
v15 = (cocos2d::CCDirector *)v13[2];
v21[0] = *v13;
v21[1] = v14;
v22 = v15;
*v13 = 0;
v13[1] = 0;
v13[2] = 0;
if ( (v21[0] & 1) != 0 )
v16 = v22;
else
v16 = (cocos2d::CCDirector *)((char *)v21 + 1);
sub_732BD8(v16);
std::string::~string((int)v21);
std::string::~string((int)v20);
std::string::~string((int)v19);
}
v18 = (cocos2d::CCAction *)cocos2d::CCCallFunc::create(v5, AccountReviewPopup::closeAfterDone, 0);
return (PagedListPopup *)cocos2d::CCNode::runAction(v5, v18);
}
return this;
}