// // AccountReviewPopup::onDone from 0x73a5ec to 0x73a912 (806 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:29 +0000 // int __fastcall AccountReviewPopup::onDone(AccountReviewPopup *this, cocos2d::CCObject *a2) { int v3; // r2 int v4; // r1 const char *v5; // r2 const char *v6; // r1 int *v7; // r3 int v8; // r1 int v9; // r2 int v10; // r0 int v11; // r1 char *v12; // r2 int v13; // r3 int v14; // r3 char *v15; // r1 cocos2d::CCString *v16; // r0 char *CString; // r0 const char *v18; // r1 char *v19; // r2 cocos2d::CCString *v20; // r0 char *v21; // r0 _DWORD *v22; // r3 int v23; // r1 int v24; // r2 _DWORD *v25; // r3 int v26; // r1 char *v27; // r2 _DWORD *v28; // r3 int v29; // r1 char *v30; // r2 int v31; // r0 const char *v33; // [sp+14h] [bp-60h] BYREF int v34[3]; // [sp+18h] [bp-5Ch] BYREF int v35[3]; // [sp+24h] [bp-50h] BYREF void *v36; // [sp+30h] [bp-44h] BYREF _DWORD *v37; // [sp+34h] [bp-40h] unsigned int v38; // [sp+38h] [bp-3Ch] char *v39; // [sp+3Ch] [bp-38h] BYREF _DWORD *v40; // [sp+40h] [bp-34h] unsigned int v41; // [sp+44h] [bp-30h] int v42; // [sp+48h] [bp-2Ch] BYREF int v43; // [sp+4Ch] [bp-28h] int v44; // [sp+50h] [bp-24h] int v45; // [sp+54h] [bp-20h] BYREF int v46; // [sp+58h] [bp-1Ch] char *v47; // [sp+5Ch] [bp-18h] int v48; // [sp+60h] [bp-14h] BYREF int v49; // [sp+64h] [bp-10h] char *v50; // [sp+68h] [bp-Ch] v3 = *((unsigned __int8 *)this + 868); memset(v34, 0, sizeof(v34)); if ( v3 ) { v4 = *((_DWORD *)this + 183); v5 = *((const char **)this + 180); v45 = 0; if ( v4 > 0 ) v6 = v5 + 1; else v6 = v5; v46 = 0; v47 = nullptr; if ( (int)v6 > 0 ) { sub_7328F4(v35, v6, (int)"item", 0); v7 = std::string::insert(v35, 0, "clears "); v8 = v7[1]; v9 = v7[2]; v48 = *v7; v49 = v8; v50 = (char *)v9; *v7 = 0; v7[1] = 0; v7[2] = 0; if ( (v45 & 1) != 0 ) { *v47 = 0; v46 = 0; } else { LOWORD(v45) = 0; } std::string::reserve(&v45, 0); v10 = v48; v11 = v49; v12 = v50; v48 = 0; v49 = 0; v50 = nullptr; v45 = v10; v46 = v11; v47 = v12; std::string::~string((int)&v48); std::string::~string((int)v35); } if ( !*((_DWORD *)this + 167) ) { if ( (v45 & 1) != 0 ) v14 = v46; else v14 = (int)(unsigned __int8)v45 >> 1; if ( v14 ) v15 = " and the case"; else v15 = "closes the case"; std::string::append(&v45, v15); } if ( (v45 & 1) != 0 ) v13 = v46; else v13 = (int)(unsigned __int8)v45 >> 1; if ( v13 ) { if ( (*((_BYTE *)this + 632) & 1) != 0 ) v18 = *((const char **)this + 160); else v18 = (char *)this + 633; if ( (v45 & 1) != 0 ) v19 = v47; else v19 = (char *)&v45 + 1; v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Close the case on %s?\nEvery pick %s. What happened?", v18, v19); } else if ( (*((_BYTE *)this + 632) & 1) != 0 ) { v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Close the case on %s?\n" "Nothing to clear, this just logs the review.", *((const char **)this + 160)); } else { v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Close the case on %s?\n" "Nothing to clear, this just logs the review.", (const char *)this + 633); } CString = (char *)cocos2d::CCString::getCString(v16); std::string::assign(v34, CString); std::string::~string((int)&v45); } else { if ( (*((_BYTE *)this + 632) & 1) != 0 ) v20 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Close the case on %s?\n" "Clears the reports and the case. What happened?", *((const char **)this + 160)); else v20 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Close the case on %s?\n" "Clears the reports and the case. What happened?", (const char *)this + 633); v21 = (char *)cocos2d::CCString::getCString(v20); std::string::assign(v34, v21); } v36 = nullptr; v37 = nullptr; v38 = 0; v39 = nullptr; v40 = nullptr; v41 = 0; v42 = 0; v43 = 0; v44 = 0; std::string::__init(&v42, "Nothing Needed", 0xEu); v22 = v37; if ( (unsigned int)v37 >= v38 ) { std::vector::__push_back_slow_path(&v36, &v42); } else { if ( v37 ) { v23 = v43; v24 = v44; *v37 = v42; v22[1] = v23; v22[2] = v24; v42 = 0; v43 = 0; v44 = 0; } v37 += 3; } std::string::~string((int)&v42); v33 = "GJ_button_04.png"; if ( (unsigned int)v40 >= v41 ) { std::vector::__push_back_slow_path((int)&v39, &v33); } else { if ( v40 ) *v40 = "GJ_button_04.png"; ++v40; } v45 = 0; v46 = 0; v47 = nullptr; std::string::__init(&v45, "Content Removed", 0xFu); v25 = v37; if ( (unsigned int)v37 >= v38 ) { std::vector::__push_back_slow_path(&v36, &v45); } else { if ( v37 ) { v26 = v46; v27 = v47; *v37 = v45; v25[1] = v26; v25[2] = v27; v45 = 0; v46 = 0; v47 = nullptr; } v37 += 3; } std::string::~string((int)&v45); v33 = "GJ_button_05.png"; if ( (unsigned int)v40 >= v41 ) { std::vector::__push_back_slow_path((int)&v39, &v33); } else { if ( v40 ) *v40 = "GJ_button_05.png"; ++v40; } v48 = 0; v49 = 0; v50 = nullptr; std::string::__init(&v48, "Penalty Applied", 0xFu); v28 = v37; if ( (unsigned int)v37 >= v38 ) { std::vector::__push_back_slow_path(&v36, &v48); } else { if ( v37 ) { v29 = v49; v30 = v50; *v37 = v48; v28[1] = v29; v28[2] = v30; v48 = 0; v49 = 0; v50 = nullptr; } v37 += 3; } std::string::~string((int)&v48); v33 = "GJ_button_06.png"; if ( (unsigned int)v40 >= v41 ) { std::vector::__push_back_slow_path((int)&v39, &v33); } else { if ( v40 ) *v40 = "GJ_button_06.png"; ++v40; } v31 = ReviewChoiceSheet::create( (int)this + 620, 2, "Clear", (int)v34, &v36, &v39, 1, "All options clear the reports and close the case.\n" "Your choice only sets the label shown in History.\n" "\n" "Nothing Needed: No violation found.\n" "Content Removed: Content removed, no account penalty.\n" "Penalty Applied: Account banned or restricted.\n" "Pick this even if content was also removed.\n" "\n" "Only the highest action taken is shown."); (*(void (__fastcall **)(int))(*(_DWORD *)v31 + 656))(v31); std::__vector_base::~__vector_base(&v39); std::__vector_base::~__vector_base((int)&v36); return std::string::~string((int)v34); }