// // AccountBanPopup::onCommentUnban from 0x1400a7f90 to 0x1400a81ab (539 bytes) // // 2 xrefs: // > AccountBanPopup::init @ 0x1400a7065 // > @ 0x140913274 // // 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=3 void __fastcall AccountBanPopup::onCommentUnban(__int64 a1) { const char *v2; // rdx cocos2d::CCString *v3; // rax const char *CString; // rax size_t v5; // r8 int v6; // ecx char *v7; // rax void *v8; // rcx void *v9; // rcx void *v10; // rcx void *Block[2]; // [rsp+40h] [rbp-68h] BYREF __int64 v12; // [rsp+50h] [rbp-58h] void *v13[2]; // [rsp+58h] [rbp-50h] BYREF __m128i si128; // [rsp+68h] [rbp-40h] void *v15[2]; // [rsp+78h] [rbp-30h] BYREF __int128 v16; // [rsp+88h] [rbp-20h] v2 = (const char *)(a1 + 1040); if ( *(_QWORD *)(a1 + 1064) > 0xFu ) v2 = *(const char **)v2; v3 = cocos2d::CCString::createWithFormat( "Lift all comment bans (permanent and temporary) for %s?", v2); CString = cocos2d::CCString::getCString(v3); *(_OWORD *)v15 = 0; v16 = 0; v5 = -1; do ++v5; while ( CString[v5] ); sub_14003D230(v15, CString, v5); *(_OWORD *)v13 = 0; si128 = _mm_load_si128((const __m128i *)&Size); LOBYTE(v13[0]) = 0; v6 = a1 + 1024; if ( !a1 ) v6 = 0; *(_OWORD *)Block = 0; v12 = 0; v7 = sub_1400A51F0(v6, 3, (int)"Confirm Unban", (__int64)v15, (__int64)"Unban", (__int64)Block, (__int64)v13); (*(void (__fastcall **)(char *))(*(_QWORD *)v7 + 1064LL))(v7); v8 = Block[0]; if ( Block[0] ) { if ( ((v12 - (unsigned __int64)Block[0]) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 ) { v8 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v8); *(_OWORD *)Block = 0; v12 = 0; } if ( si128.m128i_i64[1] > 0xFuLL ) { v9 = v13[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v9 = *((void **)v13[0] - 1); if ( (unsigned __int64)((char *)v13[0] - (char *)v9 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v9); } if ( *((_QWORD *)&v16 + 1) > 0xFu ) { v10 = v15[0]; if ( (unsigned __int64)(*((_QWORD *)&v16 + 1) + 1LL) >= 0x1000 ) { v10 = *((void **)v15[0] - 1); if ( (unsigned __int64)((char *)v15[0] - (char *)v10 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v10); } }