// // AccountBanPopup::onMessageBan from 0xc9342c to 0xc935b0 (388 bytes) // // 3 xrefs: // > @ 0xeccb0 // > AccountBanPopup::init @ 0xc945bc // > @ 0x1547278 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:05:49 +0000 // __int64 __fastcall AccountBanPopup::onMessageBan(AccountBanPopup *this, cocos2d::CCObject *a2) { __int64 v3; // x0 int v4; // w3 const char *v5; // x1 cocos2d::CCString *v6; // x0 char *CString; // x0 __int64 *v8; // x0 const char *v10; // x1 __int64 v11; // [xsp+38h] [xbp+38h] BYREF __int64 v12; // [xsp+40h] [xbp+40h] void *v13; // [xsp+48h] [xbp+48h] void *v14; // [xsp+50h] [xbp+50h] BYREF char *v15; // [xsp+58h] [xbp+58h] v3 = *((_QWORD *)this + 141); if ( !v3 ) { v11 = 0; v4 = 0; v12 = 0; v13 = nullptr; goto LABEL_3; } v4 = *(_DWORD *)(v3 + 384); v11 = 0; v12 = 0; v13 = nullptr; if ( v4 != 12 ) { LABEL_3: v5 = (char *)this + 1057; if ( (*((_BYTE *)this + 1056) & 1) != 0 ) v5 = *((const char **)this + 134); v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Ban %s from messages and friend requests for %s?", v5, off_13FB0D0[v4]); goto LABEL_6; } v10 = (char *)this + 1057; if ( (*((_BYTE *)this + 1056) & 1) != 0 ) v10 = *((const char **)this + 134); v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"Apply a permanent message ban to %s?\n" "Blocks messages and friend requests.", v10); LABEL_6: CString = (char *)cocos2d::CCString::getCString(v6); v8 = std::string::assign(&v11, CString); ReportPopup::reasonIndicesForTextModeration((__int64 *)&v14, (ReportPopup *)v8); sub_C90E50((__int64)this + 1040, 5, (char *)&v11, (__int64)&v14); if ( v14 ) { if ( v14 != v15 ) v15 += 4 * ~((unsigned __int64)(v15 - 4 - (_BYTE *)v14) >> 2); operator delete(v14); } if ( (v11 & 1) != 0 ) operator delete(v13); return _stack_chk_guard; }