// // AccountBanPopup::onTrendingBan from 0x76384c to 0x76394c (256 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::onTrendingBan(AccountBanPopup *this, cocos2d::CCObject *a2) { char *v2; // r6 cocos2d::CCString *v3; // r0 const char *CString; // r8 size_t v5; // r0 int v6; // r6 int v8[3]; // [sp+14h] [bp+0h] BYREF char *v9[3]; // [sp+20h] [bp+Ch] BYREF int v10[3]; // [sp+2Ch] [bp+18h] BYREF int v11[3]; // [sp+38h] [bp+24h] BYREF v2 = (char *)this + 724; if ( (*((_BYTE *)this + 732) & 1) != 0 ) v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Ban %s from Trending?\n" "Their levels leave the tab now and stay out until allowed again.", *((const char **)this + 185)); else v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Ban %s from Trending?\n" "Their levels leave the tab now and stay out until allowed again.", (const char *)this + 733); memset(v8, 0, sizeof(v8)); CString = (const char *)cocos2d::CCString::getCString(v3); v5 = strlen(CString); std::string::__init(v8, CString, v5); ReportPopup::reasonIndicesForUploadModeration((ReportPopup *)v9); memset(v10, 0, sizeof(v10)); std::string::__init(v10, &unk_B6B226, 0); v6 = AdminActionConfirmPopup::create( (int)v2, 9, "Confirm Ban", (int)v8, (ButtonSprite *)"Ban", v9, (unsigned __int8 *)v10, 1); std::string::~string((int)v10); std::__vector_base::~__vector_base(v9); memset(v11, 0, sizeof(v11)); std::string::__init( v11, "The player is not told. The reason and categories only go to the moderator log.\n" "\n" "No duration: the ban stays until a moderator allows the account again or RobTop rates one of their levels.", 0xBBu); AdminActionConfirmPopup::addHelp(v6, "Trending Ban", (int)v11); std::string::~string((int)v11); (*(void (__fastcall **)(int))(*(_DWORD *)v6 + 656))(v6); return std::string::~string((int)v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source