{"type": "func", "start": 5371203840, "end": 5371204638, "name": "GameLevelManager::reportContent", "pseudocode": "// \n// GameLevelManager::reportContent from 0x140261100 to 0x14026141e (798 bytes)\n// \n// 2 xrefs:\n// > ReportPopup::FLAlert_Clicked @ 0x1400c1ec4\n// > <???> @ 0x14091c7e4\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:48 +0000\n// \n\n// Hidden C++ exception states: #wind=6\nvoid __fastcall GameLevelManager::reportContent(\n        cocos2d::CCActionManager **a1,\n        int a2,\n        unsigned int a3,\n        int a4,\n        _QWORD *a5,\n        __int64 a6)\n{\n  __int64 v9; // rcx\n  __int64 v10; // rax\n  __int64 v11; // rcx\n  const char *v12; // rsi\n  __int64 v13; // rax\n  int v14; // edi\n  const char *v15; // rbx\n  cocos2d::CCString *v16; // rax\n  const char *CString; // rax\n  cocos2d::CCString *v18; // rax\n  const char *v19; // rax\n  size_t v20; // rbx\n  size_t v21; // r8\n  cocos2d::CCString *v22; // rax\n  char *v23; // rax\n  size_t v24; // r8\n  cocos2d::CCString *v25; // rax\n  const char *v26; // rax\n  size_t v27; // r8\n  void **v28; // rdx\n  void *v29; // rcx\n  int Reserved; // [rsp+20h] [rbp-E0h]\n  int v31; // [rsp+28h] [rbp-D8h]\n  __int128 v33; // [rsp+50h] [rbp-B0h] BYREF\n  __int64 v34; // [rsp+60h] [rbp-A0h]\n  __int64 v35; // [rsp+68h] [rbp-98h]\n  __int128 v36; // [rsp+70h] [rbp-90h] BYREF\n  __int64 v37; // [rsp+80h] [rbp-80h]\n  __int64 v38; // [rsp+88h] [rbp-78h]\n  __int128 v39; // [rsp+90h] [rbp-70h] BYREF\n  __int64 v40; // [rsp+A0h] [rbp-60h]\n  __int64 v41; // [rsp+A8h] [rbp-58h]\n  __int128 *v42; // [rsp+B0h] [rbp-50h]\n  void *Block[2]; // [rsp+C0h] [rbp-40h] BYREF\n  __int128 v44; // [rsp+D0h] [rbp-30h]\n  _QWORD v45[4]; // [rsp+E0h] [rbp-20h] BYREF\n  _QWORD Src[4]; // [rsp+100h] [rbp+0h] BYREF\n\n  if ( *a5 != a5[1] )\n  {\n    sub_1402411E0(Src, a5);\n    v10 = GJAccountManager::sharedState(v9);\n    sub_14003F4F0((__int64)v45, v10 + 376);\n    v12 = (const char *)v45;\n    if ( v45[3] > 0xFu )\n      v12 = (const char *)v45[0];\n    v13 = GJAccountManager::sharedState(v11);\n    v14 = *(_DWORD *)(v13 + 360) - *(_DWORD *)(v13 + 364);\n    v15 = (const char *)Src;\n    if ( Src[3] > 0xFu )\n      v15 = (const char *)Src[0];\n    v31 = 98;\n    Reserved = 103;\n    v16 = cocos2d::CCString::createWithFormat(\n            \"%c%s%s%c%c%s\",\n            87,\n            \"mfd\",\n            \"2893\",\n            Reserved,\n            v31,\n            (const char *)&word_14070D040);\n    CString = cocos2d::CCString::getCString(v16);\n    v18 = cocos2d::CCString::createWithFormat(\n            \"type=%i&targetID=%i&special=%i&reasons=%s&accountID=%i&gjp2=%s&secret=%s\",\n            a2,\n            a3,\n            a4,\n            v15,\n            v14,\n            v12,\n            CString);\n    v19 = cocos2d::CCString::getCString(v18);\n    *(_OWORD *)Block = 0;\n    v44 = 0;\n    v20 = -1;\n    v21 = -1;\n    do\n      ++v21;\n    while ( v19[v21] );\n    sub_14003D230(Block, v19, v21);\n    sub_14003D310((__int64)v45);\n    if ( a6 > 0 )\n    {\n      v22 = cocos2d::CCString::createWithFormat(\"&messageID=%lli\", a6);\n      v23 = (char *)cocos2d::CCString::getCString(v22);\n      v24 = -1;\n      do\n        ++v24;\n      while ( v23[v24] );\n      sub_140044D80(Block, v23, v24);\n    }\n    v42 = &v39;\n    v25 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, a3);\n    v26 = cocos2d::CCString::getCString(v25);\n    v36 = 0;\n    v37 = 0;\n    v38 = 0;\n    v27 = -1;\n    do\n      ++v27;\n    while ( v26[v27] );\n    sub_14003D230(&v36, v26, v27);\n    v28 = Block;\n    if ( *((_QWORD *)&v44 + 1) > 0xFu )\n      v28 = (void **)Block[0];\n    v39 = 0;\n    v40 = 0;\n    v41 = 0;\n    do\n      ++v20;\n    while ( *((_BYTE *)v28 + v20) );\n    sub_14003D230(&v39, v28, v20);\n    v33 = 0;\n    *(_QWORD *)&v33 = sub_14003D460(0x40u);\n    v34 = 54;\n    v35 = 63;\n    strcpy((char *)v33, \"https://www.boomlings.com/database/reportGJContent.php\");\n    GameLevelManager::ProcessHttpRequest(a1, (__int64)&v33, (const char *)&v39, (const char *)&v36, 0x14u);\n    if ( *((_QWORD *)&v44 + 1) > 0xFu )\n    {\n      v29 = Block[0];\n      if ( (unsigned __int64)(*((_QWORD *)&v44 + 1) + 1LL) >= 0x1000 )\n      {\n        v29 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v29 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free(v29);\n    }\n    sub_14003D310((__int64)Src);\n  }\n}", "assembly": "; \n; GameLevelManager::reportContent from 0x140261100 to 0x14026141e (798 bytes)\n; \n; 2 xrefs:\n; > ReportPopup::FLAlert_Clicked @ 0x1400c1ec4\n; > <???> @ 0x14091c7e4\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:48 +0000\n; \npush    rbp                                                            ; +0x0, 0x140261100\npush    rbx                                                            ; +0x2, 0x140261102\npush    rsi                                                            ; +0x3, 0x140261103\npush    rdi                                                            ; +0x4, 0x140261104\npush    r12                                                            ; +0x5, 0x140261105\npush    r13                                                            ; +0x7, 0x140261107\npush    r14                                                            ; +0x9, 0x140261109\npush    r15                                                            ; +0xb, 0x14026110b\nlea     rbp, [rsp-38h]                                                 ; +0xd, 0x14026110d\nsub     rsp, 138h                                                      ; +0x12, 0x140261112\nmov     rax, cs:__security_cookie                                      ; +0x19, 0x140261119\nxor     rax, rsp                                                       ; +0x20, 0x140261120\nmov     [rbp+70h+var_50], rax                                          ; +0x23, 0x140261123\nmov     r13d, r9d                                                      ; +0x27, 0x140261127\nmov     r15d, r8d                                                      ; +0x2a, 0x14026112a\nmov     r12d, edx                                                      ; +0x2d, 0x14026112d\nmov     [rsp+170h+var_128], rcx                                        ; +0x30, 0x140261130\nmov     rdx, [rbp+70h+arg_20]                                          ; +0x35, 0x140261135\nmov     r14, [rbp+70h+arg_28]                                          ; +0x3c, 0x14026113c\nmov     rax, [rdx+8]                                                   ; +0x43, 0x140261143\ncmp     [rdx], rax                                                     ; +0x47, 0x140261147\njz      loc_1402613FE                                                  ; +0x4a, 0x14026114a\nlea     rcx, [rbp+70h+Src]; Src                                        ; +0x50, 0x140261150\ncall    sub_1402411E0                                                  ; +0x54, 0x140261154\nnop                                                                    ; +0x59, 0x140261159\ncall    GJAccountManager__sharedState                                  ; +0x5a, 0x14026115a\nlea     rdx, [rax+178h]                                                ; +0x5f, 0x14026115f\nlea     rcx, [rbp+70h+var_90]                                          ; +0x66, 0x140261166\ncall    sub_14003F4F0                                                  ; +0x6a, 0x14026116a\nnop                                                                    ; +0x6f, 0x14026116f\nlea     rsi, [rbp+70h+var_90]                                          ; +0x70, 0x140261170\ncmp     [rbp+70h+var_78], 0Fh                                          ; +0x74, 0x140261174\ncmova   rsi, [rbp+70h+var_90]                                          ; +0x79, 0x140261179\ncall    GJAccountManager__sharedState                                  ; +0x7e, 0x14026117e\nmov     edi, [rax+168h]                                                ; +0x83, 0x140261183\nsub     edi, [rax+16Ch]                                                ; +0x89, 0x140261189\nlea     rbx, [rbp+70h+Src]                                             ; +0x8f, 0x14026118f\ncmp     [rbp+70h+var_58], 0Fh                                          ; +0x93, 0x140261193\ncmova   rbx, [rbp+70h+Src]                                             ; +0x98, 0x140261198\nlea     rax, word_14070D040                                            ; +0x9d, 0x14026119d\nmov     [rsp+170h+var_140], rax                                        ; +0xa4, 0x1402611a4\nmov     [rsp+170h+var_148], 62h ; 'b'                                  ; +0xa9, 0x1402611a9\nmov     dword ptr [rsp+170h+Reserved], 67h ; 'g'                       ; +0xb1, 0x1402611b1\nlea     r9, a2893; \"2893\"                                              ; +0xb9, 0x1402611b9\nlea     r8, aMfd; \"mfd\"                                                ; +0xc0, 0x1402611c0\nmov     edx, 57h ; 'W'                                                 ; +0xc7, 0x1402611c7\nlea     rcx, aCSSCCS; \"%c%s%s%c%c%s\"                                   ; +0xcc, 0x1402611cc\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xd3, 0x1402611d3\nmov     rcx, rax                                                       ; +0xd9, 0x1402611d9\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xdc, 0x1402611dc\nmov     [rsp+170h+var_138], rax                                        ; +0xe2, 0x1402611e2\nmov     [rsp+170h+var_140], rsi                                        ; +0xe7, 0x1402611e7\nmov     [rsp+170h+var_148], edi                                        ; +0xec, 0x1402611ec\nmov     [rsp+170h+Reserved], rbx                                       ; +0xf0, 0x1402611f0\nmov     r9d, r13d                                                      ; +0xf5, 0x1402611f5\nmov     r8d, r15d                                                      ; +0xf8, 0x1402611f8\nmov     edx, r12d                                                      ; +0xfb, 0x1402611fb\nlea     rcx, aTypeITargetidI; \"type=%i&targetID=%i&special=%i&reasons=\"... ; +0xfe, 0x1402611fe\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x105, 0x140261205\nmov     rcx, rax                                                       ; +0x10b, 0x14026120b\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x10e, 0x14026120e\nxorps   xmm0, xmm0                                                     ; +0x114, 0x140261214\nmovups  xmmword ptr [rbp+70h+Block], xmm0                              ; +0x117, 0x140261217\nxorps   xmm1, xmm1                                                     ; +0x11b, 0x14026121b\nmovdqu  [rbp+70h+var_A0], xmm1                                         ; +0x11e, 0x14026121e\nmov     rbx, 0FFFFFFFFFFFFFFFFh                                        ; +0x123, 0x140261223\nmov     r8, rbx                                                        ; +0x12a, 0x14026122a\nnop     dword ptr [rax]                                                ; +0x12d, 0x14026122d\ninc     r8                                                             ; +0x130, 0x140261230\ncmp     byte ptr [rax+r8], 0                                           ; +0x133, 0x140261233\njnz     short loc_140261230                                            ; +0x138, 0x140261238\nmov     rdx, rax                                                       ; +0x13a, 0x14026123a\nlea     rcx, [rbp+70h+Block]                                           ; +0x13d, 0x14026123d\ncall    sub_14003D230                                                  ; +0x141, 0x140261241\nnop                                                                    ; +0x146, 0x140261246\nlea     rcx, [rbp+70h+var_90]                                          ; +0x147, 0x140261247\ncall    sub_14003D310                                                  ; +0x14b, 0x14026124b\ntest    r14, r14                                                       ; +0x150, 0x140261250\njle     short loc_140261287                                            ; +0x153, 0x140261253\nmov     rdx, r14                                                       ; +0x155, 0x140261255\nlea     rcx, aMessageidLli; \"&messageID=%lli\"                          ; +0x158, 0x140261258\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x15f, 0x14026125f\nmov     rcx, rax                                                       ; +0x165, 0x140261265\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x168, 0x140261268\nmov     r8, rbx                                                        ; +0x16e, 0x14026126e\ninc     r8; Size                                                       ; +0x171, 0x140261271\ncmp     byte ptr [rax+r8], 0                                           ; +0x174, 0x140261274\njnz     short loc_140261271                                            ; +0x179, 0x140261279\nmov     rdx, rax; void *                                               ; +0x17b, 0x14026127b\nlea     rcx, [rbp+70h+Block]; Src                                      ; +0x17e, 0x14026127e\ncall    sub_140044D80                                                  ; +0x182, 0x140261282\nlea     rax, [rsp+170h+var_100]                                        ; +0x187, 0x140261287\nmov     [rsp+170h+var_130], rax                                        ; +0x18c, 0x14026128c\nlea     rax, [rbp+70h+var_E0]                                          ; +0x191, 0x140261291\nmov     [rbp+70h+var_C0], rax                                          ; +0x195, 0x140261295\nmov     edx, r15d                                                      ; +0x199, 0x140261299\nlea     rcx, word_1406ED6F8                                            ; +0x19c, 0x14026129c\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1a3, 0x1402612a3\nmov     rcx, rax                                                       ; +0x1a9, 0x1402612a9\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x1ac, 0x1402612ac\nxorps   xmm0, xmm0                                                     ; +0x1b2, 0x1402612b2\nmovups  [rsp+170h+var_100], xmm0                                       ; +0x1b5, 0x1402612b5\nxor     edi, edi                                                       ; +0x1ba, 0x1402612ba\nmov     [rbp+70h+var_F0], rdi                                          ; +0x1bc, 0x1402612bc\nmov     [rbp+70h+var_E8], rdi                                          ; +0x1c0, 0x1402612c0\nmov     r8, rbx                                                        ; +0x1c4, 0x1402612c4\ninc     r8                                                             ; +0x1c7, 0x1402612c7\ncmp     [rax+r8], dil                                                  ; +0x1ca, 0x1402612ca\njnz     short loc_1402612C7                                            ; +0x1ce, 0x1402612ce\nmov     rdx, rax                                                       ; +0x1d0, 0x1402612d0\nlea     rcx, [rsp+170h+var_100]                                        ; +0x1d3, 0x1402612d3\ncall    sub_14003D230                                                  ; +0x1d8, 0x1402612d8\nnop                                                                    ; +0x1dd, 0x1402612dd\nlea     rdx, [rbp+70h+Block]                                           ; +0x1de, 0x1402612de\ncmp     qword ptr [rbp+70h+var_A0+8], 0Fh                              ; +0x1e2, 0x1402612e2\ncmova   rdx, [rbp+70h+Block]                                           ; +0x1e7, 0x1402612e7\nxorps   xmm0, xmm0                                                     ; +0x1ec, 0x1402612ec\nmovups  [rbp+70h+var_E0], xmm0                                         ; +0x1ef, 0x1402612ef\nmov     [rbp+70h+var_D0], rdi                                          ; +0x1f3, 0x1402612f3\nmov     [rbp+70h+var_C8], rdi                                          ; +0x1f7, 0x1402612f7\nnop     dword ptr [rax+rax+00h]                                        ; +0x1fb, 0x1402612fb\ninc     rbx                                                            ; +0x200, 0x140261300\ncmp     byte ptr [rdx+rbx], 0                                          ; +0x203, 0x140261303\njnz     short loc_140261300                                            ; +0x207, 0x140261307\nmov     r8, rbx                                                        ; +0x209, 0x140261309\nlea     rcx, [rbp+70h+var_E0]                                          ; +0x20c, 0x14026130c\ncall    sub_14003D230                                                  ; +0x210, 0x140261310\nnop                                                                    ; +0x215, 0x140261315\nxorps   xmm0, xmm0                                                     ; +0x216, 0x140261316\nmovups  [rsp+170h+var_120], xmm0                                       ; +0x219, 0x140261319\nmov     [rsp+170h+var_110], rdi                                        ; +0x21e, 0x14026131e\nmov     [rsp+170h+var_108], rdi                                        ; +0x223, 0x140261323\nmov     ecx, 40h ; '@'                                                 ; +0x228, 0x140261328\ncall    sub_14003D460                                                  ; +0x22d, 0x14026132d\nmov     r8, rax                                                        ; +0x232, 0x140261332\nmov     qword ptr [rsp+170h+var_120], rax                              ; +0x235, 0x140261335\nmov     [rsp+170h+var_110], 36h ; '6'                                  ; +0x23a, 0x14026133a\nmov     [rsp+170h+var_108], 3Fh ; '?'                                  ; +0x243, 0x140261343\nmovups  xmm0, cs:xmmword_14075A870                                     ; +0x24c, 0x14026134c\nmovups  xmmword ptr [rax], xmm0                                        ; +0x253, 0x140261353\nmovups  xmm1, cs:xmmword_14075A880                                     ; +0x256, 0x140261356\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x25d, 0x14026135d\nmovups  xmm0, cs:xmmword_14075A890                                     ; +0x261, 0x140261361\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x268, 0x140261368\nmov     edx, cs:dword_14075A8A0                                        ; +0x26c, 0x14026136c\nmov     [rax+30h], edx                                                 ; +0x272, 0x140261372\nmovzx   eax, cs:word_14075A8A4                                         ; +0x275, 0x140261375\nmov     [r8+34h], ax                                                   ; +0x27c, 0x14026137c\nmov     byte ptr [r8+36h], 0                                           ; +0x281, 0x140261381\nmov     dword ptr [rsp+170h+Reserved], 14h                             ; +0x286, 0x140261386\nlea     r9, [rsp+170h+var_100]                                         ; +0x28e, 0x14026138e\nlea     r8, [rbp+70h+var_E0]                                           ; +0x293, 0x140261393\nlea     rdx, [rsp+170h+var_120]                                        ; +0x297, 0x140261397\nmov     rcx, [rsp+170h+var_128]                                        ; +0x29c, 0x14026139c\ncall    GameLevelManager__ProcessHttpRequest                           ; +0x2a1, 0x1402613a1\nnop                                                                    ; +0x2a6, 0x1402613a6\nmov     rdx, qword ptr [rbp+70h+var_A0+8]                              ; +0x2a7, 0x1402613a7\ncmp     rdx, 0Fh                                                       ; +0x2ab, 0x1402613ab\njbe     short loc_1402613F5                                            ; +0x2af, 0x1402613af\ninc     rdx                                                            ; +0x2b1, 0x1402613b1\nmov     rcx, [rbp+70h+Block]; Block                                    ; +0x2b4, 0x1402613b4\nmov     rax, rcx                                                       ; +0x2b8, 0x1402613b8\ncmp     rdx, 1000h                                                     ; +0x2bb, 0x1402613bb\njb      short loc_1402613EF                                            ; +0x2c2, 0x1402613c2\nadd     rdx, 27h ; '''                                                 ; +0x2c4, 0x1402613c4\nmov     rcx, [rcx-8]                                                   ; +0x2c8, 0x1402613c8\nsub     rax, rcx                                                       ; +0x2cc, 0x1402613cc\nsub     rax, 8                                                         ; +0x2cf, 0x1402613cf\ncmp     rax, 1Fh                                                       ; +0x2d3, 0x1402613d3\njbe     short loc_1402613EF                                            ; +0x2d7, 0x1402613d7\nmov     [rsp+170h+Reserved], rdi; Reserved                             ; +0x2d9, 0x1402613d9\nxor     r9d, r9d; LineNo                                               ; +0x2de, 0x1402613de\nxor     r8d, r8d; FileName                                             ; +0x2e1, 0x1402613e1\nxor     edx, edx; FunctionName                                         ; +0x2e4, 0x1402613e4\nxor     ecx, ecx; Expression                                           ; +0x2e6, 0x1402613e6\ncall    cs:_invoke_watson                                              ; +0x2e8, 0x1402613e8\ndb 0CCh                                                                ; +0x2ee, 0x1402613ee\ncall    j_j_free                                                       ; +0x2ef, 0x1402613ef\nnop                                                                    ; +0x2f4, 0x1402613f4\nlea     rcx, [rbp+70h+Src]                                             ; +0x2f5, 0x1402613f5\ncall    sub_14003D310                                                  ; +0x2f9, 0x1402613f9\nmov     rcx, [rbp+70h+var_50]                                          ; +0x2fe, 0x1402613fe\nxor     rcx, rsp; StackCookie                                          ; +0x302, 0x140261402\ncall    __security_check_cookie                                        ; +0x305, 0x140261405\nadd     rsp, 138h                                                      ; +0x30a, 0x14026140a\npop     r15                                                            ; +0x311, 0x140261411\npop     r14                                                            ; +0x313, 0x140261413\npop     r13                                                            ; +0x315, 0x140261415\npop     r12                                                            ; +0x317, 0x140261417\npop     rdi                                                            ; +0x319, 0x140261419\npop     rsi                                                            ; +0x31a, 0x14026141a\npop     rbx                                                            ; +0x31b, 0x14026141b\npop     rbp                                                            ; +0x31c, 0x14026141c\nretn                                                                   ; +0x31d, 0x14026141d", "xrefs": ["ReportPopup::FLAlert_Clicked @ 0x1400c1ec4", "<???> @ 0x14091c7e4"], "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"}