{"type": "func", "start": 5370988272, "end": 5370988797, "name": "GameLevelManager::getMapPacks", "pseudocode": "// \n// GameLevelManager::getMapPacks from 0x14022c6f0 to 0x14022c8fd (525 bytes)\n// \n// 2 xrefs:\n// > LevelBrowserLayer::loadPage @ 0x1403e4746\n// > <???> @ 0x14091be0c\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:28 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nvoid __fastcall GameLevelManager::getMapPacks(cocos2d::CCActionManager **a1, __int64 a2)\n{\n  _BYTE *Key; // rdi\n  __int64 v5; // rcx\n  int v6; // ebx\n  cocos2d::CCString *v7; // rax\n  const char *CString; // rax\n  cocos2d::CCString *v9; // rax\n  char *v10; // rax\n  size_t v11; // rbx\n  size_t v12; // r8\n  size_t v13; // r8\n  _QWORD *v14; // rdx\n  int v15; // [rsp+20h] [rbp-79h]\n  int v16; // [rsp+28h] [rbp-71h]\n  __int128 v17; // [rsp+40h] [rbp-59h] BYREF\n  __int64 v18; // [rsp+50h] [rbp-49h]\n  __int64 v19; // [rsp+58h] [rbp-41h]\n  __int128 v20; // [rsp+60h] [rbp-39h] BYREF\n  __int64 v21; // [rsp+70h] [rbp-29h]\n  __int64 v22; // [rsp+78h] [rbp-21h]\n  __int128 v23; // [rsp+80h] [rbp-19h] BYREF\n  __int64 v24; // [rsp+90h] [rbp-9h]\n  __int64 v25; // [rsp+98h] [rbp-1h]\n  __int128 *v26; // [rsp+A0h] [rbp+7h]\n  __int128 *v27; // [rsp+A8h] [rbp+Fh]\n  _QWORD Src[4]; // [rsp+B8h] [rbp+1Fh] BYREF\n\n  Key = (_BYTE *)GJSearchObject::getKey(a2);\n  if ( !GameLevelManager::isDLActive((__int64)a1, Key) )\n  {\n    GameLevelManager::addDLToActive((__int64)a1, Key);\n    GameLevelManager::getBasePostString(v5, Src);\n    v6 = *(_DWORD *)(a2 + 424);\n    v16 = 98;\n    v15 = 103;\n    v7 = cocos2d::CCString::createWithFormat(\"%c%s%s%c%c%s\", 87, \"mfd\", \"2893\", v15, v16, (const char *)&word_14070D040);\n    CString = cocos2d::CCString::getCString(v7);\n    v9 = cocos2d::CCString::createWithFormat(\"&page=%i&secret=%s\", v6, CString);\n    v10 = (char *)cocos2d::CCString::getCString(v9);\n    v11 = -1;\n    v12 = -1;\n    do\n      ++v12;\n    while ( v10[v12] );\n    sub_140044D80(Src, v10, v12);\n    v26 = &v20;\n    v27 = &v23;\n    v20 = 0;\n    v21 = 0;\n    v22 = 0;\n    v13 = -1;\n    do\n      ++v13;\n    while ( Key[v13] );\n    sub_14003D230(&v20, Key, v13);\n    v14 = Src;\n    if ( Src[3] > 0xFu )\n      v14 = (_QWORD *)Src[0];\n    v23 = 0;\n    v24 = 0;\n    v25 = 0;\n    do\n      ++v11;\n    while ( *((_BYTE *)v14 + v11) );\n    sub_14003D230(&v23, v14, v11);\n    v17 = 0;\n    *(_QWORD *)&v17 = sub_14003D460(0x40u);\n    v18 = 54;\n    v19 = 63;\n    strcpy((char *)v17, \"https://www.boomlings.com/database/getGJMapPacks21.php\");\n    GameLevelManager::ProcessHttpRequest(a1, (__int64)&v17, (const char *)&v23, (const char *)&v20, 3u);\n    sub_14003D310((__int64)Src);\n  }\n}", "assembly": "; \n; GameLevelManager::getMapPacks from 0x14022c6f0 to 0x14022c8fd (525 bytes)\n; \n; 2 xrefs:\n; > LevelBrowserLayer::loadPage @ 0x1403e4746\n; > <???> @ 0x14091be0c\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:28 +0000\n; \nmov     [rsp-8+arg_10], rbx                                            ; +0x0, 0x14022c6f0\nmov     [rsp-8+arg_18], rsi                                            ; +0x5, 0x14022c6f5\npush    rbp                                                            ; +0xa, 0x14022c6fa\npush    rdi                                                            ; +0xb, 0x14022c6fb\npush    r14                                                            ; +0xc, 0x14022c6fc\nlea     rbp, [rsp-47h]                                                 ; +0xe, 0x14022c6fe\nsub     rsp, 0E0h                                                      ; +0x13, 0x14022c703\nmov     rax, cs:__security_cookie                                      ; +0x1a, 0x14022c70a\nxor     rax, rsp                                                       ; +0x21, 0x14022c711\nmov     [rbp+57h+var_18], rax                                          ; +0x24, 0x14022c714\nmov     rbx, rdx                                                       ; +0x28, 0x14022c718\nmov     rsi, rcx                                                       ; +0x2b, 0x14022c71b\nmov     rcx, rdx                                                       ; +0x2e, 0x14022c71e\ncall    GJSearchObject__getKey                                         ; +0x31, 0x14022c721\nmov     rdi, rax                                                       ; +0x36, 0x14022c726\nmov     rdx, rax                                                       ; +0x39, 0x14022c729\nmov     rcx, rsi                                                       ; +0x3c, 0x14022c72c\ncall    GameLevelManager__isDLActive                                   ; +0x3f, 0x14022c72f\ntest    al, al                                                         ; +0x44, 0x14022c734\njnz     loc_14022C8D9                                                  ; +0x46, 0x14022c736\nmov     rdx, rdi                                                       ; +0x4c, 0x14022c73c\nmov     rcx, rsi                                                       ; +0x4f, 0x14022c73f\ncall    GameLevelManager__addDLToActive                                ; +0x52, 0x14022c742\nlea     rdx, [rbp+57h+Src]                                             ; +0x57, 0x14022c747\ncall    GameLevelManager__getBasePostString                            ; +0x5b, 0x14022c74b\nnop                                                                    ; +0x60, 0x14022c750\nmov     ebx, [rbx+1A8h]                                                ; +0x61, 0x14022c751\nlea     rax, word_14070D040                                            ; +0x67, 0x14022c757\nmov     [rsp+0F0h+var_C0], rax                                         ; +0x6e, 0x14022c75e\nmov     [rsp+0F0h+var_C8], 62h ; 'b'                                   ; +0x73, 0x14022c763\nmov     [rsp+0F0h+var_D0], 67h ; 'g'                                   ; +0x7b, 0x14022c76b\nlea     r9, a2893; \"2893\"                                              ; +0x83, 0x14022c773\nlea     r8, aMfd; \"mfd\"                                                ; +0x8a, 0x14022c77a\nmov     edx, 57h ; 'W'                                                 ; +0x91, 0x14022c781\nlea     rcx, aCSSCCS; \"%c%s%s%c%c%s\"                                   ; +0x96, 0x14022c786\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x9d, 0x14022c78d\nmov     rcx, rax                                                       ; +0xa3, 0x14022c793\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xa6, 0x14022c796\nmov     r8, rax                                                        ; +0xac, 0x14022c79c\nmov     edx, ebx                                                       ; +0xaf, 0x14022c79f\nlea     rcx, aPageISecretS; \"&page=%i&secret=%s\"                       ; +0xb1, 0x14022c7a1\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xb8, 0x14022c7a8\nmov     rcx, rax                                                       ; +0xbe, 0x14022c7ae\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xc1, 0x14022c7b1\nmov     rbx, 0FFFFFFFFFFFFFFFFh                                        ; +0xc7, 0x14022c7b7\nmov     r8, rbx                                                        ; +0xce, 0x14022c7be\ninc     r8; Size                                                       ; +0xd1, 0x14022c7c1\ncmp     byte ptr [rax+r8], 0                                           ; +0xd4, 0x14022c7c4\njnz     short loc_14022C7C1                                            ; +0xd9, 0x14022c7c9\nmov     rdx, rax; void *                                               ; +0xdb, 0x14022c7cb\nlea     rcx, [rbp+57h+Src]; Src                                        ; +0xde, 0x14022c7ce\ncall    sub_140044D80                                                  ; +0xe2, 0x14022c7d2\nlea     rax, [rbp+57h+var_90]                                          ; +0xe7, 0x14022c7d7\nmov     [rbp+57h+var_50], rax                                          ; +0xeb, 0x14022c7db\nlea     rax, [rbp+57h+var_70]                                          ; +0xef, 0x14022c7df\nmov     [rbp+57h+var_48], rax                                          ; +0xf3, 0x14022c7e3\nxorps   xmm0, xmm0                                                     ; +0xf7, 0x14022c7e7\nmovups  [rbp+57h+var_90], xmm0                                         ; +0xfa, 0x14022c7ea\nxor     r14d, r14d                                                     ; +0xfe, 0x14022c7ee\nmov     [rbp+57h+var_80], r14                                          ; +0x101, 0x14022c7f1\nmov     [rbp+57h+var_78], r14                                          ; +0x105, 0x14022c7f5\nmov     r8, rbx                                                        ; +0x109, 0x14022c7f9\nnop     dword ptr [rax+00h]                                            ; +0x10c, 0x14022c7fc\ninc     r8                                                             ; +0x110, 0x14022c800\ncmp     [rdi+r8], r14b                                                 ; +0x113, 0x14022c803\njnz     short loc_14022C800                                            ; +0x117, 0x14022c807\nmov     rdx, rdi                                                       ; +0x119, 0x14022c809\nlea     rcx, [rbp+57h+var_90]                                          ; +0x11c, 0x14022c80c\ncall    sub_14003D230                                                  ; +0x120, 0x14022c810\nnop                                                                    ; +0x125, 0x14022c815\nlea     rdx, [rbp+57h+Src]                                             ; +0x126, 0x14022c816\ncmp     [rbp+57h+var_20], 0Fh                                          ; +0x12a, 0x14022c81a\ncmova   rdx, [rbp+57h+Src]                                             ; +0x12f, 0x14022c81f\nxorps   xmm0, xmm0                                                     ; +0x134, 0x14022c824\nmovups  [rbp+57h+var_70], xmm0                                         ; +0x137, 0x14022c827\nmov     [rbp+57h+var_60], r14                                          ; +0x13b, 0x14022c82b\nmov     [rbp+57h+var_58], r14                                          ; +0x13f, 0x14022c82f\ninc     rbx                                                            ; +0x143, 0x14022c833\ncmp     byte ptr [rdx+rbx], 0                                          ; +0x146, 0x14022c836\njnz     short loc_14022C833                                            ; +0x14a, 0x14022c83a\nmov     r8, rbx                                                        ; +0x14c, 0x14022c83c\nlea     rcx, [rbp+57h+var_70]                                          ; +0x14f, 0x14022c83f\ncall    sub_14003D230                                                  ; +0x153, 0x14022c843\nnop                                                                    ; +0x158, 0x14022c848\nxorps   xmm0, xmm0                                                     ; +0x159, 0x14022c849\nmovups  [rbp+57h+var_B0], xmm0                                         ; +0x15c, 0x14022c84c\nmov     [rbp+57h+var_A0], r14                                          ; +0x160, 0x14022c850\nmov     [rbp+57h+var_98], r14                                          ; +0x164, 0x14022c854\nmov     ecx, 40h ; '@'                                                 ; +0x168, 0x14022c858\ncall    sub_14003D460                                                  ; +0x16d, 0x14022c85d\nmov     r8, rax                                                        ; +0x172, 0x14022c862\nmov     qword ptr [rbp+57h+var_B0], rax                                ; +0x175, 0x14022c865\nmov     [rbp+57h+var_A0], 36h ; '6'                                    ; +0x179, 0x14022c869\nmov     [rbp+57h+var_98], 3Fh ; '?'                                    ; +0x181, 0x14022c871\nmovups  xmm0, cs:xmmword_140757C40                                     ; +0x189, 0x14022c879\nmovups  xmmword ptr [rax], xmm0                                        ; +0x190, 0x14022c880\nmovups  xmm1, cs:xmmword_140757C50                                     ; +0x193, 0x14022c883\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x19a, 0x14022c88a\nmovups  xmm0, cs:xmmword_140757C60                                     ; +0x19e, 0x14022c88e\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x1a5, 0x14022c895\nmov     edx, cs:dword_140757C70                                        ; +0x1a9, 0x14022c899\nmov     [rax+30h], edx                                                 ; +0x1af, 0x14022c89f\nmovzx   eax, cs:word_140757C74                                         ; +0x1b2, 0x14022c8a2\nmov     [r8+34h], ax                                                   ; +0x1b9, 0x14022c8a9\nmov     byte ptr [r8+36h], 0                                           ; +0x1be, 0x14022c8ae\nmov     [rsp+0F0h+var_D0], 3                                           ; +0x1c3, 0x14022c8b3\nlea     r9, [rbp+57h+var_90]                                           ; +0x1cb, 0x14022c8bb\nlea     r8, [rbp+57h+var_70]                                           ; +0x1cf, 0x14022c8bf\nlea     rdx, [rbp+57h+var_B0]                                          ; +0x1d3, 0x14022c8c3\nmov     rcx, rsi                                                       ; +0x1d7, 0x14022c8c7\ncall    GameLevelManager__ProcessHttpRequest                           ; +0x1da, 0x14022c8ca\nnop                                                                    ; +0x1df, 0x14022c8cf\nlea     rcx, [rbp+57h+Src]                                             ; +0x1e0, 0x14022c8d0\ncall    sub_14003D310                                                  ; +0x1e4, 0x14022c8d4\nmov     rcx, [rbp+57h+var_18]                                          ; +0x1e9, 0x14022c8d9\nxor     rcx, rsp; StackCookie                                          ; +0x1ed, 0x14022c8dd\ncall    __security_check_cookie                                        ; +0x1f0, 0x14022c8e0\nlea     r11, [rsp+0F0h+var_10]                                         ; +0x1f5, 0x14022c8e5\nmov     rbx, [r11+30h]                                                 ; +0x1fd, 0x14022c8ed\nmov     rsi, [r11+38h]                                                 ; +0x201, 0x14022c8f1\nmov     rsp, r11                                                       ; +0x205, 0x14022c8f5\npop     r14                                                            ; +0x208, 0x14022c8f8\npop     rdi                                                            ; +0x20a, 0x14022c8fa\npop     rbp                                                            ; +0x20b, 0x14022c8fb\nretn                                                                   ; +0x20c, 0x14022c8fc", "xrefs": ["LevelBrowserLayer::loadPage @ 0x1403e4746", "<???> @ 0x14091be0c"], "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"}