{"type": "func", "start": 5371060240, "end": 5371060808, "name": "GameLevelManager::storeCommentsResult", "pseudocode": "// \n// GameLevelManager::storeCommentsResult from 0x14023e010 to 0x14023e248 (568 bytes)\n// \n// 5 xrefs:\n// > GameLevelManager::onGetUserMessagesCompleted @ 0x14023b31a\n// > GameLevelManager::onGetLevelCommentsCompleted @ 0x14023cdd5\n// > GameLevelManager::onGetAccountCommentsCompleted @ 0x14023d56c\n// > GameLevelManager::onGetFriendRequestsCompleted @ 0x140254a49\n// > <???> @ 0x14091c148\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:35 +0000\n// \n\n// Hidden C++ exception states: #wind=4\nvoid __fastcall GameLevelManager::storeCommentsResult(__int64 a1, __int64 a2, _QWORD *a3, _BYTE *a4)\n{\n  size_t v8; // rbx\n  size_t v9; // r8\n  void *v10; // rcx\n  size_t v11; // r8\n  _BYTE *v12; // rdx\n  __int64 v13; // rbx\n  __int64 v14; // rax\n  void *v15; // rcx\n  void *v16; // rcx\n  void *Block[2]; // [rsp+38h] [rbp-70h] BYREF\n  __m128i si128; // [rsp+48h] [rbp-60h]\n  void *v19[2]; // [rsp+58h] [rbp-50h] BYREF\n  __int128 v20; // [rsp+68h] [rbp-40h]\n\n  GameLevelManager::makeTimeStamp(a1, a4);\n  *(_OWORD *)Block = 0;\n  si128 = 0;\n  v8 = -1;\n  v9 = -1;\n  do\n    ++v9;\n  while ( a4[v9] );\n  sub_14003D230(Block, a4, v9);\n  cocos2d::CCDictionary::setObject(*(_QWORD *)(a1 + 1152), a2, Block);\n  if ( si128.m128i_i64[1] > 0xFuLL )\n  {\n    v10 = Block[0];\n    if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n    {\n      v10 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v10);\n  }\n  *(_OWORD *)v19 = 0;\n  v20 = 0;\n  v11 = -1;\n  do\n    ++v11;\n  while ( a4[v11] );\n  sub_14003D230(v19, a4, v11);\n  v12 = a3;\n  if ( a3[3] > 0xFu )\n    v12 = (_BYTE *)*a3;\n  *(_OWORD *)Block = 0;\n  si128 = 0;\n  do\n    ++v8;\n  while ( v12[v8] );\n  sub_14003D230(Block, v12, v8);\n  v13 = *(_QWORD *)(a1 + 1160);\n  v14 = cocos2d::CCString::create(Block);\n  cocos2d::CCDictionary::setObject(v13, v14, v19);\n  if ( si128.m128i_i64[1] > 0xFuLL )\n  {\n    v15 = Block[0];\n    if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n    {\n      v15 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v15 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v15);\n  }\n  si128 = _mm_load_si128((const __m128i *)&Size);\n  LOBYTE(Block[0]) = 0;\n  if ( *((_QWORD *)&v20 + 1) > 0xFu )\n  {\n    v16 = v19[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v20 + 1) + 1LL) >= 0x1000 )\n    {\n      v16 = *((void **)v19[0] - 1);\n      if ( (unsigned __int64)((char *)v19[0] - (char *)v16 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v16);\n  }\n  sub_14003D310((__int64)a3);\n}", "assembly": "; \n; GameLevelManager::storeCommentsResult from 0x14023e010 to 0x14023e248 (568 bytes)\n; \n; 5 xrefs:\n; > GameLevelManager::onGetUserMessagesCompleted @ 0x14023b31a\n; > GameLevelManager::onGetLevelCommentsCompleted @ 0x14023cdd5\n; > GameLevelManager::onGetAccountCommentsCompleted @ 0x14023d56c\n; > GameLevelManager::onGetFriendRequestsCompleted @ 0x140254a49\n; > <???> @ 0x14091c148\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:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x14023e010\npush    rbp                                                            ; +0x2, 0x14023e012\npush    rsi                                                            ; +0x3, 0x14023e013\npush    rdi                                                            ; +0x4, 0x14023e014\npush    r14                                                            ; +0x5, 0x14023e015\nsub     rsp, 80h                                                       ; +0x7, 0x14023e017\nmov     rax, cs:__security_cookie                                      ; +0xe, 0x14023e01e\nxor     rax, rsp                                                       ; +0x15, 0x14023e025\nmov     [rsp+0A8h+var_30], rax                                         ; +0x18, 0x14023e028\nmov     rdi, r9                                                        ; +0x1d, 0x14023e02d\nmov     rsi, r8                                                        ; +0x20, 0x14023e030\nmov     rbp, rdx                                                       ; +0x23, 0x14023e033\nmov     r14, rcx                                                       ; +0x26, 0x14023e036\nmov     [rsp+0A8h+var_78], r8                                          ; +0x29, 0x14023e039\nmov     rdx, r9                                                        ; +0x2e, 0x14023e03e\ncall    GameLevelManager__makeTimeStamp                                ; +0x31, 0x14023e041\nxorps   xmm0, xmm0                                                     ; +0x36, 0x14023e046\nmovups  xmmword ptr [rsp+0A8h+Block], xmm0                             ; +0x39, 0x14023e049\nxorps   xmm1, xmm1                                                     ; +0x3e, 0x14023e04e\nmovdqu  [rsp+0A8h+var_60], xmm1                                        ; +0x41, 0x14023e051\nmov     rbx, 0FFFFFFFFFFFFFFFFh                                        ; +0x47, 0x14023e057\nmov     r8, rbx                                                        ; +0x4e, 0x14023e05e\ninc     r8                                                             ; +0x51, 0x14023e061\ncmp     byte ptr [rdi+r8], 0                                           ; +0x54, 0x14023e064\njnz     short loc_14023E061                                            ; +0x59, 0x14023e069\nmov     rdx, rdi                                                       ; +0x5b, 0x14023e06b\nlea     rcx, [rsp+0A8h+Block]                                          ; +0x5e, 0x14023e06e\ncall    sub_14003D230                                                  ; +0x63, 0x14023e073\nnop                                                                    ; +0x68, 0x14023e078\nlea     r8, [rsp+0A8h+Block]                                           ; +0x69, 0x14023e079\nmov     rdx, rbp                                                       ; +0x6e, 0x14023e07e\nmov     rcx, [r14+480h]                                                ; +0x71, 0x14023e081\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 &) ; +0x78, 0x14023e088\nnop                                                                    ; +0x7e, 0x14023e08e\nmov     rdx, qword ptr [rsp+0A8h+var_60+8]                             ; +0x7f, 0x14023e08f\ncmp     rdx, 0Fh                                                       ; +0x84, 0x14023e094\njbe     short loc_14023E0E2                                            ; +0x88, 0x14023e098\ninc     rdx                                                            ; +0x8a, 0x14023e09a\nmov     rcx, [rsp+0A8h+Block]; Block                                   ; +0x8d, 0x14023e09d\nmov     rax, rcx                                                       ; +0x92, 0x14023e0a2\ncmp     rdx, 1000h                                                     ; +0x95, 0x14023e0a5\njb      short loc_14023E0DD                                            ; +0x9c, 0x14023e0ac\nadd     rdx, 27h ; '''                                                 ; +0x9e, 0x14023e0ae\nmov     rcx, [rcx-8]                                                   ; +0xa2, 0x14023e0b2\nsub     rax, rcx                                                       ; +0xa6, 0x14023e0b6\nsub     rax, 8                                                         ; +0xa9, 0x14023e0b9\ncmp     rax, 1Fh                                                       ; +0xad, 0x14023e0bd\njbe     short loc_14023E0DD                                            ; +0xb1, 0x14023e0c1\nmov     [rsp+0A8h+Reserved], 0; Reserved                               ; +0xb3, 0x14023e0c3\nxor     r9d, r9d; LineNo                                               ; +0xbc, 0x14023e0cc\nxor     r8d, r8d; FileName                                             ; +0xbf, 0x14023e0cf\nxor     edx, edx; FunctionName                                         ; +0xc2, 0x14023e0d2\nxor     ecx, ecx; Expression                                           ; +0xc4, 0x14023e0d4\ncall    cs:_invoke_watson                                              ; +0xc6, 0x14023e0d6\ndb 0CCh                                                                ; +0xcc, 0x14023e0dc\ncall    j_j_free                                                       ; +0xcd, 0x14023e0dd\nxorps   xmm0, xmm0                                                     ; +0xd2, 0x14023e0e2\nmovups  xmmword ptr [rsp+0A8h+var_50], xmm0                            ; +0xd5, 0x14023e0e5\nxorps   xmm1, xmm1                                                     ; +0xda, 0x14023e0ea\nmovdqu  [rsp+0A8h+var_40], xmm1                                        ; +0xdd, 0x14023e0ed\nmov     r8, rbx                                                        ; +0xe3, 0x14023e0f3\ninc     r8                                                             ; +0xe6, 0x14023e0f6\ncmp     byte ptr [rdi+r8], 0                                           ; +0xe9, 0x14023e0f9\njnz     short loc_14023E0F6                                            ; +0xee, 0x14023e0fe\nmov     rdx, rdi                                                       ; +0xf0, 0x14023e100\nlea     rcx, [rsp+0A8h+var_50]                                         ; +0xf3, 0x14023e103\ncall    sub_14003D230                                                  ; +0xf8, 0x14023e108\nnop                                                                    ; +0xfd, 0x14023e10d\nmov     rdx, rsi                                                       ; +0xfe, 0x14023e10e\ncmp     qword ptr [rsi+18h], 0Fh                                       ; +0x101, 0x14023e111\njbe     short loc_14023E11B                                            ; +0x106, 0x14023e116\nmov     rdx, [rsi]                                                     ; +0x108, 0x14023e118\nxorps   xmm0, xmm0                                                     ; +0x10b, 0x14023e11b\nmovups  xmmword ptr [rsp+0A8h+Block], xmm0                             ; +0x10e, 0x14023e11e\nxorps   xmm1, xmm1                                                     ; +0x113, 0x14023e123\nmovdqu  [rsp+0A8h+var_60], xmm1                                        ; +0x116, 0x14023e126\nnop     dword ptr [rax+00h]                                            ; +0x11c, 0x14023e12c\ninc     rbx                                                            ; +0x120, 0x14023e130\ncmp     byte ptr [rdx+rbx], 0                                          ; +0x123, 0x14023e133\njnz     short loc_14023E130                                            ; +0x127, 0x14023e137\nmov     r8, rbx                                                        ; +0x129, 0x14023e139\nlea     rcx, [rsp+0A8h+Block]                                          ; +0x12c, 0x14023e13c\ncall    sub_14003D230                                                  ; +0x131, 0x14023e141\nnop                                                                    ; +0x136, 0x14023e146\nmov     rbx, [r14+488h]                                                ; +0x137, 0x14023e147\nlea     rcx, [rsp+0A8h+Block]                                          ; +0x13e, 0x14023e14e\ncall    cs:?create@CCString@cocos2d@@SAPEAV12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCString::create(std::string const &) ; +0x143, 0x14023e153\nmov     rdx, rax                                                       ; +0x149, 0x14023e159\nlea     r8, [rsp+0A8h+var_50]                                          ; +0x14c, 0x14023e15c\nmov     rcx, rbx                                                       ; +0x151, 0x14023e161\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 &) ; +0x154, 0x14023e164\nnop                                                                    ; +0x15a, 0x14023e16a\nmov     rdx, qword ptr [rsp+0A8h+var_60+8]                             ; +0x15b, 0x14023e16b\ncmp     rdx, 0Fh                                                       ; +0x160, 0x14023e170\njbe     short loc_14023E1BE                                            ; +0x164, 0x14023e174\ninc     rdx                                                            ; +0x166, 0x14023e176\nmov     rcx, [rsp+0A8h+Block]; Block                                   ; +0x169, 0x14023e179\nmov     rax, rcx                                                       ; +0x16e, 0x14023e17e\ncmp     rdx, 1000h                                                     ; +0x171, 0x14023e181\njb      short loc_14023E1B9                                            ; +0x178, 0x14023e188\nadd     rdx, 27h ; '''                                                 ; +0x17a, 0x14023e18a\nmov     rcx, [rcx-8]                                                   ; +0x17e, 0x14023e18e\nsub     rax, rcx                                                       ; +0x182, 0x14023e192\nsub     rax, 8                                                         ; +0x185, 0x14023e195\ncmp     rax, 1Fh                                                       ; +0x189, 0x14023e199\njbe     short loc_14023E1B9                                            ; +0x18d, 0x14023e19d\nmov     [rsp+0A8h+Reserved], 0; Reserved                               ; +0x18f, 0x14023e19f\nxor     r9d, r9d; LineNo                                               ; +0x198, 0x14023e1a8\nxor     r8d, r8d; FileName                                             ; +0x19b, 0x14023e1ab\nxor     edx, edx; FunctionName                                         ; +0x19e, 0x14023e1ae\nxor     ecx, ecx; Expression                                           ; +0x1a0, 0x14023e1b0\ncall    cs:_invoke_watson                                              ; +0x1a2, 0x14023e1b2\ndb 0CCh                                                                ; +0x1a8, 0x14023e1b8\ncall    j_j_free                                                       ; +0x1a9, 0x14023e1b9\nmovdqa  xmm0, cs:Size                                                  ; +0x1ae, 0x14023e1be\nmovdqu  [rsp+0A8h+var_60], xmm0                                        ; +0x1b6, 0x14023e1c6\nmov     byte ptr [rsp+0A8h+Block], 0                                   ; +0x1bc, 0x14023e1cc\nmov     rdx, qword ptr [rsp+0A8h+var_40+8]                             ; +0x1c1, 0x14023e1d1\ncmp     rdx, 0Fh                                                       ; +0x1c6, 0x14023e1d6\njbe     short loc_14023E225                                            ; +0x1ca, 0x14023e1da\ninc     rdx                                                            ; +0x1cc, 0x14023e1dc\nmov     rcx, [rsp+0A8h+var_50]; Block                                  ; +0x1cf, 0x14023e1df\nmov     rax, rcx                                                       ; +0x1d4, 0x14023e1e4\ncmp     rdx, 1000h                                                     ; +0x1d7, 0x14023e1e7\njb      short loc_14023E21F                                            ; +0x1de, 0x14023e1ee\nadd     rdx, 27h ; '''                                                 ; +0x1e0, 0x14023e1f0\nmov     rcx, [rcx-8]                                                   ; +0x1e4, 0x14023e1f4\nsub     rax, rcx                                                       ; +0x1e8, 0x14023e1f8\nsub     rax, 8                                                         ; +0x1eb, 0x14023e1fb\ncmp     rax, 1Fh                                                       ; +0x1ef, 0x14023e1ff\njbe     short loc_14023E21F                                            ; +0x1f3, 0x14023e203\nmov     [rsp+0A8h+Reserved], 0; Reserved                               ; +0x1f5, 0x14023e205\nxor     r9d, r9d; LineNo                                               ; +0x1fe, 0x14023e20e\nxor     r8d, r8d; FileName                                             ; +0x201, 0x14023e211\nxor     edx, edx; FunctionName                                         ; +0x204, 0x14023e214\nxor     ecx, ecx; Expression                                           ; +0x206, 0x14023e216\ncall    cs:_invoke_watson                                              ; +0x208, 0x14023e218\ndb 0CCh                                                                ; +0x20e, 0x14023e21e\ncall    j_j_free                                                       ; +0x20f, 0x14023e21f\nnop                                                                    ; +0x214, 0x14023e224\nmov     rcx, rsi                                                       ; +0x215, 0x14023e225\ncall    sub_14003D310                                                  ; +0x218, 0x14023e228\nmov     rcx, [rsp+0A8h+var_30]                                         ; +0x21d, 0x14023e22d\nxor     rcx, rsp; StackCookie                                          ; +0x222, 0x14023e232\ncall    __security_check_cookie                                        ; +0x225, 0x14023e235\nadd     rsp, 80h                                                       ; +0x22a, 0x14023e23a\npop     r14                                                            ; +0x231, 0x14023e241\npop     rdi                                                            ; +0x233, 0x14023e243\npop     rsi                                                            ; +0x234, 0x14023e244\npop     rbp                                                            ; +0x235, 0x14023e245\npop     rbx                                                            ; +0x236, 0x14023e246\nretn                                                                   ; +0x237, 0x14023e247", "xrefs": ["GameLevelManager::onGetUserMessagesCompleted @ 0x14023b31a", "GameLevelManager::onGetLevelCommentsCompleted @ 0x14023cdd5", "GameLevelManager::onGetAccountCommentsCompleted @ 0x14023d56c", "GameLevelManager::onGetFriendRequestsCompleted @ 0x140254a49", "<???> @ 0x14091c148"], "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"}