// // AccountBanPopup::executeAction from 0x1400a95f0 to 0x1400aae7c (6284 bytes) // // 2 xrefs: // > AccountBanPopup::adminActionConfirmed @ 0x1400a95e7 // > @ 0x1409132ec // // 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:09 +0000 // // Hidden C++ exception states: #wind=31 void __fastcall AccountBanPopup::executeAction(__int64 a1, int a2, __int64 a3, __int64 a4) { __int64 v7; // rax size_t v8; // rbx int v9; // eax bool v10; // r12 int v11; // r14d int v12; // eax __int64 v13; // r13 __int64 v14; // r15 int v15; // r13d cocos2d::CCString *v16; // rax const char *v17; // rdx cocos2d::CCString *v18; // rax const char *v19; // rax char v20; // bl void *v21; // rcx __int64 v22; // rax size_t v23; // rbx int v24; // eax bool v25; // r12 int v26; // r14d int v27; // eax __int64 v28; // r13 __int64 v29; // r15 int v30; // r13d cocos2d::CCString *v31; // rax const char *v32; // rdx cocos2d::CCString *v33; // rax const char *v34; // rax char v35; // bl void *v36; // rcx __int64 v37; // rbx __int64 v38; // r14 int v39; // ebx cocos2d::CCString *v40; // rax unsigned int v41; // eax char v42; // bl void *v43; // rcx void *v44; // rcx __int64 v45; // rbx __int64 v46; // r14 int v47; // ebx cocos2d::CCString *v48; // rax unsigned int v49; // eax char v50; // bl void *v51; // rcx void *v52; // rcx __int64 v53; // rax size_t v54; // rbx int v55; // eax bool v56; // r12 int v57; // r14d int v58; // eax __int64 v59; // r13 __int64 v60; // r15 int v61; // r13d cocos2d::CCString *v62; // rax const char *v63; // rdx cocos2d::CCString *v64; // rax const char *v65; // rax char v66; // bl void *v67; // rcx __int64 v68; // rbx __int64 v69; // r14 int v70; // ebx cocos2d::CCString *v71; // rax unsigned int v72; // eax char v73; // bl void *v74; // rcx void *v75; // rcx __int64 v76; // rax size_t v77; // rbx int v78; // eax bool v79; // r12 int v80; // r14d int v81; // eax __int64 v82; // r13 __int64 v83; // r15 int v84; // r13d cocos2d::CCString *v85; // rax const char *v86; // rdx cocos2d::CCString *v87; // rax const char *v88; // rax char v89; // bl void *v90; // rcx __int64 v91; // rbx __int64 v92; // r14 int v93; // ebx cocos2d::CCString *v94; // rax unsigned int v95; // eax char v96; // bl void *v97; // rcx void *v98; // rcx __int64 v99; // rbx __int64 v100; // r14 int v101; // ebx cocos2d::CCString *v102; // rax unsigned int v103; // eax char v104; // bl void *v105; // rcx __int64 v106; // rbx __int64 v107; // r14 int v108; // ebx cocos2d::CCString *v109; // rax unsigned int v110; // eax char v111; // bl void *v112; // rcx void *v113; // rcx __int64 v114; // rbx __int64 v115; // r14 int v116; // ebx cocos2d::CCString *v117; // rax unsigned int v118; // eax char v119; // bl void *v120; // rcx __int64 v121; // rbx __int64 v122; // r14 int v123; // ebx cocos2d::CCString *v124; // rax unsigned int v125; // eax char v126; // bl void *v127; // rcx void *v128; // rcx __int64 v129; // rbx __int64 v130; // r14 int v131; // ebx cocos2d::CCString *v132; // rax unsigned int v133; // eax char v134; // bl void *v135; // rcx void *v136; // rcx __int64 v137; // xmm0_8 __int64 v138; // rbx __int64 v139; // r14 int v140; // ebx cocos2d::CCString *v141; // rax unsigned int v142; // eax char v143; // bl void *v144; // rcx void *v145; // rcx __int64 v146; // rax void *v147; // [rsp+40h] [rbp-39h] unsigned int CString; // [rsp+40h] [rbp-39h] void *v149; // [rsp+40h] [rbp-39h] unsigned int v150; // [rsp+40h] [rbp-39h] void *v151; // [rsp+40h] [rbp-39h] void *v152; // [rsp+40h] [rbp-39h] void *v153; // [rsp+40h] [rbp-39h] unsigned int v154; // [rsp+40h] [rbp-39h] void *v155; // [rsp+40h] [rbp-39h] void *v156; // [rsp+40h] [rbp-39h] unsigned int v157; // [rsp+40h] [rbp-39h] void *v158; // [rsp+40h] [rbp-39h] void *v159; // [rsp+40h] [rbp-39h] void *v160; // [rsp+40h] [rbp-39h] void *v161; // [rsp+40h] [rbp-39h] void *v162; // [rsp+40h] [rbp-39h] void *v163; // [rsp+40h] [rbp-39h] void *v164; // [rsp+40h] [rbp-39h] void *Block[2]; // [rsp+58h] [rbp-21h] BYREF __int64 v168; // [rsp+68h] [rbp-11h] unsigned __int64 v169; // [rsp+70h] [rbp-9h] void *v170[2]; // [rsp+78h] [rbp-1h] BYREF __int64 v171; // [rsp+88h] [rbp+Fh] unsigned __int64 v172; // [rsp+90h] [rbp+17h] switch ( a2 ) { case 1: v7 = *(_QWORD *)(a1 + 1104); v8 = -1; if ( v7 ) { v9 = *(_DWORD *)(v7 + 384); v10 = v9 == 12; if ( v9 == 12 ) { v11 = 0; v12 = -1; goto LABEL_7; } } else { v9 = 0; v10 = 0; } v11 = dword_140702D98[v9]; v12 = 60 * v11; LABEL_7: *(_DWORD *)(a1 + 1096) = v12; v13 = a1 + 1000; v14 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v147 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v147); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v14 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v14 + 1384) = v13; v15 = *(_DWORD *)(a1 + 1032); if ( !v10 && v11 <= 0 ) return; v16 = cocos2d::CCString::createWithFormat("adminBan_%i", v15); CString = (unsigned int)cocos2d::CCString::getCString(v16); v17 = "temp"; if ( v10 ) v17 = "perm"; v18 = cocos2d::CCString::createWithFormat("&mode=%s&durationMinutes=%i", v17, v11); v19 = cocos2d::CCString::getCString(v18); *(_OWORD *)Block = 0; v168 = 0; v169 = 0; do ++v8; while ( v19[v8] ); sub_14003D230(Block, v19, v8); v20 = GameLevelManager::sendAdminAction( v14, CString, (unsigned int)"https://www.boomlings.com/database/adminCommentBan.php", 80, v15, (__int64)Block, a4, a3); if ( v169 <= 0xF ) goto LABEL_19; v21 = Block[0]; if ( v169 + 1 >= 0x1000 ) { v21 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v21 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v21); LABEL_19: if ( !v20 ) return; *(_OWORD *)Block = 0; v168 = 0; v169 = 0; Block[0] = sub_14003D460(0x20u); v168 = 23; v169 = 31; strcpy((char *)Block[0], "Applying comment ban..."); goto LABEL_220; case 2: v22 = *(_QWORD *)(a1 + 1112); v23 = -1; if ( v22 ) { v24 = *(_DWORD *)(v22 + 384); v25 = v24 == 12; if ( v24 == 12 ) { v26 = 0; v27 = -1; goto LABEL_26; } } else { v24 = 0; v25 = 0; } v26 = dword_140702D98[v24]; v27 = 60 * v26; LABEL_26: *(_DWORD *)(a1 + 1096) = v27; v28 = a1 + 1000; v29 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v149 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v149); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v29 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v29 + 1384) = v28; v30 = *(_DWORD *)(a1 + 1032); if ( !v25 && v26 <= 0 ) return; v31 = cocos2d::CCString::createWithFormat("adminUploadBan_%i", v30); v150 = (unsigned int)cocos2d::CCString::getCString(v31); v32 = "temp"; if ( v25 ) v32 = "perm"; v33 = cocos2d::CCString::createWithFormat("&mode=%s&durationMinutes=%i", v32, v26); v34 = cocos2d::CCString::getCString(v33); *(_OWORD *)Block = 0; v168 = 0; v169 = 0; do ++v23; while ( v34[v23] ); sub_14003D230(Block, v34, v23); v35 = GameLevelManager::sendAdminAction( v29, v150, (unsigned int)"https://www.boomlings.com/database/adminUploadBan.php", 82, v30, (__int64)Block, a4, a3); if ( v169 <= 0xF ) goto LABEL_38; v36 = Block[0]; if ( v169 + 1 >= 0x1000 ) { v36 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v36 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v36); LABEL_38: if ( !v35 ) return; *(_OWORD *)Block = 0; v168 = 0; v169 = 0; Block[0] = sub_14003D460(0x20u); v168 = 22; v169 = 31; strcpy((char *)Block[0], "Applying upload ban..."); goto LABEL_220; case 3: v37 = a1 + 1000; if ( !a1 ) v37 = 0; v38 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v151 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v151); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v38 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v38 + 1384) = v37; v39 = *(_DWORD *)(a1 + 1032); v40 = cocos2d::CCString::createWithFormat("adminUnban_%i", v39); v41 = (unsigned int)cocos2d::CCString::getCString(v40); *(_OWORD *)v170 = 0; v171 = 0; v172 = 15; LOBYTE(v170[0]) = 0; *(_OWORD *)Block = 0; v168 = 0; v42 = GameLevelManager::sendAdminAction( v38, v41, (unsigned int)"https://www.boomlings.com/database/adminCommentUnban.php", 81, v39, (__int64)v170, a4, (__int64)Block); v43 = Block[0]; if ( Block[0] ) { if ( ((v168 - (unsigned __int64)Block[0]) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 ) { v43 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v43 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v43); } if ( v172 <= 0xF ) goto LABEL_53; v44 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v44 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v44 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v44); LABEL_53: if ( !v42 ) return; *(_OWORD *)Block = 0; v168 = 0; v169 = 0; Block[0] = sub_14003D460(0x20u); v168 = 23; v169 = 31; strcpy((char *)Block[0], "Removing comment ban..."); goto LABEL_220; case 4: v45 = a1 + 1000; if ( !a1 ) v45 = 0; v46 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v152 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v152); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v46 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v46 + 1384) = v45; v47 = *(_DWORD *)(a1 + 1032); v48 = cocos2d::CCString::createWithFormat("adminUploadUnban_%i", v47); v49 = (unsigned int)cocos2d::CCString::getCString(v48); *(_OWORD *)v170 = 0; v171 = 0; v172 = 15; LOBYTE(v170[0]) = 0; *(_OWORD *)Block = 0; v168 = 0; v50 = GameLevelManager::sendAdminAction( v46, v49, (unsigned int)"https://www.boomlings.com/database/adminUploadUnban.php", 83, v47, (__int64)v170, a4, (__int64)Block); v51 = Block[0]; if ( Block[0] ) { if ( ((v168 - (unsigned __int64)Block[0]) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 ) { v51 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v51 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v51); } if ( v172 <= 0xF ) goto LABEL_68; v52 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v52 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v52 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v52); LABEL_68: if ( !v50 ) return; *(_OWORD *)Block = 0; v168 = 0; v169 = 0; Block[0] = sub_14003D460(0x20u); v168 = 22; v169 = 31; strcpy((char *)Block[0], "Removing upload ban..."); goto LABEL_220; case 5: v53 = *(_QWORD *)(a1 + 1120); v54 = -1; if ( v53 ) { v55 = *(_DWORD *)(v53 + 384); v56 = v55 == 12; if ( v55 == 12 ) { v57 = 0; v58 = -1; goto LABEL_75; } } else { v55 = 0; v56 = 0; } v57 = dword_140702D98[v55]; v58 = 60 * v57; LABEL_75: *(_DWORD *)(a1 + 1096) = v58; v59 = a1 + 1000; v60 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v153 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v153); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v60 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v60 + 1384) = v59; v61 = *(_DWORD *)(a1 + 1032); if ( !v56 && v57 <= 0 ) return; v62 = cocos2d::CCString::createWithFormat("adminMsgBan_%i", v61); v154 = (unsigned int)cocos2d::CCString::getCString(v62); v63 = "temp"; if ( v56 ) v63 = "perm"; v64 = cocos2d::CCString::createWithFormat("&mode=%s&durationMinutes=%i", v63, v57); v65 = cocos2d::CCString::getCString(v64); *(_OWORD *)v170 = 0; v171 = 0; v172 = 0; do ++v54; while ( v65[v54] ); sub_14003D230(v170, v65, v54); v66 = GameLevelManager::sendAdminAction( v60, v154, (unsigned int)"https://www.boomlings.com/database/adminMessageBan.php", 99, v61, (__int64)v170, a4, a3); if ( v172 <= 0xF ) goto LABEL_87; v67 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v67 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v67 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v67); LABEL_87: if ( !v66 ) return; *(_OWORD *)Block = 0; Block[0] = sub_14003D460(0x20u); v168 = 23; v169 = 31; strcpy((char *)Block[0], "Applying message ban..."); goto LABEL_220; case 6: v68 = a1 + 1000; if ( !a1 ) v68 = 0; v69 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v155 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v155); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v69 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v69 + 1384) = v68; v70 = *(_DWORD *)(a1 + 1032); v71 = cocos2d::CCString::createWithFormat("adminMsgUnban_%i", v70); v72 = (unsigned int)cocos2d::CCString::getCString(v71); *(_OWORD *)v170 = 0; v171 = 0; v172 = 15; LOBYTE(v170[0]) = 0; *(_OWORD *)Block = 0; v168 = 0; v73 = GameLevelManager::sendAdminAction( v69, v72, (unsigned int)"https://www.boomlings.com/database/adminMessageUnban.php", 101, v70, (__int64)v170, a4, (__int64)Block); v74 = Block[0]; if ( Block[0] ) { if ( ((v168 - (unsigned __int64)Block[0]) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 ) { v74 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v74 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v74); } if ( v172 <= 0xF ) goto LABEL_102; v75 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v75 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v75 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v75); LABEL_102: if ( !v73 ) return; *(_OWORD *)Block = 0; v168 = 0; v169 = 0; Block[0] = sub_14003D460(0x20u); v168 = 23; v169 = 31; strcpy((char *)Block[0], "Removing message ban..."); goto LABEL_220; case 7: v76 = *(_QWORD *)(a1 + 1128); v77 = -1; if ( v76 ) { v78 = *(_DWORD *)(v76 + 384); v79 = v78 == 12; if ( v78 == 12 ) { v80 = 0; v81 = -1; goto LABEL_109; } } else { v78 = 0; v79 = 0; } v80 = dword_140702D98[v78]; v81 = 60 * v80; LABEL_109: *(_DWORD *)(a1 + 1096) = v81; v82 = a1 + 1000; v83 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v156 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v156); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v83 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v83 + 1384) = v82; v84 = *(_DWORD *)(a1 + 1032); if ( v79 || v80 > 0 ) { v85 = cocos2d::CCString::createWithFormat("adminFreeze_%i", v84); v157 = (unsigned int)cocos2d::CCString::getCString(v85); v86 = "temp"; if ( v79 ) v86 = "perm"; v87 = cocos2d::CCString::createWithFormat("&mode=%s&durationMinutes=%i", v86, v80); v88 = cocos2d::CCString::getCString(v87); *(_OWORD *)v170 = 0; v171 = 0; v172 = 0; do ++v77; while ( v88[v77] ); sub_14003D230(v170, v88, v77); v89 = GameLevelManager::sendAdminAction( v83, v157, (unsigned int)"https://www.boomlings.com/database/adminFreezeAccount.php", 102, v84, (__int64)v170, a4, a3); if ( v172 > 0xF ) { v90 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v90 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v90 - 8) > 0x1F ) LABEL_215: invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v90); } if ( v89 ) { *(_OWORD *)Block = 0; Block[0] = sub_14003D460(0x20u); v168 = 20; v169 = 31; strcpy((char *)Block[0], "Applying all bans..."); LABEL_220: v146 = UploadActionPopup::create(a1 + 1008, Block); *(_QWORD *)(a1 + 1304) = v146; (*(void (__fastcall **)(__int64))(*(_QWORD *)v146 + 1064LL))(v146); } } return; case 8: v91 = a1 + 1000; if ( !a1 ) v91 = 0; v92 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v158 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v158); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v92 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v92 + 1384) = v91; v93 = *(_DWORD *)(a1 + 1032); v94 = cocos2d::CCString::createWithFormat("adminUnfreeze_%i", v93); v95 = (unsigned int)cocos2d::CCString::getCString(v94); *(_OWORD *)v170 = 0; v171 = 0; v172 = 15; LOBYTE(v170[0]) = 0; *(_OWORD *)Block = 0; v168 = 0; v96 = GameLevelManager::sendAdminAction( v92, v95, (unsigned int)"https://www.boomlings.com/database/adminUnfreezeAccount.php", 103, v93, (__int64)v170, a4, (__int64)Block); v97 = Block[0]; if ( Block[0] ) { if ( ((v168 - (unsigned __int64)Block[0]) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 ) { v97 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v97 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v97); } if ( v172 <= 0xF ) goto LABEL_136; v98 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v98 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v98 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v98); LABEL_136: if ( !v96 ) return; *(_OWORD *)Block = 0; v168 = 0; v169 = 0; Block[0] = sub_14003D460(0x20u); v168 = 20; v169 = 31; strcpy((char *)Block[0], "Removing all bans..."); goto LABEL_220; case 9: v99 = a1 + 1000; if ( !a1 ) v99 = 0; v100 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v159 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v159); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v100 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v100 + 1384) = v99; v101 = *(_DWORD *)(a1 + 1032); v102 = cocos2d::CCString::createWithFormat("adminTrendingBan_%i", v101); v103 = (unsigned int)cocos2d::CCString::getCString(v102); *(_OWORD *)v170 = 0; v171 = 0; v172 = 15; LOBYTE(v170[0]) = 0; v104 = GameLevelManager::sendAdminAction( v100, v103, (unsigned int)"https://www.boomlings.com/database/adminTrendingBan.php", 118, v101, (__int64)v170, a4, a3); if ( v172 <= 0xF ) goto LABEL_146; v105 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v105 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v105 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v105); LABEL_146: if ( !v104 ) return; *(_OWORD *)Block = 0; Block[0] = sub_14003D460(0x20u); v168 = 24; v169 = 31; strcpy((char *)Block[0], "Applying trending ban..."); goto LABEL_220; case 10: v106 = a1 + 1000; if ( !a1 ) v106 = 0; v107 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v160 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v160); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v107 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v107 + 1384) = v106; v108 = *(_DWORD *)(a1 + 1032); v109 = cocos2d::CCString::createWithFormat("adminTrendingUnban_%i", v108); v110 = (unsigned int)cocos2d::CCString::getCString(v109); *(_OWORD *)v170 = 0; v171 = 0; v172 = 15; LOBYTE(v170[0]) = 0; *(_OWORD *)Block = 0; v168 = 0; v111 = GameLevelManager::sendAdminAction( v107, v110, (unsigned int)"https://www.boomlings.com/database/adminTrendingUnban.php", 119, v108, (__int64)v170, a4, (__int64)Block); v112 = Block[0]; if ( Block[0] ) { if ( ((v168 - (unsigned __int64)Block[0]) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 ) { v112 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v112 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v112); } if ( v172 <= 0xF ) goto LABEL_161; v113 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v113 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v113 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v113); LABEL_161: if ( !v111 ) return; *(_OWORD *)Block = 0; v168 = 0; v169 = 0; Block[0] = sub_14003D460(0x20u); v168 = 20; v169 = 31; strcpy((char *)Block[0], "Allowing trending..."); goto LABEL_220; case 11: v114 = a1 + 1000; if ( !a1 ) v114 = 0; v115 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v161 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v161); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v115 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v115 + 1384) = v114; v116 = *(_DWORD *)(a1 + 1032); v117 = cocos2d::CCString::createWithFormat("adminNameLock_%i", v116); v118 = (unsigned int)cocos2d::CCString::getCString(v117); *(_OWORD *)v170 = 0; v171 = 0; v172 = 15; LOBYTE(v170[0]) = 0; v119 = GameLevelManager::sendAdminAction( v115, v118, (unsigned int)"https://www.boomlings.com/database/adminNameLock.php", 120, v116, (__int64)v170, a4, a3); if ( v172 <= 0xF ) goto LABEL_171; v120 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v120 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v120 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v120); LABEL_171: if ( !v119 ) return; *(_OWORD *)Block = 0; Block[0] = sub_14003D460(0x20u); v168 = 19; v169 = 31; strcpy((char *)Block[0], "Locking username..."); goto LABEL_220; case 12: v121 = a1 + 1000; if ( !a1 ) v121 = 0; v122 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v162 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v162); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v122 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v122 + 1384) = v121; v123 = *(_DWORD *)(a1 + 1032); v124 = cocos2d::CCString::createWithFormat("adminNameUnlock_%i", v123); v125 = (unsigned int)cocos2d::CCString::getCString(v124); *(_OWORD *)v170 = 0; v171 = 0; v172 = 15; LOBYTE(v170[0]) = 0; *(_OWORD *)Block = 0; v168 = 0; v126 = GameLevelManager::sendAdminAction( v122, v125, (unsigned int)"https://www.boomlings.com/database/adminNameUnlock.php", 121, v123, (__int64)v170, a4, (__int64)Block); v127 = Block[0]; if ( Block[0] ) { if ( ((v168 - (unsigned __int64)Block[0]) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 ) { v127 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v127 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v127); } if ( v172 <= 0xF ) goto LABEL_186; v128 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v128 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v128 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v128); LABEL_186: if ( !v126 ) return; *(_OWORD *)Block = 0; v168 = 0; v169 = 0; Block[0] = sub_14003D460(0x20u); v168 = 21; v169 = 31; strcpy((char *)Block[0], "Unlocking username..."); goto LABEL_220; case 13: v129 = a1 + 1000; if ( !a1 ) v129 = 0; v130 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v163 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v163); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v130 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v130 + 1384) = v129; v131 = *(_DWORD *)(a1 + 1032); v132 = cocos2d::CCString::createWithFormat("adminQueueMute_%i", v131); v133 = (unsigned int)cocos2d::CCString::getCString(v132); *(_OWORD *)v170 = 0; v171 = 0; v172 = 15; LOBYTE(v170[0]) = 0; *(_OWORD *)Block = 0; v168 = 0; v134 = GameLevelManager::sendAdminAction( v130, v133, (unsigned int)"https://www.boomlings.com/database/adminQueueMute.php", 122, v131, (__int64)v170, a4, (__int64)Block); v135 = Block[0]; if ( Block[0] ) { if ( ((v168 - (unsigned __int64)Block[0]) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 ) { v135 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v135 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v135); } if ( v172 <= 0xF ) goto LABEL_201; v136 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v136 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v136 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v136); LABEL_201: if ( !v134 ) return; *(_OWORD *)Block = 0; v168 = 9; v137 = 0x2E2E676E6974754DLL; LOWORD(Block[1]) = 46; goto LABEL_219; case 14: v138 = a1 + 1000; if ( !a1 ) v138 = 0; v139 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v164 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v164); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v139 = *(_QWORD *)&qword_14090BFB0; } *(_QWORD *)(v139 + 1384) = v138; v140 = *(_DWORD *)(a1 + 1032); v141 = cocos2d::CCString::createWithFormat("adminQueueUnmute_%i", v140); v142 = (unsigned int)cocos2d::CCString::getCString(v141); *(_OWORD *)v170 = 0; v171 = 0; v172 = 15; LOBYTE(v170[0]) = 0; *(_OWORD *)Block = 0; v168 = 0; v143 = GameLevelManager::sendAdminAction( v139, v142, (unsigned int)"https://www.boomlings.com/database/adminQueueUnmute.php", 123, v140, (__int64)v170, a4, (__int64)Block); v144 = Block[0]; if ( Block[0] ) { if ( ((v168 - (unsigned __int64)Block[0]) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 ) { v144 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v144 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v144); } if ( v172 <= 0xF ) goto LABEL_217; v145 = v170[0]; if ( v172 + 1 >= 0x1000 ) { v145 = *((void **)v170[0] - 1); if ( (unsigned __int64)((char *)v170[0] - (char *)v145 - 8) > 0x1F ) goto LABEL_215; } j_j_free(v145); LABEL_217: if ( !v143 ) return; v168 = 11; v137 = 0x676E6974756D6E55LL; Block[1] = (void *)3026478; LABEL_219: Block[0] = (void *)v137; v169 = 15; goto LABEL_220; default: return; } }