{"type": "func", "start": 5371086976, "end": 5371087770, "name": "GameLevelManager::adminGetReportQueue", "pseudocode": "// \n// GameLevelManager::adminGetReportQueue from 0x140244880 to 0x140244b9a (794 bytes)\n// \n// 2 xrefs:\n// > ReportQueuePopup::requestPage @ 0x1400c7f68\n// > <???> @ 0x14091c298\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=4\nchar __fastcall GameLevelManager::adminGetReportQueue(__int64 a1, int a2, int a3, int a4)\n{\n  __int64 v8; // rbx\n  void *v9; // r8\n  __int64 v10; // rbx\n  __int64 v11; // rax\n  __int64 v12; // rcx\n  void *v13; // rcx\n  cocos2d::CCString *v14; // rax\n  const char *CString; // rax\n  cocos2d::CCString *v16; // rax\n  char *v17; // rax\n  size_t v18; // rbx\n  size_t v19; // r8\n  _QWORD *v20; // rdx\n  int Reserved; // [rsp+20h] [rbp-99h]\n  int v23; // [rsp+28h] [rbp-91h]\n  __int128 v24; // [rsp+40h] [rbp-79h] BYREF\n  __int64 v25; // [rsp+50h] [rbp-69h]\n  __int64 v26; // [rsp+58h] [rbp-61h]\n  __int128 v27; // [rsp+60h] [rbp-59h] BYREF\n  __int64 v28; // [rsp+70h] [rbp-49h]\n  __int64 v29; // [rsp+78h] [rbp-41h]\n  __int128 *v30; // [rsp+80h] [rbp-39h]\n  __int128 *v31; // [rsp+88h] [rbp-31h]\n  void *Block[2]; // [rsp+98h] [rbp-21h] BYREF\n  __int128 v33; // [rsp+A8h] [rbp-11h]\n  _QWORD Src[4]; // [rsp+B8h] [rbp-1h] BYREF\n\n  if ( a2 < 0 )\n    return 0;\n  *(_OWORD *)Block = 0;\n  v33 = 0;\n  sub_14003D230(Block, \"adminReportQueue\", 0x10u);\n  v8 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1200), Block);\n  if ( *((_QWORD *)&v33 + 1) > 0xFu )\n  {\n    v9 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v33 + 1) + 1LL) >= 0x1000 )\n    {\n      v9 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v9 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v9);\n  }\n  if ( v8 )\n    return 0;\n  *(_OWORD *)Block = 0;\n  v33 = 0;\n  sub_14003D230(Block, \"adminReportQueue\", 0x10u);\n  v10 = *(_QWORD *)(a1 + 1200);\n  v11 = cocos2d::CCNode::create();\n  cocos2d::CCDictionary::setObject(v10, v11, Block);\n  if ( *((_QWORD *)&v33 + 1) > 0xFu )\n  {\n    v13 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v33 + 1) + 1LL) >= 0x1000 )\n    {\n      v13 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v13 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v13);\n  }\n  GameLevelManager::getBasePostString(v12, Src);\n  v23 = 98;\n  Reserved = 103;\n  v14 = cocos2d::CCString::createWithFormat(\n          \"%c%s%s%c%c%s\",\n          87,\n          \"mfd\",\n          \"2893\",\n          Reserved,\n          v23,\n          (const char *)&word_14070D040);\n  CString = cocos2d::CCString::getCString(v14);\n  v16 = cocos2d::CCString::createWithFormat(\"&page=%i&sort=%i&mode=%i&flags=1&secret=%s\", a2, a3, a4, CString);\n  v17 = (char *)cocos2d::CCString::getCString(v16);\n  v18 = -1;\n  v19 = -1;\n  do\n    ++v19;\n  while ( v17[v19] );\n  sub_140044D80(Src, v17, v19);\n  v30 = &v24;\n  v31 = &v27;\n  v24 = 0;\n  v25 = 0;\n  v26 = 0;\n  sub_14003D230(&v24, \"adminReportQueue\", 0x10u);\n  v20 = Src;\n  if ( Src[3] > 0xFu )\n    v20 = (_QWORD *)Src[0];\n  v27 = 0;\n  v28 = 0;\n  v29 = 0;\n  do\n    ++v18;\n  while ( *((_BYTE *)v20 + v18) );\n  sub_14003D230(&v27, v20, v18);\n  *(_OWORD *)Block = 0;\n  v33 = 0u;\n  Block[0] = sub_14003D460(0x40u);\n  *(_QWORD *)&v33 = 58;\n  *((_QWORD *)&v33 + 1) = 63;\n  strcpy((char *)Block[0], \"https://www.boomlings.com/database/adminGetReportQueue.php\");\n  GameLevelManager::ProcessHttpRequest(\n    (cocos2d::CCActionManager **)a1,\n    (__int64)Block,\n    (const char *)&v27,\n    (const char *)&v24,\n    0x57u);\n  sub_14003D310((__int64)Src);\n  return 1;\n}", "assembly": "; \n; GameLevelManager::adminGetReportQueue from 0x140244880 to 0x140244b9a (794 bytes)\n; \n; 2 xrefs:\n; > ReportQueuePopup::requestPage @ 0x1400c7f68\n; > <???> @ 0x14091c298\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    rbp                                                            ; +0x0, 0x140244880\npush    rbx                                                            ; +0x2, 0x140244882\npush    rsi                                                            ; +0x3, 0x140244883\npush    rdi                                                            ; +0x4, 0x140244884\npush    r14                                                            ; +0x5, 0x140244885\npush    r15                                                            ; +0x7, 0x140244887\nlea     rbp, [rsp-2Fh]                                                 ; +0x9, 0x140244889\nsub     rsp, 0E8h                                                      ; +0xe, 0x14024488e\nmov     rax, cs:__security_cookie                                      ; +0x15, 0x140244895\nxor     rax, rsp                                                       ; +0x1c, 0x14024489c\nmov     [rbp+57h+var_38], rax                                          ; +0x1f, 0x14024489f\nmov     r15d, r9d                                                      ; +0x23, 0x1402448a3\nmov     r14d, r8d                                                      ; +0x26, 0x1402448a6\nmov     edi, edx                                                       ; +0x29, 0x1402448a9\nmov     rsi, rcx                                                       ; +0x2b, 0x1402448ab\ntest    edx, edx                                                       ; +0x2e, 0x1402448ae\njs      loc_140244B7C                                                  ; +0x30, 0x1402448b0\nxorps   xmm0, xmm0                                                     ; +0x36, 0x1402448b6\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x39, 0x1402448b9\nxorps   xmm1, xmm1                                                     ; +0x3d, 0x1402448bd\nmovdqu  [rbp+57h+var_68], xmm1                                         ; +0x40, 0x1402448c0\nmov     r8d, 10h                                                       ; +0x45, 0x1402448c5\nlea     rdx, aAdminreportque; \"adminReportQueue\"                       ; +0x4b, 0x1402448cb\nlea     rcx, [rbp+57h+Block]                                           ; +0x52, 0x1402448d2\ncall    sub_14003D230                                                  ; +0x56, 0x1402448d6\nnop                                                                    ; +0x5b, 0x1402448db\nlea     rdx, [rbp+57h+Block]                                           ; +0x5c, 0x1402448dc\nmov     rcx, [rsi+4B0h]                                                ; +0x60, 0x1402448e0\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x67, 0x1402448e7\nmov     rbx, rax                                                       ; +0x6d, 0x1402448ed\nmov     rdx, qword ptr [rbp+57h+var_68+8]                              ; +0x70, 0x1402448f0\ncmp     rdx, 0Fh                                                       ; +0x74, 0x1402448f4\njbe     short loc_140244942                                            ; +0x78, 0x1402448f8\ninc     rdx                                                            ; +0x7a, 0x1402448fa\nmov     r8, [rbp+57h+Block]                                            ; +0x7d, 0x1402448fd\nmov     rcx, r8                                                        ; +0x81, 0x140244901\ncmp     rdx, 1000h                                                     ; +0x84, 0x140244904\njb      short loc_14024493A                                            ; +0x8b, 0x14024490b\nadd     rdx, 27h ; '''                                                 ; +0x8d, 0x14024490d\nmov     r8, [r8-8]                                                     ; +0x91, 0x140244911\nsub     rcx, r8                                                        ; +0x95, 0x140244915\nsub     rcx, 8                                                         ; +0x98, 0x140244918\ncmp     rcx, 1Fh                                                       ; +0x9c, 0x14024491c\njbe     short loc_14024493A                                            ; +0xa0, 0x140244920\nxor     edi, edi                                                       ; +0xa2, 0x140244922\nmov     [rsp+110h+Reserved], rdi; Reserved                             ; +0xa4, 0x140244924\nxor     r9d, r9d; LineNo                                               ; +0xa9, 0x140244929\nxor     r8d, r8d; FileName                                             ; +0xac, 0x14024492c\nxor     edx, edx; FunctionName                                         ; +0xaf, 0x14024492f\nxor     ecx, ecx; Expression                                           ; +0xb1, 0x140244931\ncall    cs:_invoke_watson                                              ; +0xb3, 0x140244933\nalign 2                                                                ; +0xb9, 0x140244939\nmov     rcx, r8; Block                                                 ; +0xba, 0x14024493a\ncall    j_j_free                                                       ; +0xbd, 0x14024493d\ntest    rbx, rbx                                                       ; +0xc2, 0x140244942\njnz     loc_140244B7C                                                  ; +0xc5, 0x140244945\nxorps   xmm0, xmm0                                                     ; +0xcb, 0x14024494b\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0xce, 0x14024494e\nxorps   xmm1, xmm1                                                     ; +0xd2, 0x140244952\nmovdqu  [rbp+57h+var_68], xmm1                                         ; +0xd5, 0x140244955\nmov     r8d, 10h                                                       ; +0xda, 0x14024495a\nlea     rdx, aAdminreportque; \"adminReportQueue\"                       ; +0xe0, 0x140244960\nlea     rcx, [rbp+57h+Block]                                           ; +0xe7, 0x140244967\ncall    sub_14003D230                                                  ; +0xeb, 0x14024496b\nnop                                                                    ; +0xf0, 0x140244970\nmov     rbx, [rsi+4B0h]                                                ; +0xf1, 0x140244971\ncall    cs:?create@CCNode@cocos2d@@SAPEAV12@XZ; cocos2d::CCNode::create(void) ; +0xf8, 0x140244978\nmov     rdx, rax                                                       ; +0xfe, 0x14024497e\nlea     r8, [rbp+57h+Block]                                            ; +0x101, 0x140244981\nmov     rcx, rbx                                                       ; +0x105, 0x140244985\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x108, 0x140244988\nnop                                                                    ; +0x10e, 0x14024498e\nmov     rdx, qword ptr [rbp+57h+var_68+8]                              ; +0x10f, 0x14024498f\ncmp     rdx, 0Fh                                                       ; +0x113, 0x140244993\njbe     short loc_1402449DE                                            ; +0x117, 0x140244997\ninc     rdx                                                            ; +0x119, 0x140244999\nmov     rcx, [rbp+57h+Block]; Block                                    ; +0x11c, 0x14024499c\nmov     rax, rcx                                                       ; +0x120, 0x1402449a0\ncmp     rdx, 1000h                                                     ; +0x123, 0x1402449a3\njb      short loc_1402449D9                                            ; +0x12a, 0x1402449aa\nadd     rdx, 27h ; '''                                                 ; +0x12c, 0x1402449ac\nmov     rcx, [rcx-8]                                                   ; +0x130, 0x1402449b0\nsub     rax, rcx                                                       ; +0x134, 0x1402449b4\nsub     rax, 8                                                         ; +0x137, 0x1402449b7\ncmp     rax, 1Fh                                                       ; +0x13b, 0x1402449bb\njbe     short loc_1402449D9                                            ; +0x13f, 0x1402449bf\nxor     edi, edi                                                       ; +0x141, 0x1402449c1\nmov     [rsp+110h+Reserved], rdi; Reserved                             ; +0x143, 0x1402449c3\nxor     r9d, r9d; LineNo                                               ; +0x148, 0x1402449c8\nxor     r8d, r8d; FileName                                             ; +0x14b, 0x1402449cb\nxor     edx, edx; FunctionName                                         ; +0x14e, 0x1402449ce\nxor     ecx, ecx; Expression                                           ; +0x150, 0x1402449d0\ncall    cs:_invoke_watson                                              ; +0x152, 0x1402449d2\ndb 0CCh                                                                ; +0x158, 0x1402449d8\ncall    j_j_free                                                       ; +0x159, 0x1402449d9\nlea     rdx, [rbp+57h+Src]                                             ; +0x15e, 0x1402449de\ncall    GameLevelManager__getBasePostString                            ; +0x162, 0x1402449e2\nnop                                                                    ; +0x167, 0x1402449e7\nlea     rax, word_14070D040                                            ; +0x168, 0x1402449e8\nmov     [rsp+110h+var_E0], rax                                         ; +0x16f, 0x1402449ef\nmov     [rsp+110h+var_E8], 62h ; 'b'                                   ; +0x174, 0x1402449f4\nmov     dword ptr [rsp+110h+Reserved], 67h ; 'g'                       ; +0x17c, 0x1402449fc\nlea     r9, a2893; \"2893\"                                              ; +0x184, 0x140244a04\nlea     r8, aMfd; \"mfd\"                                                ; +0x18b, 0x140244a0b\nmov     edx, 57h ; 'W'                                                 ; +0x192, 0x140244a12\nlea     rcx, aCSSCCS; \"%c%s%s%c%c%s\"                                   ; +0x197, 0x140244a17\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x19e, 0x140244a1e\nmov     rcx, rax                                                       ; +0x1a4, 0x140244a24\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x1a7, 0x140244a27\nmov     [rsp+110h+Reserved], rax                                       ; +0x1ad, 0x140244a2d\nmov     r9d, r15d                                                      ; +0x1b2, 0x140244a32\nmov     r8d, r14d                                                      ; +0x1b5, 0x140244a35\nmov     edx, edi                                                       ; +0x1b8, 0x140244a38\nlea     rcx, aPageISortIMode; \"&page=%i&sort=%i&mode=%i&flags=1&secret\"... ; +0x1ba, 0x140244a3a\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1c1, 0x140244a41\nmov     rcx, rax                                                       ; +0x1c7, 0x140244a47\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x1ca, 0x140244a4a\nmov     rbx, 0FFFFFFFFFFFFFFFFh                                        ; +0x1d0, 0x140244a50\nmov     r8, rbx                                                        ; +0x1d7, 0x140244a57\nnop     word ptr [rax+rax+00h]                                         ; +0x1da, 0x140244a5a\ninc     r8; Size                                                       ; +0x1e0, 0x140244a60\ncmp     byte ptr [rax+r8], 0                                           ; +0x1e3, 0x140244a63\njnz     short loc_140244A60                                            ; +0x1e8, 0x140244a68\nmov     rdx, rax; void *                                               ; +0x1ea, 0x140244a6a\nlea     rcx, [rbp+57h+Src]; Src                                        ; +0x1ed, 0x140244a6d\ncall    sub_140044D80                                                  ; +0x1f1, 0x140244a71\nlea     rax, [rbp+57h+var_D0]                                          ; +0x1f6, 0x140244a76\nmov     [rbp+57h+var_90], rax                                          ; +0x1fa, 0x140244a7a\nlea     rax, [rbp+57h+var_B0]                                          ; +0x1fe, 0x140244a7e\nmov     [rbp+57h+var_88], rax                                          ; +0x202, 0x140244a82\nxorps   xmm0, xmm0                                                     ; +0x206, 0x140244a86\nmovups  [rbp+57h+var_D0], xmm0                                         ; +0x209, 0x140244a89\nxor     edi, edi                                                       ; +0x20d, 0x140244a8d\nmov     [rbp+57h+var_C0], rdi                                          ; +0x20f, 0x140244a8f\nmov     [rbp+57h+var_B8], rdi                                          ; +0x213, 0x140244a93\nmov     r8d, 10h                                                       ; +0x217, 0x140244a97\nlea     rdx, aAdminreportque; \"adminReportQueue\"                       ; +0x21d, 0x140244a9d\nlea     rcx, [rbp+57h+var_D0]                                          ; +0x224, 0x140244aa4\ncall    sub_14003D230                                                  ; +0x228, 0x140244aa8\nnop                                                                    ; +0x22d, 0x140244aad\nlea     rdx, [rbp+57h+Src]                                             ; +0x22e, 0x140244aae\ncmp     [rbp+57h+var_40], 0Fh                                          ; +0x232, 0x140244ab2\ncmova   rdx, [rbp+57h+Src]                                             ; +0x237, 0x140244ab7\nxorps   xmm0, xmm0                                                     ; +0x23c, 0x140244abc\nmovups  [rbp+57h+var_B0], xmm0                                         ; +0x23f, 0x140244abf\nmov     [rbp+57h+var_A0], rdi                                          ; +0x243, 0x140244ac3\nmov     [rbp+57h+var_98], rdi                                          ; +0x247, 0x140244ac7\nnop     dword ptr [rax+rax+00h]                                        ; +0x24b, 0x140244acb\ninc     rbx                                                            ; +0x250, 0x140244ad0\ncmp     byte ptr [rdx+rbx], 0                                          ; +0x253, 0x140244ad3\njnz     short loc_140244AD0                                            ; +0x257, 0x140244ad7\nmov     r8, rbx                                                        ; +0x259, 0x140244ad9\nlea     rcx, [rbp+57h+var_B0]                                          ; +0x25c, 0x140244adc\ncall    sub_14003D230                                                  ; +0x260, 0x140244ae0\nnop                                                                    ; +0x265, 0x140244ae5\nxorps   xmm0, xmm0                                                     ; +0x266, 0x140244ae6\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x269, 0x140244ae9\nmov     qword ptr [rbp+57h+var_68], rdi                                ; +0x26d, 0x140244aed\nmov     qword ptr [rbp+57h+var_68+8], rdi                              ; +0x271, 0x140244af1\nmov     ecx, 40h ; '@'                                                 ; +0x275, 0x140244af5\ncall    sub_14003D460                                                  ; +0x27a, 0x140244afa\nmov     rdx, rax                                                       ; +0x27f, 0x140244aff\nmov     [rbp+57h+Block], rax                                           ; +0x282, 0x140244b02\nmov     qword ptr [rbp+57h+var_68], 3Ah ; ':'                          ; +0x286, 0x140244b06\nmov     qword ptr [rbp+57h+var_68+8], 3Fh ; '?'                        ; +0x28e, 0x140244b0e\nmovups  xmm0, cs:xmmword_140759130                                     ; +0x296, 0x140244b16\nmovups  xmmword ptr [rax], xmm0                                        ; +0x29d, 0x140244b1d\nmovups  xmm1, cs:xmmword_140759140                                     ; +0x2a0, 0x140244b20\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x2a7, 0x140244b27\nmovups  xmm0, cs:xmmword_140759150                                     ; +0x2ab, 0x140244b2b\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x2b2, 0x140244b32\nmovsd   xmm0, cs:qword_140759160                                       ; +0x2b6, 0x140244b36\nmovsd   qword ptr [rax+30h], xmm0                                      ; +0x2be, 0x140244b3e\nmovzx   eax, cs:word_140759168                                         ; +0x2c3, 0x140244b43\nmov     [rdx+38h], ax                                                  ; +0x2ca, 0x140244b4a\nmov     byte ptr [rdx+3Ah], 0                                          ; +0x2ce, 0x140244b4e\nmov     dword ptr [rsp+110h+Reserved], 57h ; 'W'                       ; +0x2d2, 0x140244b52\nlea     r9, [rbp+57h+var_D0]                                           ; +0x2da, 0x140244b5a\nlea     r8, [rbp+57h+var_B0]                                           ; +0x2de, 0x140244b5e\nlea     rdx, [rbp+57h+Block]                                           ; +0x2e2, 0x140244b62\nmov     rcx, rsi                                                       ; +0x2e6, 0x140244b66\ncall    GameLevelManager__ProcessHttpRequest                           ; +0x2e9, 0x140244b69\nnop                                                                    ; +0x2ee, 0x140244b6e\nlea     rcx, [rbp+57h+Src]                                             ; +0x2ef, 0x140244b6f\ncall    sub_14003D310                                                  ; +0x2f3, 0x140244b73\nmov     al, 1                                                          ; +0x2f8, 0x140244b78\njmp     short loc_140244B7E                                            ; +0x2fa, 0x140244b7a\nxor     al, al                                                         ; +0x2fc, 0x140244b7c\nmov     rcx, [rbp+57h+var_38]                                          ; +0x2fe, 0x140244b7e\nxor     rcx, rsp; StackCookie                                          ; +0x302, 0x140244b82\ncall    __security_check_cookie                                        ; +0x305, 0x140244b85\nadd     rsp, 0E8h                                                      ; +0x30a, 0x140244b8a\npop     r15                                                            ; +0x311, 0x140244b91\npop     r14                                                            ; +0x313, 0x140244b93\npop     rdi                                                            ; +0x315, 0x140244b95\npop     rsi                                                            ; +0x316, 0x140244b96\npop     rbx                                                            ; +0x317, 0x140244b97\npop     rbp                                                            ; +0x318, 0x140244b98\nretn                                                                   ; +0x319, 0x140244b99", "xrefs": ["ReportQueuePopup::requestPage @ 0x1400c7f68", "<???> @ 0x14091c298"], "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"}