// // AccountBanPopup::onCommentBan from 0x1400a7cb0 to 0x1400a7e1f (367 bytes) // // 2 xrefs: // > AccountBanPopup::init @ 0x1400a7071 // > @ 0x14091325c // // This function is hookable on this platform (idp: pc, 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 11:26:08 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall AccountBanPopup::onCommentBan(__int64 a1) { __int64 v2; // rax int v3; // eax const char *v4; // rdx unsigned __int64 v5; // rcx cocos2d::CCString *v6; // rax char *CString; // rax size_t v8; // r8 int v9; // ebx __int64 v10; // rax void *v11; // rcx _BYTE v12[24]; // [rsp+30h] [rbp-48h] BYREF void *Block[2]; // [rsp+48h] [rbp-30h] BYREF __m128i si128; // [rsp+58h] [rbp-20h] v2 = *(_QWORD *)(a1 + 1104); if ( v2 ) v3 = *(_DWORD *)(v2 + 384); else v3 = 0; *(_OWORD *)Block = 0; si128 = _mm_load_si128((const __m128i *)&Size); LOBYTE(Block[0]) = 0; v4 = (const char *)(a1 + 1040); v5 = *(_QWORD *)(a1 + 1064); if ( v3 == 12 ) { if ( v5 > 0xF ) v4 = *(const char **)v4; v6 = cocos2d::CCString::createWithFormat("Apply a permanent comment ban to %s?", v4); } else { if ( v5 > 0xF ) v4 = *(const char **)v4; v6 = cocos2d::CCString::createWithFormat("Ban %s from commenting for %s?", v4, off_140702D30[v3]); } CString = (char *)cocos2d::CCString::getCString(v6); v8 = -1; do ++v8; while ( CString[v8] ); sub_1400405A0(Block, CString, v8); v9 = a1 + 1024; if ( !a1 ) v9 = 0; v10 = ReportPopup::reasonIndicesForTextModeration(v12); sub_1400A6720(v9, 1, (__int64)Block, v10); sub_140069730((__int64)v12); if ( si128.m128i_i64[1] > 0xFuLL ) { v11 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v11 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v11 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v11); } }