{"type": "func", "start": 5371007952, "end": 5371008732, "name": "GameLevelManager::getGJContentStatus", "pseudocode": "// \n// GameLevelManager::getGJContentStatus from 0x1402313d0 to 0x1402316dc (780 bytes)\n// \n// 2 xrefs:\n// > CreatorLayer::init @ 0x140136220\n// > <???> @ 0x14091befc\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:30 +0000\n// \n\n// Hidden C++ exception states: #wind=4\nvoid __fastcall GameLevelManager::getGJContentStatus(__int64 a1)\n{\n  __int64 v2; // rbx\n  void *v3; // r8\n  __int64 v4; // rbx\n  __int64 v5; // rax\n  __int64 v6; // rcx\n  void *v7; // rcx\n  cocos2d::CCString *v8; // rax\n  const char *CString; // rax\n  cocos2d::CCString *v10; // rax\n  char *v11; // rax\n  size_t v12; // rbx\n  size_t v13; // r8\n  _QWORD *v14; // rdx\n  int Reserved; // [rsp+20h] [rbp-69h]\n  int v16; // [rsp+28h] [rbp-61h]\n  __int128 v17; // [rsp+40h] [rbp-49h] BYREF\n  __int64 v18; // [rsp+50h] [rbp-39h]\n  __int64 v19; // [rsp+58h] [rbp-31h]\n  __int128 v20; // [rsp+60h] [rbp-29h] BYREF\n  __int64 v21; // [rsp+70h] [rbp-19h]\n  __int64 v22; // [rsp+78h] [rbp-11h]\n  __int128 *v23; // [rsp+80h] [rbp-9h]\n  __int128 *v24; // [rsp+88h] [rbp-1h]\n  void *Block[2]; // [rsp+98h] [rbp+Fh] BYREF\n  __int128 v26; // [rsp+A8h] [rbp+1Fh]\n  _QWORD Src[4]; // [rsp+B8h] [rbp+2Fh] BYREF\n\n  *(_OWORD *)Block = 0;\n  v26 = 0;\n  sub_14003D230(Block, \"content_status\", 0xEu);\n  v2 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1192), Block);\n  if ( *((_QWORD *)&v26 + 1) > 0xFu )\n  {\n    v3 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v26 + 1) + 1LL) >= 0x1000 )\n    {\n      v3 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v3 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v3);\n  }\n  if ( !v2 )\n  {\n    *(_OWORD *)Block = 0;\n    v26 = 0;\n    sub_14003D230(Block, \"content_status\", 0xEu);\n    v4 = *(_QWORD *)(a1 + 1192);\n    v5 = cocos2d::CCNode::create();\n    cocos2d::CCDictionary::setObject(v4, v5, Block);\n    if ( *((_QWORD *)&v26 + 1) > 0xFu )\n    {\n      v7 = Block[0];\n      if ( (unsigned __int64)(*((_QWORD *)&v26 + 1) + 1LL) >= 0x1000 )\n      {\n        v7 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v7 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free(v7);\n    }\n    GameLevelManager::getBasePostString(v6, Src);\n    v16 = 98;\n    Reserved = 103;\n    v8 = cocos2d::CCString::createWithFormat(\n           \"%c%s%s%c%c%s\",\n           87,\n           \"mfd\",\n           \"2893\",\n           Reserved,\n           v16,\n           (const char *)&word_14070D040);\n    CString = cocos2d::CCString::getCString(v8);\n    v10 = cocos2d::CCString::createWithFormat(\"&secret=%s&special=1\", CString);\n    v11 = (char *)cocos2d::CCString::getCString(v10);\n    v12 = -1;\n    v13 = -1;\n    do\n      ++v13;\n    while ( v11[v13] );\n    sub_140044D80(Src, v11, v13);\n    v23 = &v17;\n    v24 = &v20;\n    v17 = 0;\n    v18 = 0;\n    v19 = 0;\n    sub_14003D230(&v17, \"content_status\", 0xEu);\n    v14 = Src;\n    if ( Src[3] > 0xFu )\n      v14 = (_QWORD *)Src[0];\n    v20 = 0;\n    v21 = 0;\n    v22 = 0;\n    do\n      ++v12;\n    while ( *((_BYTE *)v14 + v12) );\n    sub_14003D230(&v20, v14, v12);\n    *(_OWORD *)Block = 0;\n    v26 = 0u;\n    Block[0] = sub_14003D460(0x40u);\n    *(_QWORD *)&v26 = 57;\n    *((_QWORD *)&v26 + 1) = 63;\n    strcpy((char *)Block[0], \"https://www.boomlings.com/database/getGJContentStatus.php\");\n    GameLevelManager::ProcessHttpRequest(\n      (cocos2d::CCActionManager **)a1,\n      (__int64)Block,\n      (const char *)&v20,\n      (const char *)&v17,\n      0x68u);\n    sub_14003D310((__int64)Src);\n  }\n}", "assembly": "; \n; GameLevelManager::getGJContentStatus from 0x1402313d0 to 0x1402316dc (780 bytes)\n; \n; 2 xrefs:\n; > CreatorLayer::init @ 0x140136220\n; > <???> @ 0x14091befc\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:30 +0000\n; \nmov     [rsp-8+arg_8], rbx                                             ; +0x0, 0x1402313d0\nmov     [rsp-8+arg_10], rsi                                            ; +0x5, 0x1402313d5\nmov     [rsp-8+arg_18], rdi                                            ; +0xa, 0x1402313da\npush    rbp                                                            ; +0xf, 0x1402313df\nlea     rbp, [rsp-57h]                                                 ; +0x10, 0x1402313e0\nsub     rsp, 0E0h                                                      ; +0x15, 0x1402313e5\nmov     rax, cs:__security_cookie                                      ; +0x1c, 0x1402313ec\nxor     rax, rsp                                                       ; +0x23, 0x1402313f3\nmov     [rbp+57h+var_8], rax                                           ; +0x26, 0x1402313f6\nmov     rsi, rcx                                                       ; +0x2a, 0x1402313fa\nxorps   xmm0, xmm0                                                     ; +0x2d, 0x1402313fd\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x30, 0x140231400\nxorps   xmm1, xmm1                                                     ; +0x34, 0x140231404\nmovdqu  [rbp+57h+var_38], xmm1                                         ; +0x37, 0x140231407\nmov     r8d, 0Eh                                                       ; +0x3c, 0x14023140c\nlea     rdx, aContentStatus; \"content_status\"                          ; +0x42, 0x140231412\nlea     rcx, [rbp+57h+Block]                                           ; +0x49, 0x140231419\ncall    sub_14003D230                                                  ; +0x4d, 0x14023141d\nnop                                                                    ; +0x52, 0x140231422\nlea     rdx, [rbp+57h+Block]                                           ; +0x53, 0x140231423\nmov     rcx, [rsi+4A8h]                                                ; +0x57, 0x140231427\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 &) ; +0x5e, 0x14023142e\nmov     rbx, rax                                                       ; +0x64, 0x140231434\nmov     rdx, qword ptr [rbp+57h+var_38+8]                              ; +0x67, 0x140231437\ncmp     rdx, 0Fh                                                       ; +0x6b, 0x14023143b\njbe     short loc_140231489                                            ; +0x6f, 0x14023143f\ninc     rdx                                                            ; +0x71, 0x140231441\nmov     r8, [rbp+57h+Block]                                            ; +0x74, 0x140231444\nmov     rcx, r8                                                        ; +0x78, 0x140231448\ncmp     rdx, 1000h                                                     ; +0x7b, 0x14023144b\njb      short loc_140231481                                            ; +0x82, 0x140231452\nadd     rdx, 27h ; '''                                                 ; +0x84, 0x140231454\nmov     r8, [r8-8]                                                     ; +0x88, 0x140231458\nsub     rcx, r8                                                        ; +0x8c, 0x14023145c\nsub     rcx, 8                                                         ; +0x8f, 0x14023145f\ncmp     rcx, 1Fh                                                       ; +0x93, 0x140231463\njbe     short loc_140231481                                            ; +0x97, 0x140231467\nxor     edi, edi                                                       ; +0x99, 0x140231469\nmov     [rsp+0E0h+Reserved], rdi; Reserved                             ; +0x9b, 0x14023146b\nxor     r9d, r9d; LineNo                                               ; +0xa0, 0x140231470\nxor     r8d, r8d; FileName                                             ; +0xa3, 0x140231473\nxor     edx, edx; FunctionName                                         ; +0xa6, 0x140231476\nxor     ecx, ecx; Expression                                           ; +0xa8, 0x140231478\ncall    cs:_invoke_watson                                              ; +0xaa, 0x14023147a\ndb 0CCh                                                                ; +0xb0, 0x140231480\nmov     rcx, r8; Block                                                 ; +0xb1, 0x140231481\ncall    j_j_free                                                       ; +0xb4, 0x140231484\ntest    rbx, rbx                                                       ; +0xb9, 0x140231489\njnz     loc_1402316B7                                                  ; +0xbc, 0x14023148c\nxorps   xmm0, xmm0                                                     ; +0xc2, 0x140231492\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0xc5, 0x140231495\nxorps   xmm1, xmm1                                                     ; +0xc9, 0x140231499\nmovdqu  [rbp+57h+var_38], xmm1                                         ; +0xcc, 0x14023149c\nmov     r8d, 0Eh                                                       ; +0xd1, 0x1402314a1\nlea     rdx, aContentStatus; \"content_status\"                          ; +0xd7, 0x1402314a7\nlea     rcx, [rbp+57h+Block]                                           ; +0xde, 0x1402314ae\ncall    sub_14003D230                                                  ; +0xe2, 0x1402314b2\nnop                                                                    ; +0xe7, 0x1402314b7\nmov     rbx, [rsi+4A8h]                                                ; +0xe8, 0x1402314b8\ncall    cs:?create@CCNode@cocos2d@@SAPEAV12@XZ; cocos2d::CCNode::create(void) ; +0xef, 0x1402314bf\nmov     rdx, rax                                                       ; +0xf5, 0x1402314c5\nlea     r8, [rbp+57h+Block]                                            ; +0xf8, 0x1402314c8\nmov     rcx, rbx                                                       ; +0xfc, 0x1402314cc\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 &) ; +0xff, 0x1402314cf\nnop                                                                    ; +0x105, 0x1402314d5\nmov     rdx, qword ptr [rbp+57h+var_38+8]                              ; +0x106, 0x1402314d6\ncmp     rdx, 0Fh                                                       ; +0x10a, 0x1402314da\njbe     short loc_140231525                                            ; +0x10e, 0x1402314de\ninc     rdx                                                            ; +0x110, 0x1402314e0\nmov     rcx, [rbp+57h+Block]; Block                                    ; +0x113, 0x1402314e3\nmov     rax, rcx                                                       ; +0x117, 0x1402314e7\ncmp     rdx, 1000h                                                     ; +0x11a, 0x1402314ea\njb      short loc_140231520                                            ; +0x121, 0x1402314f1\nadd     rdx, 27h ; '''                                                 ; +0x123, 0x1402314f3\nmov     rcx, [rcx-8]                                                   ; +0x127, 0x1402314f7\nsub     rax, rcx                                                       ; +0x12b, 0x1402314fb\nsub     rax, 8                                                         ; +0x12e, 0x1402314fe\ncmp     rax, 1Fh                                                       ; +0x132, 0x140231502\njbe     short loc_140231520                                            ; +0x136, 0x140231506\nxor     edi, edi                                                       ; +0x138, 0x140231508\nmov     [rsp+0E0h+Reserved], rdi; Reserved                             ; +0x13a, 0x14023150a\nxor     r9d, r9d; LineNo                                               ; +0x13f, 0x14023150f\nxor     r8d, r8d; FileName                                             ; +0x142, 0x140231512\nxor     edx, edx; FunctionName                                         ; +0x145, 0x140231515\nxor     ecx, ecx; Expression                                           ; +0x147, 0x140231517\ncall    cs:_invoke_watson                                              ; +0x149, 0x140231519\nalign 20h                                                              ; +0x14f, 0x14023151f\ncall    j_j_free                                                       ; +0x150, 0x140231520\nlea     rdx, [rbp+57h+Src]                                             ; +0x155, 0x140231525\ncall    GameLevelManager__getBasePostString                            ; +0x159, 0x140231529\nnop                                                                    ; +0x15e, 0x14023152e\nlea     rax, word_14070D040                                            ; +0x15f, 0x14023152f\nmov     [rsp+0E0h+var_B0], rax                                         ; +0x166, 0x140231536\nmov     [rsp+0E0h+var_B8], 62h ; 'b'                                   ; +0x16b, 0x14023153b\nmov     dword ptr [rsp+0E0h+Reserved], 67h ; 'g'                       ; +0x173, 0x140231543\nlea     r9, a2893; \"2893\"                                              ; +0x17b, 0x14023154b\nlea     r8, aMfd; \"mfd\"                                                ; +0x182, 0x140231552\nmov     edx, 57h ; 'W'                                                 ; +0x189, 0x140231559\nlea     rcx, aCSSCCS; \"%c%s%s%c%c%s\"                                   ; +0x18e, 0x14023155e\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x195, 0x140231565\nmov     rcx, rax                                                       ; +0x19b, 0x14023156b\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x19e, 0x14023156e\nmov     rdx, rax                                                       ; +0x1a4, 0x140231574\nlea     rcx, aSecretSSpecial_0; \"&secret=%s&special=1\"                 ; +0x1a7, 0x140231577\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1ae, 0x14023157e\nmov     rcx, rax                                                       ; +0x1b4, 0x140231584\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x1b7, 0x140231587\nmov     rbx, 0FFFFFFFFFFFFFFFFh                                        ; +0x1bd, 0x14023158d\nmov     r8, rbx                                                        ; +0x1c4, 0x140231594\nnop     word ptr [rax+rax+00000000h]                                   ; +0x1c7, 0x140231597\ninc     r8; Size                                                       ; +0x1d0, 0x1402315a0\ncmp     byte ptr [rax+r8], 0                                           ; +0x1d3, 0x1402315a3\njnz     short loc_1402315A0                                            ; +0x1d8, 0x1402315a8\nmov     rdx, rax; void *                                               ; +0x1da, 0x1402315aa\nlea     rcx, [rbp+57h+Src]; Src                                        ; +0x1dd, 0x1402315ad\ncall    sub_140044D80                                                  ; +0x1e1, 0x1402315b1\nlea     rax, [rbp+57h+var_A0]                                          ; +0x1e6, 0x1402315b6\nmov     [rbp+57h+var_60], rax                                          ; +0x1ea, 0x1402315ba\nlea     rax, [rbp+57h+var_80]                                          ; +0x1ee, 0x1402315be\nmov     [rbp+57h+var_58], rax                                          ; +0x1f2, 0x1402315c2\nxorps   xmm0, xmm0                                                     ; +0x1f6, 0x1402315c6\nmovups  [rbp+57h+var_A0], xmm0                                         ; +0x1f9, 0x1402315c9\nxor     edi, edi                                                       ; +0x1fd, 0x1402315cd\nmov     [rbp+57h+var_90], rdi                                          ; +0x1ff, 0x1402315cf\nmov     [rbp+57h+var_88], rdi                                          ; +0x203, 0x1402315d3\nmov     r8d, 0Eh                                                       ; +0x207, 0x1402315d7\nlea     rdx, aContentStatus; \"content_status\"                          ; +0x20d, 0x1402315dd\nlea     rcx, [rbp+57h+var_A0]                                          ; +0x214, 0x1402315e4\ncall    sub_14003D230                                                  ; +0x218, 0x1402315e8\nnop                                                                    ; +0x21d, 0x1402315ed\nlea     rdx, [rbp+57h+Src]                                             ; +0x21e, 0x1402315ee\ncmp     [rbp+57h+var_10], 0Fh                                          ; +0x222, 0x1402315f2\ncmova   rdx, [rbp+57h+Src]                                             ; +0x227, 0x1402315f7\nxorps   xmm0, xmm0                                                     ; +0x22c, 0x1402315fc\nmovups  [rbp+57h+var_80], xmm0                                         ; +0x22f, 0x1402315ff\nmov     [rbp+57h+var_70], rdi                                          ; +0x233, 0x140231603\nmov     [rbp+57h+var_68], rdi                                          ; +0x237, 0x140231607\nnop     dword ptr [rax+rax+00h]                                        ; +0x23b, 0x14023160b\ninc     rbx                                                            ; +0x240, 0x140231610\ncmp     byte ptr [rdx+rbx], 0                                          ; +0x243, 0x140231613\njnz     short loc_140231610                                            ; +0x247, 0x140231617\nmov     r8, rbx                                                        ; +0x249, 0x140231619\nlea     rcx, [rbp+57h+var_80]                                          ; +0x24c, 0x14023161c\ncall    sub_14003D230                                                  ; +0x250, 0x140231620\nnop                                                                    ; +0x255, 0x140231625\nxorps   xmm0, xmm0                                                     ; +0x256, 0x140231626\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x259, 0x140231629\nmov     qword ptr [rbp+57h+var_38], rdi                                ; +0x25d, 0x14023162d\nmov     qword ptr [rbp+57h+var_38+8], rdi                              ; +0x261, 0x140231631\nmov     ecx, 40h ; '@'                                                 ; +0x265, 0x140231635\ncall    sub_14003D460                                                  ; +0x26a, 0x14023163a\nmov     rdx, rax                                                       ; +0x26f, 0x14023163f\nmov     [rbp+57h+Block], rax                                           ; +0x272, 0x140231642\nmov     qword ptr [rbp+57h+var_38], 39h ; '9'                          ; +0x276, 0x140231646\nmov     qword ptr [rbp+57h+var_38+8], 3Fh ; '?'                        ; +0x27e, 0x14023164e\nmovups  xmm0, cs:xmmword_140758108                                     ; +0x286, 0x140231656\nmovups  xmmword ptr [rax], xmm0                                        ; +0x28d, 0x14023165d\nmovups  xmm1, cs:xmmword_140758118                                     ; +0x290, 0x140231660\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x297, 0x140231667\nmovups  xmm0, cs:xmmword_140758128                                     ; +0x29b, 0x14023166b\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x2a2, 0x140231672\nmovsd   xmm0, cs:qword_140758138                                       ; +0x2a6, 0x140231676\nmovsd   qword ptr [rax+30h], xmm0                                      ; +0x2ae, 0x14023167e\nmovzx   eax, cs:byte_140758140                                         ; +0x2b3, 0x140231683\nmov     [rdx+38h], al                                                  ; +0x2ba, 0x14023168a\nmov     byte ptr [rdx+39h], 0                                          ; +0x2bd, 0x14023168d\nmov     dword ptr [rsp+0E0h+Reserved], 68h ; 'h'                       ; +0x2c1, 0x140231691\nlea     r9, [rbp+57h+var_A0]                                           ; +0x2c9, 0x140231699\nlea     r8, [rbp+57h+var_80]                                           ; +0x2cd, 0x14023169d\nlea     rdx, [rbp+57h+Block]                                           ; +0x2d1, 0x1402316a1\nmov     rcx, rsi                                                       ; +0x2d5, 0x1402316a5\ncall    GameLevelManager__ProcessHttpRequest                           ; +0x2d8, 0x1402316a8\nnop                                                                    ; +0x2dd, 0x1402316ad\nlea     rcx, [rbp+57h+Src]                                             ; +0x2de, 0x1402316ae\ncall    sub_14003D310                                                  ; +0x2e2, 0x1402316b2\nmov     rcx, [rbp+57h+var_8]                                           ; +0x2e7, 0x1402316b7\nxor     rcx, rsp; StackCookie                                          ; +0x2eb, 0x1402316bb\ncall    __security_check_cookie                                        ; +0x2ee, 0x1402316be\nlea     r11, [rsp+0E0h+var_s0]                                         ; +0x2f3, 0x1402316c3\nmov     rbx, [r11+18h]                                                 ; +0x2fb, 0x1402316cb\nmov     rsi, [r11+20h]                                                 ; +0x2ff, 0x1402316cf\nmov     rdi, [r11+28h]                                                 ; +0x303, 0x1402316d3\nmov     rsp, r11                                                       ; +0x307, 0x1402316d7\npop     rbp                                                            ; +0x30a, 0x1402316da\nretn                                                                   ; +0x30b, 0x1402316db", "xrefs": ["CreatorLayer::init @ 0x140136220", "<???> @ 0x14091befc"], "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"}