{"type": "func", "start": 5370136688, "end": 5370137235, "name": "GameLevelManager::getAccountComments", "pseudocode": "// \n// GameLevelManager::getAccountComments from 0x14015c870 to 0x14015ca93 (547 bytes)\n// \n// 2 xrefs:\n// > ProfilePage::loadPage @ 0x1403c6498\n// > <???> @ 0x1406caa7c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=3\nvoid GameLevelManager::getAccountComments(GameLevelManager *a1, int a2, int a3, int a4)\n{\n  cocos2d::CCString *v8; // rax\n  const char *CString; // rdi\n  __int64 v10; // rcx\n  cocos2d::CCString *v11; // rax\n  const char *v12; // rax\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-99h]\n  int v20; // [rsp+28h] [rbp-91h]\n  __int128 v21; // [rsp+40h] [rbp-79h] BYREF\n  __int64 v22; // [rsp+50h] [rbp-69h]\n  __int64 v23; // [rsp+58h] [rbp-61h]\n  __int128 v24; // [rsp+60h] [rbp-59h] BYREF\n  __int64 v25; // [rsp+70h] [rbp-49h]\n  __int64 v26; // [rsp+78h] [rbp-41h]\n  __int128 v27; // [rsp+80h] [rbp-39h] BYREF\n  __int64 v28; // [rsp+90h] [rbp-29h]\n  __int64 v29; // [rsp+98h] [rbp-21h]\n  __int128 *v30; // [rsp+A0h] [rbp-19h]\n  __int128 *v31; // [rsp+A8h] [rbp-11h]\n  _QWORD Src[4]; // [rsp+B8h] [rbp-1h] BYREF\n\n  v8 = cocos2d::CCString::createWithFormat(\"a_%i_%i\", a2, a3);\n  CString = cocos2d::CCString::getCString(v8);\n  if ( !GameLevelManager::isDLActive(a1, CString) )\n  {\n    GameLevelManager::addDLToActive(a1, CString);\n    GameLevelManager::getBasePostString(v10, Src);\n    v20 = 98;\n    v19 = 103;\n    v11 = cocos2d::CCString::createWithFormat(\n            \"%c%s%s%c%c%s\",\n            87,\n            \"mfd\",\n            \"2893\",\n            v19,\n            v20,\n            (const char *)&word_140531E88);\n    v12 = cocos2d::CCString::getCString(v11);\n    v13 = cocos2d::CCString::createWithFormat(\"&accountID=%i&page=%i&total=%i&secret=%s\", a2, a3, a4, v12);\n    v14 = (char *)cocos2d::CCString::getCString(v13);\n    v15 = -1;\n    v16 = -1;\n    do\n      ++v16;\n    while ( v14[v16] );\n    sub_140041270(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_14003A930(&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_14003A930(&v27, v18, v15);\n    v21 = 0;\n    *(_QWORD *)&v21 = sub_14003AA10(0x40u);\n    v22 = 61;\n    v23 = 63;\n    strcpy((char *)v21, \"https://www.boomlings.com/database/getGJAccountComments20.php\");\n    GameLevelManager::ProcessHttpRequest(a1, (__int64)&v21, (const char *)&v27, (const char *)&v24, 25);\n    sub_14003A830((__int64)Src);\n  }\n}", "assembly": "; \n; GameLevelManager::getAccountComments from 0x14015c870 to 0x14015ca93 (547 bytes)\n; \n; 2 xrefs:\n; > ProfilePage::loadPage @ 0x1403c6498\n; > <???> @ 0x1406caa7c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x14015c870\npush    rbx                                                            ; +0x2, 0x14015c872\npush    rsi                                                            ; +0x3, 0x14015c873\npush    rdi                                                            ; +0x4, 0x14015c874\npush    r14                                                            ; +0x5, 0x14015c875\npush    r15                                                            ; +0x7, 0x14015c877\nlea     rbp, [rsp-2Fh]                                                 ; +0x9, 0x14015c879\nsub     rsp, 0E8h                                                      ; +0xe, 0x14015c87e\nmov     rax, cs:__security_cookie                                      ; +0x15, 0x14015c885\nxor     rax, rsp                                                       ; +0x1c, 0x14015c88c\nmov     [rbp+57h+var_38], rax                                          ; +0x1f, 0x14015c88f\nmov     r14d, r9d                                                      ; +0x23, 0x14015c893\nmov     esi, r8d                                                       ; +0x26, 0x14015c896\nmov     ebx, edx                                                       ; +0x29, 0x14015c899\nmov     r15, rcx                                                       ; +0x2b, 0x14015c89b\nlea     rcx, aAII; \"a_%i_%i\"                                           ; +0x2e, 0x14015c89e\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x35, 0x14015c8a5\nmov     rcx, rax                                                       ; +0x3b, 0x14015c8ab\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x3e, 0x14015c8ae\nmov     rdi, rax                                                       ; +0x44, 0x14015c8b4\nmov     rdx, rax                                                       ; +0x47, 0x14015c8b7\nmov     rcx, r15                                                       ; +0x4a, 0x14015c8ba\ncall    GameLevelManager__isDLActive                                   ; +0x4d, 0x14015c8bd\ntest    al, al                                                         ; +0x52, 0x14015c8c2\njnz     loc_14015CA77                                                  ; +0x54, 0x14015c8c4\nmov     rdx, rdi                                                       ; +0x5a, 0x14015c8ca\nmov     rcx, r15                                                       ; +0x5d, 0x14015c8cd\ncall    GameLevelManager__addDLToActive                                ; +0x60, 0x14015c8d0\nlea     rdx, [rbp+57h+Src]                                             ; +0x65, 0x14015c8d5\ncall    GameLevelManager__getBasePostString                            ; +0x69, 0x14015c8d9\nnop                                                                    ; +0x6e, 0x14015c8de\nlea     rax, word_140531E88                                            ; +0x6f, 0x14015c8df\nmov     [rsp+110h+var_E0], rax                                         ; +0x76, 0x14015c8e6\nmov     [rsp+110h+var_E8], 62h ; 'b'                                   ; +0x7b, 0x14015c8eb\nmov     dword ptr [rsp+110h+var_F0], 67h ; 'g'                         ; +0x83, 0x14015c8f3\nlea     r9, a2893; \"2893\"                                              ; +0x8b, 0x14015c8fb\nlea     r8, aMfd; \"mfd\"                                                ; +0x92, 0x14015c902\nmov     edx, 57h ; 'W'                                                 ; +0x99, 0x14015c909\nlea     rcx, aCSSCCS; \"%c%s%s%c%c%s\"                                   ; +0x9e, 0x14015c90e\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xa5, 0x14015c915\nmov     rcx, rax                                                       ; +0xab, 0x14015c91b\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xae, 0x14015c91e\nmov     [rsp+110h+var_F0], rax                                         ; +0xb4, 0x14015c924\nmov     r9d, r14d                                                      ; +0xb9, 0x14015c929\nmov     r8d, esi                                                       ; +0xbc, 0x14015c92c\nmov     edx, ebx                                                       ; +0xbf, 0x14015c92f\nlea     rcx, aAccountidIPage; \"&accountID=%i&page=%i&total=%i&secret=%\"... ; +0xc1, 0x14015c931\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xc8, 0x14015c938\nmov     rcx, rax                                                       ; +0xce, 0x14015c93e\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0xd1, 0x14015c941\nmov     rbx, 0FFFFFFFFFFFFFFFFh                                        ; +0xd7, 0x14015c947\nmov     r8, rbx                                                        ; +0xde, 0x14015c94e\ninc     r8; Size                                                       ; +0xe1, 0x14015c951\ncmp     byte ptr [rax+r8], 0                                           ; +0xe4, 0x14015c954\njnz     short loc_14015C951                                            ; +0xe9, 0x14015c959\nmov     rdx, rax; void *                                               ; +0xeb, 0x14015c95b\nlea     rcx, [rbp+57h+Src]; Src                                        ; +0xee, 0x14015c95e\ncall    sub_140041270                                                  ; +0xf2, 0x14015c962\nlea     rax, [rbp+57h+var_B0]                                          ; +0xf7, 0x14015c967\nmov     [rbp+57h+var_70], rax                                          ; +0xfb, 0x14015c96b\nlea     rax, [rbp+57h+var_90]                                          ; +0xff, 0x14015c96f\nmov     [rbp+57h+var_68], rax                                          ; +0x103, 0x14015c973\nxorps   xmm0, xmm0                                                     ; +0x107, 0x14015c977\nmovups  [rbp+57h+var_B0], xmm0                                         ; +0x10a, 0x14015c97a\nxor     esi, esi                                                       ; +0x10e, 0x14015c97e\nmov     [rbp+57h+var_A0], rsi                                          ; +0x110, 0x14015c980\nmov     [rbp+57h+var_98], rsi                                          ; +0x114, 0x14015c984\nmov     r8, rbx                                                        ; +0x118, 0x14015c988\nnop     dword ptr [rax+rax+00h]                                        ; +0x11b, 0x14015c98b\ninc     r8                                                             ; +0x120, 0x14015c990\ncmp     [rdi+r8], sil                                                  ; +0x123, 0x14015c993\njnz     short loc_14015C990                                            ; +0x127, 0x14015c997\nmov     rdx, rdi                                                       ; +0x129, 0x14015c999\nlea     rcx, [rbp+57h+var_B0]                                          ; +0x12c, 0x14015c99c\ncall    sub_14003A930                                                  ; +0x130, 0x14015c9a0\nnop                                                                    ; +0x135, 0x14015c9a5\nlea     rdx, [rbp+57h+Src]                                             ; +0x136, 0x14015c9a6\ncmp     [rbp+57h+var_40], 0Fh                                          ; +0x13a, 0x14015c9aa\ncmova   rdx, [rbp+57h+Src]                                             ; +0x13f, 0x14015c9af\nxorps   xmm0, xmm0                                                     ; +0x144, 0x14015c9b4\nmovups  [rbp+57h+var_90], xmm0                                         ; +0x147, 0x14015c9b7\nmov     [rbp+57h+var_80], rsi                                          ; +0x14b, 0x14015c9bb\nmov     [rbp+57h+var_78], rsi                                          ; +0x14f, 0x14015c9bf\ninc     rbx                                                            ; +0x153, 0x14015c9c3\ncmp     byte ptr [rdx+rbx], 0                                          ; +0x156, 0x14015c9c6\njnz     short loc_14015C9C3                                            ; +0x15a, 0x14015c9ca\nmov     r8, rbx                                                        ; +0x15c, 0x14015c9cc\nlea     rcx, [rbp+57h+var_90]                                          ; +0x15f, 0x14015c9cf\ncall    sub_14003A930                                                  ; +0x163, 0x14015c9d3\nnop                                                                    ; +0x168, 0x14015c9d8\nxorps   xmm0, xmm0                                                     ; +0x169, 0x14015c9d9\nmovups  [rbp+57h+var_D0], xmm0                                         ; +0x16c, 0x14015c9dc\nmov     [rbp+57h+var_C0], rsi                                          ; +0x170, 0x14015c9e0\nmov     [rbp+57h+var_B8], 0Fh                                          ; +0x174, 0x14015c9e4\nmov     ecx, 40h ; '@'                                                 ; +0x17c, 0x14015c9ec\ncall    sub_14003AA10                                                  ; +0x181, 0x14015c9f1\nmov     rdx, rax                                                       ; +0x186, 0x14015c9f6\nmov     qword ptr [rbp+57h+var_D0], rax                                ; +0x189, 0x14015c9f9\nmov     [rbp+57h+var_C0], 3Dh ; '='                                    ; +0x18d, 0x14015c9fd\nmov     [rbp+57h+var_B8], 3Fh ; '?'                                    ; +0x195, 0x14015ca05\nmovups  xmm0, cs:xmmword_140559AC8                                     ; +0x19d, 0x14015ca0d\nmovups  xmmword ptr [rax], xmm0                                        ; +0x1a4, 0x14015ca14\nmovups  xmm1, cs:xmmword_140559AD8                                     ; +0x1a7, 0x14015ca17\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x1ae, 0x14015ca1e\nmovups  xmm0, cs:xmmword_140559AE8                                     ; +0x1b2, 0x14015ca22\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x1b9, 0x14015ca29\nmovsd   xmm0, cs:qword_140559AF8                                       ; +0x1bd, 0x14015ca2d\nmovsd   qword ptr [rax+30h], xmm0                                      ; +0x1c5, 0x14015ca35\nmov     eax, cs:dword_140559B00                                        ; +0x1ca, 0x14015ca3a\nmov     [rdx+38h], eax                                                 ; +0x1d0, 0x14015ca40\nmovzx   eax, cs:byte_140559B04                                         ; +0x1d3, 0x14015ca43\nmov     [rdx+3Ch], al                                                  ; +0x1da, 0x14015ca4a\nmov     byte ptr [rdx+3Dh], 0                                          ; +0x1dd, 0x14015ca4d\nmov     dword ptr [rsp+110h+var_F0], 19h                               ; +0x1e1, 0x14015ca51\nlea     r9, [rbp+57h+var_B0]                                           ; +0x1e9, 0x14015ca59\nlea     r8, [rbp+57h+var_90]                                           ; +0x1ed, 0x14015ca5d\nlea     rdx, [rbp+57h+var_D0]                                          ; +0x1f1, 0x14015ca61\nmov     rcx, r15                                                       ; +0x1f5, 0x14015ca65\ncall    GameLevelManager__ProcessHttpRequest                           ; +0x1f8, 0x14015ca68\nnop                                                                    ; +0x1fd, 0x14015ca6d\nlea     rcx, [rbp+57h+Src]                                             ; +0x1fe, 0x14015ca6e\ncall    sub_14003A830                                                  ; +0x202, 0x14015ca72\nmov     rcx, [rbp+57h+var_38]                                          ; +0x207, 0x14015ca77\nxor     rcx, rsp; StackCookie                                          ; +0x20b, 0x14015ca7b\ncall    __security_check_cookie                                        ; +0x20e, 0x14015ca7e\nadd     rsp, 0E8h                                                      ; +0x213, 0x14015ca83\npop     r15                                                            ; +0x21a, 0x14015ca8a\npop     r14                                                            ; +0x21c, 0x14015ca8c\npop     rdi                                                            ; +0x21e, 0x14015ca8e\npop     rsi                                                            ; +0x21f, 0x14015ca8f\npop     rbx                                                            ; +0x220, 0x14015ca90\npop     rbp                                                            ; +0x221, 0x14015ca91\nretn                                                                   ; +0x222, 0x14015ca92", "xrefs": ["ProfilePage::loadPage @ 0x1403c6498", "<???> @ 0x1406caa7c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}