// // AccountBanPopup::onTrendingUnban from 0x7645b8 to 0x76469a (226 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:59:06 +0000 // int __fastcall AccountBanPopup::onTrendingUnban(AccountBanPopup *this, cocos2d::CCObject *a2) { int v3; // r3 int v4; // r2 const char *v5; // r1 char *v6; // r0 cocos2d::CCString *v7; // r0 char *CString; // r0 int v9; // r0 int v11[3]; // [sp+10h] [bp-28h] BYREF char *v12[3]; // [sp+1Ch] [bp-1Ch] BYREF int v13[3]; // [sp+28h] [bp-10h] BYREF v3 = *((unsigned __int8 *)this + 732); memset(v11, 0, sizeof(v11)); v4 = *((_DWORD *)this + 189); if ( v4 == 2 ) { v4 = v3 << 31; if ( (v3 & 1) != 0 ) v5 = *((const char **)this + 185); else v5 = (char *)this + 733; v6 = "Lift the Trending ban for %s?"; } else { if ( (v3 & 1) != 0 ) v5 = *((const char **)this + 185); else v5 = (char *)this + 733; v6 = "Allow %s on Trending?\nOnly creators with a rated or sent level trend by default."; } v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)v6, v5, v4); CString = (char *)cocos2d::CCString::getCString(v7); std::string::assign(v11, CString); memset(v12, 0, sizeof(v12)); memset(v13, 0, sizeof(v13)); std::string::__init(v13, &unk_B6B226, 0); v9 = AdminActionConfirmPopup::create( (int)this + 724, 10, "Confirm Allow", (int)v11, (ButtonSprite *)"Allow", v12, (unsigned __int8 *)v13, 1); (*(void (__fastcall **)(int))(*(_DWORD *)v9 + 656))(v9); std::string::~string((int)v13); std::__vector_base::~__vector_base(v12); return std::string::~string((int)v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source