{"type": "func", "start": 5371086544, "end": 5371086971, "name": "GameLevelManager::onAdminClearReportedContentCompleted", "pseudocode": "// \n// GameLevelManager::onAdminClearReportedContentCompleted from 0x1402446d0 to 0x14024487b (427 bytes)\n// \n// 2 xrefs:\n// > GameLevelManager::handleIt @ 0x14021aeb1\n// > <???> @ 0x14091c28c\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:37 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nvoid __fastcall GameLevelManager::onAdminClearReportedContentCompleted(__int64 a1, const void **a2, __int64 a3)\n{\n  _BYTE *v6; // rdx\n  size_t v7; // r8\n  __int64 v8; // r8\n  __int64 v9; // rdx\n  void *v10; // rcx\n  unsigned int v11; // r15d\n  const void *v12; // rcx\n  unsigned __int64 v13; // rbp\n  size_t v14; // r8\n  _QWORD *v15; // rbx\n  _QWORD *v16; // rbp\n  const char *v17; // rcx\n  __int64 v18; // rbx\n  unsigned int v19; // eax\n  __int64 v20; // rcx\n  void *Block[2]; // [rsp+40h] [rbp-58h] BYREF\n  __int128 v22; // [rsp+50h] [rbp-48h]\n\n  v6 = (_BYTE *)a3;\n  if ( *(_QWORD *)(a3 + 24) > 0xFu )\n    v6 = *(_BYTE **)a3;\n  *(_OWORD *)Block = 0;\n  v22 = 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  v9 = *((_QWORD *)&v22 + 1);\n  if ( *((_QWORD *)&v22 + 1) > 0xFu )\n  {\n    v10 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v22 + 1) + 1LL) >= 0x1000 )\n    {\n      v10 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v10);\n  }\n  v11 = sub_140241F40((const char *)a3, v9, v8);\n  *(_OWORD *)Block = 0;\n  *(_QWORD *)&v22 = 2;\n  *((_QWORD *)&v22 + 1) = 15;\n  strcpy((char *)Block, \"-1\");\n  v12 = a2;\n  if ( (unsigned __int64)a2[3] > 0xF )\n    v12 = *a2;\n  v13 = (unsigned __int64)a2[2];\n  v14 = v13;\n  if ( v13 > 2 )\n    v14 = 2;\n  if ( !memcmp(v12, Block, v14) && v13 == 2 )\n  {\n    v20 = *(_QWORD *)(a1 + 1384);\n    if ( v20 )\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v20 + 280LL))(v20, v11);\n  }\n  else\n  {\n    v15 = *(_QWORD **)(a1 + 1384);\n    v16 = v15;\n    if ( v15 )\n    {\n      v17 = (const char *)a2;\n      if ( (unsigned __int64)a2[3] > 0xF )\n        v17 = (const char *)*a2;\n      v18 = *v15;\n      v19 = atoi(v17);\n      (*(void (__fastcall **)(_QWORD *, _QWORD, _QWORD))(v18 + 272))(v16, v11, v19);\n    }\n  }\n  sub_14003D310((__int64)a2);\n  sub_14003D310(a3);\n}", "assembly": "; \n; GameLevelManager::onAdminClearReportedContentCompleted from 0x1402446d0 to 0x14024487b (427 bytes)\n; \n; 2 xrefs:\n; > GameLevelManager::handleIt @ 0x14021aeb1\n; > <???> @ 0x14091c28c\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:37 +0000\n; \npush    rbx                                                            ; +0x0, 0x1402446d0\npush    rbp                                                            ; +0x2, 0x1402446d2\npush    rsi                                                            ; +0x3, 0x1402446d3\npush    rdi                                                            ; +0x4, 0x1402446d4\npush    r15                                                            ; +0x5, 0x1402446d5\nsub     rsp, 70h                                                       ; +0x7, 0x1402446d7\nmov     rax, cs:__security_cookie                                      ; +0xb, 0x1402446db\nxor     rax, rsp                                                       ; +0x12, 0x1402446e2\nmov     [rsp+98h+var_38], rax                                          ; +0x15, 0x1402446e5\nmov     rsi, r8                                                        ; +0x1a, 0x1402446ea\nmov     rdi, rdx                                                       ; +0x1d, 0x1402446ed\nmov     rbx, rcx                                                       ; +0x20, 0x1402446f0\nmov     [rsp+98h+var_68], rdx                                          ; +0x23, 0x1402446f3\nmov     [rsp+98h+var_60], r8                                           ; +0x28, 0x1402446f8\nmov     rdx, r8                                                        ; +0x2d, 0x1402446fd\ncmp     qword ptr [r8+18h], 0Fh                                        ; +0x30, 0x140244700\njbe     short loc_14024470A                                            ; +0x35, 0x140244705\nmov     rdx, [r8]                                                      ; +0x37, 0x140244707\nxorps   xmm0, xmm0                                                     ; +0x3a, 0x14024470a\nmovups  xmmword ptr [rsp+98h+Block], xmm0                              ; +0x3d, 0x14024470d\nxorps   xmm1, xmm1                                                     ; +0x42, 0x140244712\nmovdqu  [rsp+98h+var_48], xmm1                                         ; +0x45, 0x140244715\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x4b, 0x14024471b\ninc     r8                                                             ; +0x52, 0x140244722\ncmp     byte ptr [rdx+r8], 0                                           ; +0x55, 0x140244725\njnz     short loc_140244722                                            ; +0x5a, 0x14024472a\nlea     rcx, [rsp+98h+Block]                                           ; +0x5c, 0x14024472c\ncall    sub_14003D230                                                  ; +0x61, 0x140244731\nnop                                                                    ; +0x66, 0x140244736\nlea     rdx, [rsp+98h+Block]                                           ; +0x67, 0x140244737\nmov     rcx, [rbx+4B0h]                                                ; +0x6c, 0x14024473c\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 &) ; +0x73, 0x140244743\nnop                                                                    ; +0x79, 0x140244749\nmov     rdx, qword ptr [rsp+98h+var_48+8]                              ; +0x7a, 0x14024474a\ncmp     rdx, 0Fh                                                       ; +0x7f, 0x14024474f\njbe     short loc_14024479D                                            ; +0x83, 0x140244753\ninc     rdx                                                            ; +0x85, 0x140244755\nmov     rcx, [rsp+98h+Block]; Block                                    ; +0x88, 0x140244758\nmov     rax, rcx                                                       ; +0x8d, 0x14024475d\ncmp     rdx, 1000h                                                     ; +0x90, 0x140244760\njb      short loc_140244798                                            ; +0x97, 0x140244767\nadd     rdx, 27h ; '''                                                 ; +0x99, 0x140244769\nmov     rcx, [rcx-8]                                                   ; +0x9d, 0x14024476d\nsub     rax, rcx                                                       ; +0xa1, 0x140244771\nsub     rax, 8                                                         ; +0xa4, 0x140244774\ncmp     rax, 1Fh                                                       ; +0xa8, 0x140244778\njbe     short loc_140244798                                            ; +0xac, 0x14024477c\nmov     [rsp+98h+Reserved], 0; Reserved                                ; +0xae, 0x14024477e\nxor     r9d, r9d; LineNo                                               ; +0xb7, 0x140244787\nxor     r8d, r8d; FileName                                             ; +0xba, 0x14024478a\nxor     edx, edx; FunctionName                                         ; +0xbd, 0x14024478d\nxor     ecx, ecx; Expression                                           ; +0xbf, 0x14024478f\ncall    cs:_invoke_watson                                              ; +0xc1, 0x140244791\nalign 8                                                                ; +0xc7, 0x140244797\ncall    j_j_free                                                       ; +0xc8, 0x140244798\nmov     rcx, rsi                                                       ; +0xcd, 0x14024479d\ncall    sub_140241F40                                                  ; +0xd0, 0x1402447a0\nmov     r15d, eax                                                      ; +0xd5, 0x1402447a5\nxorps   xmm0, xmm0                                                     ; +0xd8, 0x1402447a8\nmovups  xmmword ptr [rsp+98h+Block], xmm0                              ; +0xdb, 0x1402447ab\nmov     edx, 2                                                         ; +0xe0, 0x1402447b0\nmov     qword ptr [rsp+98h+var_48], rdx                                ; +0xe5, 0x1402447b5\nmov     qword ptr [rsp+98h+var_48+8], 0Fh                              ; +0xea, 0x1402447ba\nmov     eax, 312Dh                                                     ; +0xf3, 0x1402447c3\nmov     word ptr [rsp+98h+Block], ax                                   ; +0xf8, 0x1402447c8\nmov     byte ptr [rsp+98h+Block+2], 0                                  ; +0xfd, 0x1402447cd\nmov     rcx, rdi                                                       ; +0x102, 0x1402447d2\ncmp     qword ptr [rdi+18h], 0Fh                                       ; +0x105, 0x1402447d5\njbe     short loc_1402447DF                                            ; +0x10a, 0x1402447da\nmov     rcx, [rdi]; Buf1                                               ; +0x10c, 0x1402447dc\nmov     rbp, [rdi+10h]                                                 ; +0x10f, 0x1402447df\nmov     r8, rbp                                                        ; +0x113, 0x1402447e3\ncmp     rbp, rdx                                                       ; +0x116, 0x1402447e6\ncmova   r8, rdx; Size                                                  ; +0x119, 0x1402447e9\nlea     rdx, [rsp+98h+Block]; Buf2                                     ; +0x11d, 0x1402447ed\ncall    memcmp                                                         ; +0x122, 0x1402447f2\ntest    eax, eax                                                       ; +0x127, 0x1402447f7\njnz     short loc_140244803                                            ; +0x129, 0x1402447f9\ncmp     rbp, 2                                                         ; +0x12b, 0x1402447fb\njb      short loc_140244803                                            ; +0x12f, 0x1402447ff\njbe     short loc_140244839                                            ; +0x131, 0x140244801\nmov     rbx, [rbx+568h]                                                ; +0x133, 0x140244803\nmov     rbp, rbx                                                       ; +0x13a, 0x14024480a\ntest    rbx, rbx                                                       ; +0x13d, 0x14024480d\njz      short loc_140244852                                            ; +0x140, 0x140244810\nmov     rcx, rdi                                                       ; +0x142, 0x140244812\ncmp     qword ptr [rdi+18h], 0Fh                                       ; +0x145, 0x140244815\njbe     short loc_14024481F                                            ; +0x14a, 0x14024481a\nmov     rcx, [rdi]; String                                             ; +0x14c, 0x14024481c\nmov     rbx, [rbx]                                                     ; +0x14f, 0x14024481f\ncall    cs:atoi                                                        ; +0x152, 0x140244822\nmov     r8d, eax                                                       ; +0x158, 0x140244828\nmov     edx, r15d                                                      ; +0x15b, 0x14024482b\nmov     rcx, rbp                                                       ; +0x15e, 0x14024482e\ncall    qword ptr [rbx+110h]                                           ; +0x161, 0x140244831\njmp     short loc_140244852                                            ; +0x167, 0x140244837\nmov     rcx, [rbx+568h]                                                ; +0x169, 0x140244839\ntest    rcx, rcx                                                       ; +0x170, 0x140244840\njz      short loc_140244852                                            ; +0x173, 0x140244843\nmov     rax, [rcx]                                                     ; +0x175, 0x140244845\nmov     edx, r15d                                                      ; +0x178, 0x140244848\ncall    qword ptr [rax+118h]                                           ; +0x17b, 0x14024484b\nnop                                                                    ; +0x181, 0x140244851\nmov     rcx, rdi                                                       ; +0x182, 0x140244852\ncall    sub_14003D310                                                  ; +0x185, 0x140244855\nnop                                                                    ; +0x18a, 0x14024485a\nmov     rcx, rsi                                                       ; +0x18b, 0x14024485b\ncall    sub_14003D310                                                  ; +0x18e, 0x14024485e\nmov     rcx, [rsp+98h+var_38]                                          ; +0x193, 0x140244863\nxor     rcx, rsp; StackCookie                                          ; +0x198, 0x140244868\ncall    __security_check_cookie                                        ; +0x19b, 0x14024486b\nadd     rsp, 70h                                                       ; +0x1a0, 0x140244870\npop     r15                                                            ; +0x1a4, 0x140244874\npop     rdi                                                            ; +0x1a6, 0x140244876\npop     rsi                                                            ; +0x1a7, 0x140244877\npop     rbp                                                            ; +0x1a8, 0x140244878\npop     rbx                                                            ; +0x1a9, 0x140244879\nretn                                                                   ; +0x1aa, 0x14024487a", "xrefs": ["GameLevelManager::handleIt @ 0x14021aeb1", "<???> @ 0x14091c28c"], "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"}