{"type": "func", "start": 5369402304, "end": 5369402843, "name": "AccountBanPopup::onQueueUnmute", "pseudocode": "// \n// AccountBanPopup::onQueueUnmute from 0x1400a93c0 to 0x1400a95db (539 bytes)\n// \n// 2 xrefs:\n// > AccountBanPopup::init @ 0x1400a724e\n// > <???> @ 0x1409132e0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:26:09 +0000\n// \n\nvoid __fastcall AccountBanPopup::onQueueUnmute(__int64 a1)\n{\n  const char *v2; // rdx\n  cocos2d::CCString *v3; // rax\n  const char *CString; // rax\n  size_t v5; // r8\n  int v6; // ecx\n  char *v7; // rax\n  void *v8; // rcx\n  void *v9; // rcx\n  void *v10; // rcx\n  void *Block[2]; // [rsp+40h] [rbp-68h] BYREF\n  __int64 v12; // [rsp+50h] [rbp-58h]\n  void *v13[2]; // [rsp+58h] [rbp-50h] BYREF\n  __m128i si128; // [rsp+68h] [rbp-40h]\n  void *v15[2]; // [rsp+78h] [rbp-30h] BYREF\n  __int128 v16; // [rsp+88h] [rbp-20h]\n\n  v2 = (const char *)(a1 + 1040);\n  if ( *(_QWORD *)(a1 + 1064) > 0xFu )\n    v2 = *(const char **)v2;\n  v3 = cocos2d::CCString::createWithFormat(\"Unmute <cg>%s</c>?\\nThey show up in the moderation queue again.\", v2);\n  CString = cocos2d::CCString::getCString(v3);\n  *(_OWORD *)v15 = 0;\n  v16 = 0;\n  v5 = -1;\n  do\n    ++v5;\n  while ( CString[v5] );\n  sub_14003D230(v15, CString, v5);\n  *(_OWORD *)v13 = 0;\n  si128 = _mm_load_si128((const __m128i *)&Size);\n  LOBYTE(v13[0]) = 0;\n  v6 = a1 + 1024;\n  if ( !a1 )\n    v6 = 0;\n  *(_OWORD *)Block = 0;\n  v12 = 0;\n  v7 = sub_1400A51F0(v6, 14, (int)\"Confirm Unmute\", (__int64)v15, (__int64)\"Unmute\", (__int64)Block, (__int64)v13);\n  (*(void (__fastcall **)(char *))(*(_QWORD *)v7 + 1064LL))(v7);\n  v8 = Block[0];\n  if ( Block[0] )\n  {\n    if ( ((v12 - (unsigned __int64)Block[0]) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 )\n    {\n      v8 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v8);\n    *(_OWORD *)Block = 0;\n    v12 = 0;\n  }\n  if ( si128.m128i_i64[1] > 0xFuLL )\n  {\n    v9 = v13[0];\n    if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n    {\n      v9 = *((void **)v13[0] - 1);\n      if ( (unsigned __int64)((char *)v13[0] - (char *)v9 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v9);\n  }\n  if ( *((_QWORD *)&v16 + 1) > 0xFu )\n  {\n    v10 = v15[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v16 + 1) + 1LL) >= 0x1000 )\n    {\n      v10 = *((void **)v15[0] - 1);\n      if ( (unsigned __int64)((char *)v15[0] - (char *)v10 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v10);\n  }\n}", "assembly": "; \n; AccountBanPopup::onQueueUnmute from 0x1400a93c0 to 0x1400a95db (539 bytes)\n; \n; 2 xrefs:\n; > AccountBanPopup::init @ 0x1400a724e\n; > <???> @ 0x1409132e0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:26:09 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1400a93c0\npush    rdi                                                            ; +0x5, 0x1400a93c5\nsub     rsp, 0A0h                                                      ; +0x6, 0x1400a93c6\nmov     rax, cs:__security_cookie                                      ; +0xd, 0x1400a93cd\nxor     rax, rsp                                                       ; +0x14, 0x1400a93d4\nmov     [rsp+0A8h+var_10], rax                                         ; +0x17, 0x1400a93d7\nmov     rbx, rcx                                                       ; +0x1f, 0x1400a93df\nlea     rdx, [rcx+410h]                                                ; +0x22, 0x1400a93e2\ncmp     qword ptr [rdx+18h], 0Fh                                       ; +0x29, 0x1400a93e9\njbe     short loc_1400A93F3                                            ; +0x2e, 0x1400a93ee\nmov     rdx, [rdx]                                                     ; +0x30, 0x1400a93f0\nlea     rcx, aUnmuteCgSCThey; \"Unmute <cg>%s</c>?\\nThey show up in the\"... ; +0x33, 0x1400a93f3\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x3a, 0x1400a93fa\nmov     rcx, rax                                                       ; +0x40, 0x1400a9400\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x43, 0x1400a9403\nxorps   xmm0, xmm0                                                     ; +0x49, 0x1400a9409\nmovups  xmmword ptr [rsp+0A8h+var_30], xmm0                            ; +0x4c, 0x1400a940c\nxorps   xmm1, xmm1                                                     ; +0x51, 0x1400a9411\nmovdqu  [rsp+0A8h+var_20], xmm1                                        ; +0x54, 0x1400a9414\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x5d, 0x1400a941d\ninc     r8                                                             ; +0x64, 0x1400a9424\ncmp     byte ptr [rax+r8], 0                                           ; +0x67, 0x1400a9427\njnz     short loc_1400A9424                                            ; +0x6c, 0x1400a942c\nmov     rdx, rax                                                       ; +0x6e, 0x1400a942e\nlea     rcx, [rsp+0A8h+var_30]                                         ; +0x71, 0x1400a9431\ncall    sub_14003D230                                                  ; +0x76, 0x1400a9436\nnop                                                                    ; +0x7b, 0x1400a943b\nxorps   xmm0, xmm0                                                     ; +0x7c, 0x1400a943c\nmovups  xmmword ptr [rsp+0A8h+var_50], xmm0                            ; +0x7f, 0x1400a943f\nmovdqa  xmm1, cs:Size                                                  ; +0x84, 0x1400a9444\nmovdqu  [rsp+0A8h+var_40], xmm1                                        ; +0x8c, 0x1400a944c\nmov     byte ptr [rsp+0A8h+var_50], 0                                  ; +0x92, 0x1400a9452\nlea     rcx, [rbx+400h]                                                ; +0x97, 0x1400a9457\nxor     edi, edi                                                       ; +0x9e, 0x1400a945e\ntest    rbx, rbx                                                       ; +0xa0, 0x1400a9460\ncmovz   rcx, rdi                                                       ; +0xa3, 0x1400a9463\nmovdqu  xmmword ptr [rsp+0A8h+Block], xmm0                             ; +0xa7, 0x1400a9467\nmov     [rsp+0A8h+var_58], rdi                                         ; +0xad, 0x1400a946d\nlea     rax, [rsp+0A8h+var_50]                                         ; +0xb2, 0x1400a9472\nmov     [rsp+0A8h+var_78], rax                                         ; +0xb7, 0x1400a9477\nlea     rax, [rsp+0A8h+Block]                                          ; +0xbc, 0x1400a947c\nmov     [rsp+0A8h+var_80], rax                                         ; +0xc1, 0x1400a9481\nlea     rax, aUnmute; \"Unmute\"                                         ; +0xc6, 0x1400a9486\nmov     [rsp+0A8h+Reserved], rax                                       ; +0xcd, 0x1400a948d\nlea     r9, [rsp+0A8h+var_30]                                          ; +0xd2, 0x1400a9492\nlea     r8, aConfirmUnmute; \"Confirm Unmute\"                           ; +0xd7, 0x1400a9497\nmov     edx, 0Eh                                                       ; +0xde, 0x1400a949e\ncall    sub_1400A51F0                                                  ; +0xe3, 0x1400a94a3\nmov     rcx, [rax]                                                     ; +0xe8, 0x1400a94a8\nmov     rdx, [rcx+428h]                                                ; +0xeb, 0x1400a94ab\nmov     rcx, rax                                                       ; +0xf2, 0x1400a94b2\ncall    rdx                                                            ; +0xf5, 0x1400a94b5\nnop                                                                    ; +0xf7, 0x1400a94b7\nmov     rcx, [rsp+0A8h+Block]; Block                                   ; +0xf8, 0x1400a94b8\ntest    rcx, rcx                                                       ; +0xfd, 0x1400a94bd\njz      short loc_1400A9518                                            ; +0x100, 0x1400a94c0\nmov     rdx, [rsp+0A8h+var_58]                                         ; +0x102, 0x1400a94c2\nsub     rdx, rcx                                                       ; +0x107, 0x1400a94c7\nand     rdx, 0FFFFFFFFFFFFFFFCh                                        ; +0x10a, 0x1400a94ca\nmov     rax, rcx                                                       ; +0x10e, 0x1400a94ce\ncmp     rdx, 1000h                                                     ; +0x111, 0x1400a94d1\njb      short loc_1400A9505                                            ; +0x118, 0x1400a94d8\nadd     rdx, 27h ; '''                                                 ; +0x11a, 0x1400a94da\nmov     rcx, [rcx-8]                                                   ; +0x11e, 0x1400a94de\nsub     rax, rcx                                                       ; +0x122, 0x1400a94e2\nsub     rax, 8                                                         ; +0x125, 0x1400a94e5\ncmp     rax, 1Fh                                                       ; +0x129, 0x1400a94e9\njbe     short loc_1400A9505                                            ; +0x12d, 0x1400a94ed\nmov     [rsp+0A8h+Reserved], rdi; Reserved                             ; +0x12f, 0x1400a94ef\nxor     r9d, r9d; LineNo                                               ; +0x134, 0x1400a94f4\nxor     r8d, r8d; FileName                                             ; +0x137, 0x1400a94f7\nxor     edx, edx; FunctionName                                         ; +0x13a, 0x1400a94fa\nxor     ecx, ecx; Expression                                           ; +0x13c, 0x1400a94fc\ncall    cs:_invoke_watson                                              ; +0x13e, 0x1400a94fe\ndb 0CCh                                                                ; +0x144, 0x1400a9504\ncall    j_j_free                                                       ; +0x145, 0x1400a9505\nxorps   xmm0, xmm0                                                     ; +0x14a, 0x1400a950a\nmovdqu  xmmword ptr [rsp+0A8h+Block], xmm0                             ; +0x14d, 0x1400a950d\nmov     [rsp+0A8h+var_58], rdi                                         ; +0x153, 0x1400a9513\nmov     rdx, qword ptr [rsp+0A8h+var_40+8]                             ; +0x158, 0x1400a9518\ncmp     rdx, 0Fh                                                       ; +0x15d, 0x1400a951d\njbe     short loc_1400A9568                                            ; +0x161, 0x1400a9521\ninc     rdx                                                            ; +0x163, 0x1400a9523\nmov     rcx, [rsp+0A8h+var_50]; Block                                  ; +0x166, 0x1400a9526\nmov     rax, rcx                                                       ; +0x16b, 0x1400a952b\ncmp     rdx, 1000h                                                     ; +0x16e, 0x1400a952e\njb      short loc_1400A9562                                            ; +0x175, 0x1400a9535\nadd     rdx, 27h ; '''                                                 ; +0x177, 0x1400a9537\nmov     rcx, [rcx-8]                                                   ; +0x17b, 0x1400a953b\nsub     rax, rcx                                                       ; +0x17f, 0x1400a953f\nsub     rax, 8                                                         ; +0x182, 0x1400a9542\ncmp     rax, 1Fh                                                       ; +0x186, 0x1400a9546\njbe     short loc_1400A9562                                            ; +0x18a, 0x1400a954a\nmov     [rsp+0A8h+Reserved], rdi; Reserved                             ; +0x18c, 0x1400a954c\nxor     r9d, r9d; LineNo                                               ; +0x191, 0x1400a9551\nxor     r8d, r8d; FileName                                             ; +0x194, 0x1400a9554\nxor     edx, edx; FunctionName                                         ; +0x197, 0x1400a9557\nxor     ecx, ecx; Expression                                           ; +0x199, 0x1400a9559\ncall    cs:_invoke_watson                                              ; +0x19b, 0x1400a955b\nalign 2                                                                ; +0x1a1, 0x1400a9561\ncall    j_j_free                                                       ; +0x1a2, 0x1400a9562\nnop                                                                    ; +0x1a7, 0x1400a9567\nmov     rdx, qword ptr [rsp+0A8h+var_20+8]                             ; +0x1a8, 0x1400a9568\ncmp     rdx, 0Fh                                                       ; +0x1b0, 0x1400a9570\njbe     short loc_1400A95BA                                            ; +0x1b4, 0x1400a9574\ninc     rdx                                                            ; +0x1b6, 0x1400a9576\nmov     rcx, [rsp+0A8h+var_30]; Block                                  ; +0x1b9, 0x1400a9579\nmov     rax, rcx                                                       ; +0x1be, 0x1400a957e\ncmp     rdx, 1000h                                                     ; +0x1c1, 0x1400a9581\njb      short loc_1400A95B5                                            ; +0x1c8, 0x1400a9588\nadd     rdx, 27h ; '''                                                 ; +0x1ca, 0x1400a958a\nmov     rcx, [rcx-8]                                                   ; +0x1ce, 0x1400a958e\nsub     rax, rcx                                                       ; +0x1d2, 0x1400a9592\nsub     rax, 8                                                         ; +0x1d5, 0x1400a9595\ncmp     rax, 1Fh                                                       ; +0x1d9, 0x1400a9599\njbe     short loc_1400A95B5                                            ; +0x1dd, 0x1400a959d\nmov     [rsp+0A8h+Reserved], rdi; Reserved                             ; +0x1df, 0x1400a959f\nxor     r9d, r9d; LineNo                                               ; +0x1e4, 0x1400a95a4\nxor     r8d, r8d; FileName                                             ; +0x1e7, 0x1400a95a7\nxor     edx, edx; FunctionName                                         ; +0x1ea, 0x1400a95aa\nxor     ecx, ecx; Expression                                           ; +0x1ec, 0x1400a95ac\ncall    cs:_invoke_watson                                              ; +0x1ee, 0x1400a95ae\ndb 0CCh                                                                ; +0x1f4, 0x1400a95b4\ncall    j_j_free                                                       ; +0x1f5, 0x1400a95b5\nmov     rcx, [rsp+0A8h+var_10]                                         ; +0x1fa, 0x1400a95ba\nxor     rcx, rsp; StackCookie                                          ; +0x202, 0x1400a95c2\ncall    __security_check_cookie                                        ; +0x205, 0x1400a95c5\nmov     rbx, [rsp+0A8h+arg_8]                                          ; +0x20a, 0x1400a95ca\nadd     rsp, 0A0h                                                      ; +0x212, 0x1400a95d2\npop     rdi                                                            ; +0x219, 0x1400a95d9\nretn                                                                   ; +0x21a, 0x1400a95da", "xrefs": ["AccountBanPopup::init @ 0x1400a724e", "<???> @ 0x1409132e0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}