{"type": "func", "start": 5371102912, "end": 5371103294, "name": "GameLevelManager::onAdminMessageBanCompleted", "pseudocode": "// \n// GameLevelManager::onAdminMessageBanCompleted from 0x1402486c0 to 0x14024883e (382 bytes)\n// \n// 2 xrefs:\n// > GameLevelManager::handleIt @ 0x14021aeec\n// > <???> @ 0x14091c31c\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:28:39 +0000\n// \n\nvoid __fastcall GameLevelManager::onAdminMessageBanCompleted(__int64 a1, const void **a2, _QWORD *a3)\n{\n  _BYTE *v6; // rdx\n  size_t v7; // r8\n  void *v8; // rcx\n  const void *v9; // rcx\n  unsigned __int64 v10; // rbp\n  size_t v11; // r8\n  __int64 v12; // rcx\n  __int64 v13; // rcx\n  void *Block[2]; // [rsp+40h] [rbp-48h] BYREF\n  __int128 v15; // [rsp+50h] [rbp-38h]\n\n  v6 = a3;\n  if ( a3[3] > 0xFu )\n    v6 = (_BYTE *)*a3;\n  *(_OWORD *)Block = 0;\n  v15 = 0;\n  v7 = -1;\n  do\n    ++v7;\n  while ( v6[v7] );\n  sub_14003D230(Block, v6, v7);\n  cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1200), Block);\n  if ( *((_QWORD *)&v15 + 1) > 0xFu )\n  {\n    v8 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v15 + 1) + 1LL) >= 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  }\n  *(_OWORD *)Block = 0;\n  *(_QWORD *)&v15 = 2;\n  *((_QWORD *)&v15 + 1) = 15;\n  strcpy((char *)Block, \"-1\");\n  v9 = a2;\n  if ( (unsigned __int64)a2[3] > 0xF )\n    v9 = *a2;\n  v10 = (unsigned __int64)a2[2];\n  v11 = v10;\n  if ( v10 > 2 )\n    v11 = 2;\n  if ( !memcmp(v9, Block, v11) && v10 == 2 )\n  {\n    v13 = *(_QWORD *)(a1 + 1384);\n    if ( v13 )\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v13 + 88LL))(v13);\n  }\n  else\n  {\n    v12 = *(_QWORD *)(a1 + 1384);\n    if ( v12 )\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v12 + 80LL))(v12);\n  }\n  sub_14003D310((__int64)a2);\n  sub_14003D310((__int64)a3);\n}", "assembly": "; \n; GameLevelManager::onAdminMessageBanCompleted from 0x1402486c0 to 0x14024883e (382 bytes)\n; \n; 2 xrefs:\n; > GameLevelManager::handleIt @ 0x14021aeec\n; > <???> @ 0x14091c31c\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:28:39 +0000\n; \nmov     [rsp+arg_18], rbx                                              ; +0x0, 0x1402486c0\npush    rbp                                                            ; +0x5, 0x1402486c5\npush    rsi                                                            ; +0x6, 0x1402486c6\npush    rdi                                                            ; +0x7, 0x1402486c7\nsub     rsp, 70h                                                       ; +0x8, 0x1402486c8\nmov     rax, cs:__security_cookie                                      ; +0xc, 0x1402486cc\nxor     rax, rsp                                                       ; +0x13, 0x1402486d3\nmov     [rsp+88h+var_28], rax                                          ; +0x16, 0x1402486d6\nmov     rsi, r8                                                        ; +0x1b, 0x1402486db\nmov     rbx, rdx                                                       ; +0x1e, 0x1402486de\nmov     rdi, rcx                                                       ; +0x21, 0x1402486e1\nmov     [rsp+88h+var_58], rdx                                          ; +0x24, 0x1402486e4\nmov     [rsp+88h+var_50], r8                                           ; +0x29, 0x1402486e9\nmov     rdx, r8                                                        ; +0x2e, 0x1402486ee\ncmp     qword ptr [r8+18h], 0Fh                                        ; +0x31, 0x1402486f1\njbe     short loc_1402486FB                                            ; +0x36, 0x1402486f6\nmov     rdx, [r8]                                                      ; +0x38, 0x1402486f8\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x1402486fb\nmovups  xmmword ptr [rsp+88h+Block], xmm0                              ; +0x3e, 0x1402486fe\nxorps   xmm1, xmm1                                                     ; +0x43, 0x140248703\nmovdqu  [rsp+88h+var_38], xmm1                                         ; +0x46, 0x140248706\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x4c, 0x14024870c\ninc     r8                                                             ; +0x53, 0x140248713\ncmp     byte ptr [rdx+r8], 0                                           ; +0x56, 0x140248716\njnz     short loc_140248713                                            ; +0x5b, 0x14024871b\nlea     rcx, [rsp+88h+Block]                                           ; +0x5d, 0x14024871d\ncall    sub_14003D230                                                  ; +0x62, 0x140248722\nnop                                                                    ; +0x67, 0x140248727\nlea     rdx, [rsp+88h+Block]                                           ; +0x68, 0x140248728\nmov     rcx, [rdi+4B0h]                                                ; +0x6d, 0x14024872d\ncall    cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::removeObjectForKey(std::string const &) ; +0x74, 0x140248734\nnop                                                                    ; +0x7a, 0x14024873a\nmov     rdx, qword ptr [rsp+88h+var_38+8]                              ; +0x7b, 0x14024873b\ncmp     rdx, 0Fh                                                       ; +0x80, 0x140248740\njbe     short loc_14024878E                                            ; +0x84, 0x140248744\ninc     rdx                                                            ; +0x86, 0x140248746\nmov     rcx, [rsp+88h+Block]; Block                                    ; +0x89, 0x140248749\nmov     rax, rcx                                                       ; +0x8e, 0x14024874e\ncmp     rdx, 1000h                                                     ; +0x91, 0x140248751\njb      short loc_140248789                                            ; +0x98, 0x140248758\nadd     rdx, 27h ; '''                                                 ; +0x9a, 0x14024875a\nmov     rcx, [rcx-8]                                                   ; +0x9e, 0x14024875e\nsub     rax, rcx                                                       ; +0xa2, 0x140248762\nsub     rax, 8                                                         ; +0xa5, 0x140248765\ncmp     rax, 1Fh                                                       ; +0xa9, 0x140248769\njbe     short loc_140248789                                            ; +0xad, 0x14024876d\nmov     [rsp+88h+Reserved], 0; Reserved                                ; +0xaf, 0x14024876f\nxor     r9d, r9d; LineNo                                               ; +0xb8, 0x140248778\nxor     r8d, r8d; FileName                                             ; +0xbb, 0x14024877b\nxor     edx, edx; FunctionName                                         ; +0xbe, 0x14024877e\nxor     ecx, ecx; Expression                                           ; +0xc0, 0x140248780\ncall    cs:_invoke_watson                                              ; +0xc2, 0x140248782\ndb 0CCh                                                                ; +0xc8, 0x140248788\ncall    j_j_free                                                       ; +0xc9, 0x140248789\nxorps   xmm0, xmm0                                                     ; +0xce, 0x14024878e\nmovups  xmmword ptr [rsp+88h+Block], xmm0                              ; +0xd1, 0x140248791\nmov     edx, 2                                                         ; +0xd6, 0x140248796\nmov     qword ptr [rsp+88h+var_38], rdx                                ; +0xdb, 0x14024879b\nmov     qword ptr [rsp+88h+var_38+8], 0Fh                              ; +0xe0, 0x1402487a0\nmov     eax, 312Dh                                                     ; +0xe9, 0x1402487a9\nmov     word ptr [rsp+88h+Block], ax                                   ; +0xee, 0x1402487ae\nmov     byte ptr [rsp+88h+Block+2], 0                                  ; +0xf3, 0x1402487b3\nmov     rcx, rbx                                                       ; +0xf8, 0x1402487b8\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0xfb, 0x1402487bb\njbe     short loc_1402487C5                                            ; +0x100, 0x1402487c0\nmov     rcx, [rbx]; Buf1                                               ; +0x102, 0x1402487c2\nmov     rbp, [rbx+10h]                                                 ; +0x105, 0x1402487c5\nmov     r8, rbp                                                        ; +0x109, 0x1402487c9\ncmp     rbp, rdx                                                       ; +0x10c, 0x1402487cc\ncmova   r8, rdx; Size                                                  ; +0x10f, 0x1402487cf\nlea     rdx, [rsp+88h+Block]; Buf2                                     ; +0x113, 0x1402487d3\ncall    memcmp                                                         ; +0x118, 0x1402487d8\ntest    eax, eax                                                       ; +0x11d, 0x1402487dd\njnz     short loc_1402487E9                                            ; +0x11f, 0x1402487df\ncmp     rbp, 2                                                         ; +0x121, 0x1402487e1\njb      short loc_1402487E9                                            ; +0x125, 0x1402487e5\njbe     short loc_1402487FD                                            ; +0x127, 0x1402487e7\nmov     rcx, [rdi+568h]                                                ; +0x129, 0x1402487e9\ntest    rcx, rcx                                                       ; +0x130, 0x1402487f0\njz      short loc_140248810                                            ; +0x133, 0x1402487f3\nmov     rax, [rcx]                                                     ; +0x135, 0x1402487f5\ncall    qword ptr [rax+50h]                                            ; +0x138, 0x1402487f8\njmp     short loc_140248810                                            ; +0x13b, 0x1402487fb\nmov     rcx, [rdi+568h]                                                ; +0x13d, 0x1402487fd\ntest    rcx, rcx                                                       ; +0x144, 0x140248804\njz      short loc_140248810                                            ; +0x147, 0x140248807\nmov     rax, [rcx]                                                     ; +0x149, 0x140248809\ncall    qword ptr [rax+58h]                                            ; +0x14c, 0x14024880c\nnop                                                                    ; +0x14f, 0x14024880f\nmov     rcx, rbx                                                       ; +0x150, 0x140248810\ncall    sub_14003D310                                                  ; +0x153, 0x140248813\nnop                                                                    ; +0x158, 0x140248818\nmov     rcx, rsi                                                       ; +0x159, 0x140248819\ncall    sub_14003D310                                                  ; +0x15c, 0x14024881c\nmov     rcx, [rsp+88h+var_28]                                          ; +0x161, 0x140248821\nxor     rcx, rsp; StackCookie                                          ; +0x166, 0x140248826\ncall    __security_check_cookie                                        ; +0x169, 0x140248829\nmov     rbx, [rsp+88h+arg_18]                                          ; +0x16e, 0x14024882e\nadd     rsp, 70h                                                       ; +0x176, 0x140248836\npop     rdi                                                            ; +0x17a, 0x14024883a\npop     rsi                                                            ; +0x17b, 0x14024883b\npop     rbp                                                            ; +0x17c, 0x14024883c\nretn                                                                   ; +0x17d, 0x14024883d", "xrefs": ["GameLevelManager::handleIt @ 0x14021aeec", "<???> @ 0x14091c31c"], "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"}