{"type": "func", "start": 5371130640, "end": 5371131199, "name": "GameLevelManager::getNotifications", "pseudocode": "// \n// GameLevelManager::getNotifications from 0x14024f310 to 0x14024f53f (559 bytes)\n// \n// 2 xrefs:\n// > NotificationsPage::loadPage @ 0x1404788a2\n// > <???> @ 0x14091c448\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:41 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nchar __fastcall GameLevelManager::getNotifications(cocos2d::CCActionManager **a1, int a2, int a3)\n{\n  cocos2d::CCString *v6; // rax\n  char *CString; // rdi\n  __int64 v9; // rcx\n  cocos2d::CCString *v10; // rax\n  const char *v11; // rbx\n  int v12; // eax\n  cocos2d::CCString *v13; // rax\n  char *v14; // rax\n  size_t v15; // rbx\n  size_t v16; // r8\n  size_t v17; // r8\n  _QWORD *v18; // rdx\n  int v19; // [rsp+20h] [rbp-89h]\n  int v20; // [rsp+28h] [rbp-81h]\n  __int128 v21; // [rsp+40h] [rbp-69h] BYREF\n  __int64 v22; // [rsp+50h] [rbp-59h]\n  __int64 v23; // [rsp+58h] [rbp-51h]\n  __int128 v24; // [rsp+60h] [rbp-49h] BYREF\n  __int64 v25; // [rsp+70h] [rbp-39h]\n  __int64 v26; // [rsp+78h] [rbp-31h]\n  __int128 v27; // [rsp+80h] [rbp-29h] BYREF\n  __int64 v28; // [rsp+90h] [rbp-19h]\n  __int64 v29; // [rsp+98h] [rbp-11h]\n  __int128 *v30; // [rsp+A0h] [rbp-9h]\n  __int128 *v31; // [rsp+A8h] [rbp-1h]\n  _QWORD Src[4]; // [rsp+B8h] [rbp+Fh] BYREF\n\n  v6 = cocos2d::CCString::createWithFormat(\"notifications_%i\", a2);\n  CString = (char *)cocos2d::CCString::getCString(v6);\n  if ( GameLevelManager::isDLActive((__int64)a1, CString) )\n    return 0;\n  GameLevelManager::addDLToActive((__int64)a1, CString);\n  GameLevelManager::getBasePostString(v9, Src);\n  v20 = 98;\n  v19 = 103;\n  v10 = cocos2d::CCString::createWithFormat(\"%c%s%s%c%c%s\", 87, \"mfd\", \"2893\", v19, v20, (const char *)&word_14070D040);\n  v11 = cocos2d::CCString::getCString(v10);\n  v12 = GameLevelManager::notificationMask();\n  v13 = cocos2d::CCString::createWithFormat(\"&page=%i&total=%i&mask=%i&secret=%s\", a2, a3, v12, v11);\n  v14 = (char *)cocos2d::CCString::getCString(v13);\n  v15 = -1;\n  v16 = -1;\n  do\n    ++v16;\n  while ( v14[v16] );\n  sub_140044D80(Src, v14, v16);\n  v30 = &v24;\n  v31 = &v27;\n  v24 = 0;\n  v25 = 0;\n  v26 = 0;\n  v17 = -1;\n  do\n    ++v17;\n  while ( CString[v17] );\n  sub_14003D230(&v24, CString, v17);\n  v18 = Src;\n  if ( Src[3] > 0xFu )\n    v18 = (_QWORD *)Src[0];\n  v27 = 0;\n  v28 = 0;\n  v29 = 0;\n  do\n    ++v15;\n  while ( *((_BYTE *)v18 + v15) );\n  sub_14003D230(&v27, v18, v15);\n  v21 = 0;\n  *(_QWORD *)&v21 = sub_14003D460(0x40u);\n  v22 = 57;\n  v23 = 63;\n  strcpy((char *)v21, \"https://www.boomlings.com/database/getGJNotifications.php\");\n  GameLevelManager::ProcessHttpRequest(a1, (__int64)&v21, (const char *)&v27, (const char *)&v24, 0x6Du);\n  sub_14003D310((__int64)Src);\n  return 1;\n}", "assembly": "; \n; GameLevelManager::getNotifications from 0x14024f310 to 0x14024f53f (559 bytes)\n; \n; 2 xrefs:\n; > NotificationsPage::loadPage @ 0x1404788a2\n; > <???> @ 0x14091c448\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:41 +0000\n; \nmov     [rsp-8+arg_18], rbx                                            ; +0x0, 0x14024f310\npush    rbp                                                            ; +0x5, 0x14024f315\npush    rsi                                                            ; +0x6, 0x14024f316\npush    rdi                                                            ; +0x7, 0x14024f317\npush    r14                                                            ; +0x8, 0x14024f318\npush    r15                                                            ; +0xa, 0x14024f31a\nlea     rbp, [rsp-37h]                                                 ; +0xc, 0x14024f31c\nsub     rsp, 0E0h                                                      ; +0x11, 0x14024f321\nmov     rax, cs:__security_cookie                                      ; +0x18, 0x14024f328\nxor     rax, rsp                                                       ; +0x1f, 0x14024f32f\nmov     [rbp+57h+var_28], rax                                          ; +0x22, 0x14024f332\nmov     r14d, r8d                                                      ; +0x26, 0x14024f336\nmov     esi, edx                                                       ; +0x29, 0x14024f339\nmov     r15, rcx                                                       ; +0x2b, 0x14024f33b\nlea     rcx, aNotificationsI; \"notifications_%i\"                       ; +0x2e, 0x14024f33e\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x35, 0x14024f345\nmov     rcx, rax                                                       ; +0x3b, 0x14024f34b\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x3e, 0x14024f34e\nmov     rdi, rax                                                       ; +0x44, 0x14024f354\nmov     rdx, rax                                                       ; +0x47, 0x14024f357\nmov     rcx, r15                                                       ; +0x4a, 0x14024f35a\ncall    GameLevelManager__isDLActive                                   ; +0x4d, 0x14024f35d\ntest    al, al                                                         ; +0x52, 0x14024f362\njz      short loc_14024F36D                                            ; +0x54, 0x14024f364\nxor     al, al                                                         ; +0x56, 0x14024f366\njmp     loc_14024F51C                                                  ; +0x58, 0x14024f368\nmov     rdx, rdi                                                       ; +0x5d, 0x14024f36d\nmov     rcx, r15                                                       ; +0x60, 0x14024f370\ncall    GameLevelManager__addDLToActive                                ; +0x63, 0x14024f373\nlea     rdx, [rbp+57h+Src]                                             ; +0x68, 0x14024f378\ncall    GameLevelManager__getBasePostString                            ; +0x6c, 0x14024f37c\nnop                                                                    ; +0x71, 0x14024f381\nlea     rax, word_14070D040                                            ; +0x72, 0x14024f382\nmov     [rsp+100h+var_D0], rax                                         ; +0x79, 0x14024f389\nmov     [rsp+100h+var_D8], 62h ; 'b'                                   ; +0x7e, 0x14024f38e\nmov     dword ptr [rsp+100h+var_E0], 67h ; 'g'                         ; +0x86, 0x14024f396\nlea     r9, a2893; \"2893\"                                              ; +0x8e, 0x14024f39e\nlea     r8, aMfd; \"mfd\"                                                ; +0x95, 0x14024f3a5\nmov     edx, 57h ; 'W'                                                 ; +0x9c, 0x14024f3ac\nlea     rcx, aCSSCCS; \"%c%s%s%c%c%s\"                                   ; +0xa1, 0x14024f3b1\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xa8, 0x14024f3b8\nmov     rcx, rax                                                       ; +0xae, 0x14024f3be\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xb1, 0x14024f3c1\nmov     rbx, rax                                                       ; +0xb7, 0x14024f3c7\ncall    GameLevelManager__notificationMask                             ; +0xba, 0x14024f3ca\nmov     r9d, eax                                                       ; +0xbf, 0x14024f3cf\nmov     [rsp+100h+var_E0], rbx                                         ; +0xc2, 0x14024f3d2\nmov     r8d, r14d                                                      ; +0xc7, 0x14024f3d7\nmov     edx, esi                                                       ; +0xca, 0x14024f3da\nlea     rcx, aPageITotalIMas; \"&page=%i&total=%i&mask=%i&secret=%s\"    ; +0xcc, 0x14024f3dc\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xd3, 0x14024f3e3\nmov     rcx, rax                                                       ; +0xd9, 0x14024f3e9\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xdc, 0x14024f3ec\nmov     rbx, 0FFFFFFFFFFFFFFFFh                                        ; +0xe2, 0x14024f3f2\nmov     r8, rbx                                                        ; +0xe9, 0x14024f3f9\nnop     dword ptr [rax+00h]                                            ; +0xec, 0x14024f3fc\ninc     r8; Size                                                       ; +0xf0, 0x14024f400\ncmp     byte ptr [rax+r8], 0                                           ; +0xf3, 0x14024f403\njnz     short loc_14024F400                                            ; +0xf8, 0x14024f408\nmov     rdx, rax; void *                                               ; +0xfa, 0x14024f40a\nlea     rcx, [rbp+57h+Src]; Src                                        ; +0xfd, 0x14024f40d\ncall    sub_140044D80                                                  ; +0x101, 0x14024f411\nlea     rax, [rbp+57h+var_A0]                                          ; +0x106, 0x14024f416\nmov     [rbp+57h+var_60], rax                                          ; +0x10a, 0x14024f41a\nlea     rax, [rbp+57h+var_80]                                          ; +0x10e, 0x14024f41e\nmov     [rbp+57h+var_58], rax                                          ; +0x112, 0x14024f422\nxorps   xmm0, xmm0                                                     ; +0x116, 0x14024f426\nmovups  [rbp+57h+var_A0], xmm0                                         ; +0x119, 0x14024f429\nxor     esi, esi                                                       ; +0x11d, 0x14024f42d\nmov     [rbp+57h+var_90], rsi                                          ; +0x11f, 0x14024f42f\nmov     [rbp+57h+var_88], rsi                                          ; +0x123, 0x14024f433\nmov     r8, rbx                                                        ; +0x127, 0x14024f437\nnop     word ptr [rax+rax+00h]                                         ; +0x12a, 0x14024f43a\ninc     r8                                                             ; +0x130, 0x14024f440\ncmp     [rdi+r8], sil                                                  ; +0x133, 0x14024f443\njnz     short loc_14024F440                                            ; +0x137, 0x14024f447\nmov     rdx, rdi                                                       ; +0x139, 0x14024f449\nlea     rcx, [rbp+57h+var_A0]                                          ; +0x13c, 0x14024f44c\ncall    sub_14003D230                                                  ; +0x140, 0x14024f450\nnop                                                                    ; +0x145, 0x14024f455\nlea     rdx, [rbp+57h+Src]                                             ; +0x146, 0x14024f456\ncmp     [rbp+57h+var_30], 0Fh                                          ; +0x14a, 0x14024f45a\ncmova   rdx, [rbp+57h+Src]                                             ; +0x14f, 0x14024f45f\nxorps   xmm0, xmm0                                                     ; +0x154, 0x14024f464\nmovups  [rbp+57h+var_80], xmm0                                         ; +0x157, 0x14024f467\nmov     [rbp+57h+var_70], rsi                                          ; +0x15b, 0x14024f46b\nmov     [rbp+57h+var_68], rsi                                          ; +0x15f, 0x14024f46f\ninc     rbx                                                            ; +0x163, 0x14024f473\ncmp     byte ptr [rdx+rbx], 0                                          ; +0x166, 0x14024f476\njnz     short loc_14024F473                                            ; +0x16a, 0x14024f47a\nmov     r8, rbx                                                        ; +0x16c, 0x14024f47c\nlea     rcx, [rbp+57h+var_80]                                          ; +0x16f, 0x14024f47f\ncall    sub_14003D230                                                  ; +0x173, 0x14024f483\nnop                                                                    ; +0x178, 0x14024f488\nxorps   xmm0, xmm0                                                     ; +0x179, 0x14024f489\nmovups  [rbp+57h+var_C0], xmm0                                         ; +0x17c, 0x14024f48c\nmov     [rbp+57h+var_B0], rsi                                          ; +0x180, 0x14024f490\nmov     [rbp+57h+var_A8], rsi                                          ; +0x184, 0x14024f494\nmov     ecx, 40h ; '@'                                                 ; +0x188, 0x14024f498\ncall    sub_14003D460                                                  ; +0x18d, 0x14024f49d\nmov     rdx, rax                                                       ; +0x192, 0x14024f4a2\nmov     qword ptr [rbp+57h+var_C0], rax                                ; +0x195, 0x14024f4a5\nmov     [rbp+57h+var_B0], 39h ; '9'                                    ; +0x199, 0x14024f4a9\nmov     [rbp+57h+var_A8], 3Fh ; '?'                                    ; +0x1a1, 0x14024f4b1\nmovups  xmm0, cs:xmmword_140759A50                                     ; +0x1a9, 0x14024f4b9\nmovups  xmmword ptr [rax], xmm0                                        ; +0x1b0, 0x14024f4c0\nmovups  xmm1, cs:xmmword_140759A60                                     ; +0x1b3, 0x14024f4c3\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x1ba, 0x14024f4ca\nmovups  xmm0, cs:xmmword_140759A70                                     ; +0x1be, 0x14024f4ce\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x1c5, 0x14024f4d5\nmovsd   xmm0, cs:qword_140759A80                                       ; +0x1c9, 0x14024f4d9\nmovsd   qword ptr [rax+30h], xmm0                                      ; +0x1d1, 0x14024f4e1\nmovzx   eax, cs:byte_140759A88                                         ; +0x1d6, 0x14024f4e6\nmov     [rdx+38h], al                                                  ; +0x1dd, 0x14024f4ed\nmov     byte ptr [rdx+39h], 0                                          ; +0x1e0, 0x14024f4f0\nmov     dword ptr [rsp+100h+var_E0], 6Dh ; 'm'                         ; +0x1e4, 0x14024f4f4\nlea     r9, [rbp+57h+var_A0]                                           ; +0x1ec, 0x14024f4fc\nlea     r8, [rbp+57h+var_80]                                           ; +0x1f0, 0x14024f500\nlea     rdx, [rbp+57h+var_C0]                                          ; +0x1f4, 0x14024f504\nmov     rcx, r15                                                       ; +0x1f8, 0x14024f508\ncall    GameLevelManager__ProcessHttpRequest                           ; +0x1fb, 0x14024f50b\nnop                                                                    ; +0x200, 0x14024f510\nlea     rcx, [rbp+57h+Src]                                             ; +0x201, 0x14024f511\ncall    sub_14003D310                                                  ; +0x205, 0x14024f515\nmov     al, 1                                                          ; +0x20a, 0x14024f51a\nmov     rcx, [rbp+57h+var_28]                                          ; +0x20c, 0x14024f51c\nxor     rcx, rsp; StackCookie                                          ; +0x210, 0x14024f520\ncall    __security_check_cookie                                        ; +0x213, 0x14024f523\nmov     rbx, [rsp+100h+arg_18]                                         ; +0x218, 0x14024f528\nadd     rsp, 0E0h                                                      ; +0x220, 0x14024f530\npop     r15                                                            ; +0x227, 0x14024f537\npop     r14                                                            ; +0x229, 0x14024f539\npop     rdi                                                            ; +0x22b, 0x14024f53b\npop     rsi                                                            ; +0x22c, 0x14024f53c\npop     rbp                                                            ; +0x22d, 0x14024f53d\nretn                                                                   ; +0x22e, 0x14024f53e", "xrefs": ["NotificationsPage::loadPage @ 0x1404788a2", "<???> @ 0x14091c448"], "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"}