// // AccountBanPopup::refreshBanRows from 0x1400a79e0 to 0x1400a7cab (715 bytes) // // 16 xrefs: // > AccountBanPopup::pageChanged @ 0x1400a79d5 // > AccountBanPopup::adminCommentBanFinished @ 0x1400aaf7d // > AccountBanPopup::adminCommentUnbanFinished @ 0x1400ab06e // > AccountBanPopup::adminUploadBanFinished @ 0x1400ab169 // > AccountBanPopup::adminUploadUnbanFinished @ 0x1400ab25a // > AccountBanPopup::adminMessageBanFinished @ 0x1400ab33d // > AccountBanPopup::adminMessageUnbanFinished @ 0x1400ab41e // > AccountBanPopup::adminFreezeFinished @ 0x1400ab514 // > AccountBanPopup::adminUnfreezeFinished @ 0x1400ab606 // > AccountBanPopup::adminTrendingBanFinished @ 0x1400ab6f8 // > AccountBanPopup::adminTrendingUnbanFinished @ 0x1400ab7df // > AccountBanPopup::adminNameLockFinished @ 0x1400ab8b5 // > AccountBanPopup::adminNameUnlockFinished @ 0x1400ab9a0 // > AccountBanPopup::adminQueueMuteFinished @ 0x1400aba9c // > AccountBanPopup::adminQueueUnmuteFinished @ 0x1400abb65 // > @ 0x140913250 // // 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=1 __int64 __fastcall AccountBanPopup::refreshBanRows(__int64 a1) { int v2; // r15d int v3; // ebp unsigned int *v4; // rbx _QWORD *v5; // rsi __int64 v6; // r14 char *v7; // rax char *v8; // rdx __int64 v9; // rdx cocos2d::CCString *v10; // rax char *CString; // rdx __int64 v12; // rdx __int64 v13; // rax int v14; // edx __int64 v15; // rcx void (__fastcall ***v16)(_QWORD, __int16 *); // rbx void (__fastcall *v17)(__int64, const char *); // r8 __int64 v18; // rdx __int64 v19; // rax __int64 v20; // rcx void (__fastcall ***v21)(_QWORD, __int16 *); // rbx void (__fastcall *v22)(__int64, const char *); // r8 __int64 v23; // rdx __int16 v25; // [rsp+20h] [rbp-48h] BYREF char v26; // [rsp+22h] [rbp-46h] char v27[32]; // [rsp+28h] [rbp-40h] BYREF v2 = *(_DWORD *)(a1 + 904); v3 = 0; v4 = (unsigned int *)(a1 + 1072); v5 = (_QWORD *)(a1 + 1248); v6 = 3; do { v7 = AccountBanPopup::banStateText(v27, *v4); v8 = v7; if ( *((_QWORD *)v7 + 3) > 0xFu ) v8 = *(char **)v7; (**(void (__fastcall ***)(__int64, char *))(*(v5 - 14) + 360LL))(*(v5 - 14) + 360LL, v8); sub_14003D310((__int64)v27); if ( v2 || !*v4 ) v9 = 0; else LOBYTE(v9) = 1; (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*v5 + 336LL))(*v5, v9); if ( *v4 ) ++v3; ++v5; ++v4; --v6; } while ( v6 ); if ( v3 <= 0 ) { CString = &byte_1406ED6E0; } else { v10 = cocos2d::CCString::createWithFormat("%i active", v3); CString = (char *)cocos2d::CCString::getCString(v10); } (**(void (__fastcall ***)(__int64, char *))(*(_QWORD *)(a1 + 1160) + 360LL))(*(_QWORD *)(a1 + 1160) + 360LL, CString); if ( v2 || v3 <= 0 ) v12 = 0; else LOBYTE(v12) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1272) + 336LL))(*(_QWORD *)(a1 + 1272), v12); v13 = *(_QWORD *)(a1 + 1168); v14 = *(_DWORD *)(a1 + 1084); v15 = v13 + 360; v16 = (void (__fastcall ***)(_QWORD, __int16 *))(v13 + 368); v17 = **(void (__fastcall ***)(__int64, const char *))(v13 + 360); if ( v14 == 2 ) { v17(v15, "banned"); v25 = 30975; v26 = 120; } else if ( v14 == 1 ) { v17(v15, "whitelisted"); v25 = -136; v26 = 120; } else { v17(v15, "not whitelisted"); v25 = -14136; v26 = -56; } (**v16)(v16, &v25); if ( v2 != 1 || *(_DWORD *)(a1 + 1084) == 2 ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1224) + 336LL))(*(_QWORD *)(a1 + 1224), 0); if ( v2 != 1 ) goto LABEL_29; } else { (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1224) + 336LL))(*(_QWORD *)(a1 + 1224), 1); } if ( *(_DWORD *)(a1 + 1084) != 1 ) { LOBYTE(v18) = 1; goto LABEL_30; } LABEL_29: v18 = 0; LABEL_30: (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1280) + 336LL))(*(_QWORD *)(a1 + 1280), v18); v19 = *(_QWORD *)(a1 + 1184); v20 = v19 + 360; v21 = (void (__fastcall ***)(_QWORD, __int16 *))(v19 + 368); v22 = **(void (__fastcall ***)(__int64, const char *))(v19 + 360); if ( *(int *)(a1 + 1092) <= 0 ) { v22(v20, "not muted"); v25 = -14136; v26 = -56; } else { v22(v20, "muted"); v25 = 30975; v26 = 120; } (**v21)(v21, &v25); if ( v2 == 1 && *(int *)(a1 + 1092) <= 0 ) { (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1240) + 336LL))(*(_QWORD *)(a1 + 1240), 1); } else { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1240) + 336LL))(*(_QWORD *)(a1 + 1240), 0); if ( v2 != 1 ) { LABEL_39: v23 = 0; return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1296) + 336LL))( *(_QWORD *)(a1 + 1296), v23); } } if ( *(int *)(a1 + 1092) <= 0 ) goto LABEL_39; LOBYTE(v23) = 1; return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1296) + 336LL))(*(_QWORD *)(a1 + 1296), v23); }