{"type": "func", "start": 5371166320, "end": 5371167032, "name": "GameLevelManager::resetStoredUserList", "pseudocode": "// \n// GameLevelManager::resetStoredUserList from 0x140257e70 to 0x140258138 (712 bytes)\n// \n// 14 xrefs:\n// > FriendsProfilePage::onUpdate @ 0x140216f7b\n// > GameLevelManager::onMuteUserCompleted @ 0x14024fa9f\n// > GameLevelManager::onFollowUserCompleted @ 0x140251104\n// > GameLevelManager::onAcceptFriendRequestCompleted @ 0x140255c30\n// > GameLevelManager::onBlockUserCompleted @ 0x140256b0e\n// > ProfilePage::init @ 0x140550bd9\n// > ProfilePage::init @ 0x140550c20\n// > ProfilePage::init @ 0x140550c67\n// > ProfilePage::init @ 0x140550cae\n// > ProfilePage::onUpdate @ 0x1405520af\n// > ProfilePage::onUpdate @ 0x1405520f6\n// > ProfilePage::onUpdate @ 0x14055213d\n// > ProfilePage::onUpdate @ 0x140552184\n// > <???> @ 0x14091c658\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:44 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall GameLevelManager::resetStoredUserList(__int64 a1, int a2)\n{\n  int v2; // edx\n  int v3; // edx\n  void *v4; // rcx\n  void *Block[2]; // [rsp+30h] [rbp-30h] BYREF\n  __m128i si128; // [rsp+40h] [rbp-20h]\n\n  if ( !a2 )\n  {\n    HIWORD(Block[1]) = 0;\n    si128 = _mm_load_si128((const __m128i *)&xmmword_1408365C0);\n    qmemcpy(Block, \"get_friend\", 10);\n    *(_DWORD *)((char *)&Block[1] + 2) = (unsigned __int8)aGetFriends[10];\n    cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1152), Block);\n    if ( si128.m128i_i64[1] <= 0xFuLL )\n      return;\n    v4 = Block[0];\n    if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n    {\n      v4 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    goto LABEL_21;\n  }\n  v2 = a2 - 1;\n  if ( !v2 )\n  {\n    HIWORD(Block[1]) = 0;\n    si128 = _mm_load_si128((const __m128i *)&xmmword_1408365C0);\n    qmemcpy(Block, \"get_blocke\", 10);\n    *(_DWORD *)((char *)&Block[1] + 2) = (unsigned __int8)aGetBlocked[10];\n    cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1152), Block);\n    if ( si128.m128i_i64[1] <= 0xFuLL )\n      return;\n    v4 = Block[0];\n    if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n    {\n      v4 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    goto LABEL_21;\n  }\n  v3 = v2 - 2;\n  if ( !v3 )\n  {\n    si128 = _mm_load_si128((const __m128i *)&xmmword_1408365E0);\n    strcpy((char *)Block, \"get_following\");\n    HIWORD(Block[1]) = 0;\n    cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1152), Block);\n    if ( si128.m128i_i64[1] <= 0xFuLL )\n      return;\n    v4 = Block[0];\n    if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n    {\n      v4 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    goto LABEL_21;\n  }\n  if ( v3 == 1 )\n  {\n    Block[1] = (void *)100;\n    si128 = _mm_load_si128((const __m128i *)&xmmword_1408365A0);\n    Block[0] = (void *)0x6574756D5F746567LL;\n    cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1152), Block);\n    if ( si128.m128i_i64[1] > 0xFuLL )\n    {\n      v4 = Block[0];\n      if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n      {\n        v4 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\nLABEL_21:\n      j_j_free(v4);\n    }\n  }\n}", "assembly": "; \n; GameLevelManager::resetStoredUserList from 0x140257e70 to 0x140258138 (712 bytes)\n; \n; 14 xrefs:\n; > FriendsProfilePage::onUpdate @ 0x140216f7b\n; > GameLevelManager::onMuteUserCompleted @ 0x14024fa9f\n; > GameLevelManager::onFollowUserCompleted @ 0x140251104\n; > GameLevelManager::onAcceptFriendRequestCompleted @ 0x140255c30\n; > GameLevelManager::onBlockUserCompleted @ 0x140256b0e\n; > ProfilePage::init @ 0x140550bd9\n; > ProfilePage::init @ 0x140550c20\n; > ProfilePage::init @ 0x140550c67\n; > ProfilePage::init @ 0x140550cae\n; > ProfilePage::onUpdate @ 0x1405520af\n; > ProfilePage::onUpdate @ 0x1405520f6\n; > ProfilePage::onUpdate @ 0x14055213d\n; > ProfilePage::onUpdate @ 0x140552184\n; > <???> @ 0x14091c658\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:44 +0000\n; \npush    rbp                                                            ; +0x0, 0x140257e70\nmov     rbp, rsp                                                       ; +0x2, 0x140257e72\nsub     rsp, 60h                                                       ; +0x5, 0x140257e75\nmov     rax, cs:__security_cookie                                      ; +0x9, 0x140257e79\nxor     rax, rsp                                                       ; +0x10, 0x140257e80\nmov     [rbp+var_10], rax                                              ; +0x13, 0x140257e83\ntest    edx, edx                                                       ; +0x17, 0x140257e87\njz      loc_140258089                                                  ; +0x19, 0x140257e89\nsub     edx, 1                                                         ; +0x1f, 0x140257e8f\njz      loc_140257FE5                                                  ; +0x22, 0x140257e92\nsub     edx, 2                                                         ; +0x28, 0x140257e98\njz      loc_140257F43                                                  ; +0x2b, 0x140257e9b\ncmp     edx, 1                                                         ; +0x31, 0x140257ea1\njnz     loc_140258126                                                  ; +0x34, 0x140257ea4\nxorps   xmm0, xmm0                                                     ; +0x3a, 0x140257eaa\nmovups  xmmword ptr [rbp+Block], xmm0                                  ; +0x3d, 0x140257ead\nmovdqa  xmm1, cs:xmmword_1408365A0                                     ; +0x41, 0x140257eb1\nmovdqu  [rbp+var_20], xmm1                                             ; +0x49, 0x140257eb9\nmovsd   xmm0, cs:qword_14075A4F8                                       ; +0x4e, 0x140257ebe\nmovsd   [rbp+Block], xmm0                                              ; +0x56, 0x140257ec6\nmovzx   eax, cs:byte_14075A500                                         ; +0x5b, 0x140257ecb\nmov     byte ptr [rbp+Block+8], al                                     ; +0x62, 0x140257ed2\nmov     byte ptr [rbp+Block+9], 0                                      ; +0x65, 0x140257ed5\nlea     rdx, [rbp+Block]                                               ; +0x69, 0x140257ed9\nmov     rcx, [rcx+480h]                                                ; +0x6d, 0x140257edd\ncall    cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::removeObjectForKey(std::string const &) ; +0x74, 0x140257ee4\nnop                                                                    ; +0x7a, 0x140257eea\nmov     rdx, qword ptr [rbp+var_20+8]                                  ; +0x7b, 0x140257eeb\ncmp     rdx, 0Fh                                                       ; +0x7f, 0x140257eef\njbe     loc_140258126                                                  ; +0x83, 0x140257ef3\ninc     rdx                                                            ; +0x89, 0x140257ef9\nmov     rcx, [rbp+Block]; Block                                        ; +0x8c, 0x140257efc\nmov     rax, rcx                                                       ; +0x90, 0x140257f00\ncmp     rdx, 1000h                                                     ; +0x93, 0x140257f03\njb      loc_140258121                                                  ; +0x9a, 0x140257f0a\nadd     rdx, 27h ; '''                                                 ; +0xa0, 0x140257f10\nmov     rcx, [rcx-8]                                                   ; +0xa4, 0x140257f14\nsub     rax, rcx                                                       ; +0xa8, 0x140257f18\nsub     rax, 8                                                         ; +0xab, 0x140257f1b\ncmp     rax, 1Fh                                                       ; +0xaf, 0x140257f1f\njbe     loc_140258121                                                  ; +0xb3, 0x140257f23\nmov     [rsp+60h+Reserved], 0; Reserved                                ; +0xb9, 0x140257f29\nxor     r9d, r9d; LineNo                                               ; +0xc2, 0x140257f32\nxor     r8d, r8d; FileName                                             ; +0xc5, 0x140257f35\nxor     edx, edx; FunctionName                                         ; +0xc8, 0x140257f38\nxor     ecx, ecx; Expression                                           ; +0xca, 0x140257f3a\ncall    cs:_invoke_watson                                              ; +0xcc, 0x140257f3c\ndb 0CCh                                                                ; +0xd2, 0x140257f42\nxorps   xmm0, xmm0                                                     ; +0xd3, 0x140257f43\nmovups  xmmword ptr [rbp+Block], xmm0                                  ; +0xd6, 0x140257f46\nmovdqa  xmm1, cs:xmmword_1408365E0                                     ; +0xda, 0x140257f4a\nmovdqu  [rbp+var_20], xmm1                                             ; +0xe2, 0x140257f52\nmovsd   xmm0, cs:qword_14075A508                                       ; +0xe7, 0x140257f57\nmovsd   [rbp+Block], xmm0                                              ; +0xef, 0x140257f5f\nmov     eax, cs:dword_14075A510                                        ; +0xf4, 0x140257f64\nmov     dword ptr [rbp+Block+8], eax                                   ; +0xfa, 0x140257f6a\nmovzx   eax, cs:byte_14075A514                                         ; +0xfd, 0x140257f6d\nmov     byte ptr [rbp+Block+0Ch], al                                   ; +0x104, 0x140257f74\nmov     byte ptr [rbp+Block+0Dh], 0                                    ; +0x107, 0x140257f77\nlea     rdx, [rbp+Block]                                               ; +0x10b, 0x140257f7b\nmov     rcx, [rcx+480h]                                                ; +0x10f, 0x140257f7f\ncall    cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::removeObjectForKey(std::string const &) ; +0x116, 0x140257f86\nnop                                                                    ; +0x11c, 0x140257f8c\nmov     rdx, qword ptr [rbp+var_20+8]                                  ; +0x11d, 0x140257f8d\ncmp     rdx, 0Fh                                                       ; +0x121, 0x140257f91\njbe     loc_140258126                                                  ; +0x125, 0x140257f95\ninc     rdx                                                            ; +0x12b, 0x140257f9b\nmov     rcx, [rbp+Block]                                               ; +0x12e, 0x140257f9e\nmov     rax, rcx                                                       ; +0x132, 0x140257fa2\ncmp     rdx, 1000h                                                     ; +0x135, 0x140257fa5\njb      loc_140258121                                                  ; +0x13c, 0x140257fac\nadd     rdx, 27h ; '''                                                 ; +0x142, 0x140257fb2\nmov     rcx, [rcx-8]                                                   ; +0x146, 0x140257fb6\nsub     rax, rcx                                                       ; +0x14a, 0x140257fba\nsub     rax, 8                                                         ; +0x14d, 0x140257fbd\ncmp     rax, 1Fh                                                       ; +0x151, 0x140257fc1\njbe     loc_140258121                                                  ; +0x155, 0x140257fc5\nmov     [rsp+60h+Reserved], 0; Reserved                                ; +0x15b, 0x140257fcb\nxor     r9d, r9d; LineNo                                               ; +0x164, 0x140257fd4\nxor     r8d, r8d; FileName                                             ; +0x167, 0x140257fd7\nxor     edx, edx; FunctionName                                         ; +0x16a, 0x140257fda\nxor     ecx, ecx; Expression                                           ; +0x16c, 0x140257fdc\ncall    cs:_invoke_watson                                              ; +0x16e, 0x140257fde\ndb 0CCh                                                                ; +0x174, 0x140257fe4\nxorps   xmm0, xmm0                                                     ; +0x175, 0x140257fe5\nmovups  xmmword ptr [rbp+Block], xmm0                                  ; +0x178, 0x140257fe8\nmovdqa  xmm1, cs:xmmword_1408365C0                                     ; +0x17c, 0x140257fec\nmovdqu  [rbp+var_20], xmm1                                             ; +0x184, 0x140257ff4\nmovsd   xmm0, qword ptr cs:aGetBlocked; \"get_blocked\"                  ; +0x189, 0x140257ff9\nmovsd   [rbp+Block], xmm0                                              ; +0x191, 0x140258001\nmovzx   eax, word ptr cs:aGetBlocked+8; \"ked\"                          ; +0x196, 0x140258006\nmov     word ptr [rbp+Block+8], ax                                     ; +0x19d, 0x14025800d\nmovzx   eax, byte ptr cs:aGetBlocked+0Ah; \"d\"                          ; +0x1a1, 0x140258011\nmov     byte ptr [rbp+Block+0Ah], al                                   ; +0x1a8, 0x140258018\nmov     byte ptr [rbp+Block+0Bh], 0                                    ; +0x1ab, 0x14025801b\nlea     rdx, [rbp+Block]                                               ; +0x1af, 0x14025801f\nmov     rcx, [rcx+480h]                                                ; +0x1b3, 0x140258023\ncall    cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::removeObjectForKey(std::string const &) ; +0x1ba, 0x14025802a\nnop                                                                    ; +0x1c0, 0x140258030\nmov     rdx, qword ptr [rbp+var_20+8]                                  ; +0x1c1, 0x140258031\ncmp     rdx, 0Fh                                                       ; +0x1c5, 0x140258035\njbe     loc_140258126                                                  ; +0x1c9, 0x140258039\ninc     rdx                                                            ; +0x1cf, 0x14025803f\nmov     rcx, [rbp+Block]                                               ; +0x1d2, 0x140258042\nmov     rax, rcx                                                       ; +0x1d6, 0x140258046\ncmp     rdx, 1000h                                                     ; +0x1d9, 0x140258049\njb      loc_140258121                                                  ; +0x1e0, 0x140258050\nadd     rdx, 27h ; '''                                                 ; +0x1e6, 0x140258056\nmov     rcx, [rcx-8]                                                   ; +0x1ea, 0x14025805a\nsub     rax, rcx                                                       ; +0x1ee, 0x14025805e\nsub     rax, 8                                                         ; +0x1f1, 0x140258061\ncmp     rax, 1Fh                                                       ; +0x1f5, 0x140258065\njbe     loc_140258121                                                  ; +0x1f9, 0x140258069\nmov     [rsp+60h+Reserved], 0; Reserved                                ; +0x1ff, 0x14025806f\nxor     r9d, r9d; LineNo                                               ; +0x208, 0x140258078\nxor     r8d, r8d; FileName                                             ; +0x20b, 0x14025807b\nxor     edx, edx; FunctionName                                         ; +0x20e, 0x14025807e\nxor     ecx, ecx; Expression                                           ; +0x210, 0x140258080\ncall    cs:_invoke_watson                                              ; +0x212, 0x140258082\ndb 0CCh                                                                ; +0x218, 0x140258088\nxorps   xmm0, xmm0                                                     ; +0x219, 0x140258089\nmovups  xmmword ptr [rbp+Block], xmm0                                  ; +0x21c, 0x14025808c\nmovdqa  xmm1, cs:xmmword_1408365C0                                     ; +0x220, 0x140258090\nmovdqu  [rbp+var_20], xmm1                                             ; +0x228, 0x140258098\nmovsd   xmm0, qword ptr cs:aGetFriends; \"get_friends\"                  ; +0x22d, 0x14025809d\nmovsd   [rbp+Block], xmm0                                              ; +0x235, 0x1402580a5\nmovzx   eax, word ptr cs:aGetFriends+8; \"nds\"                          ; +0x23a, 0x1402580aa\nmov     word ptr [rbp+Block+8], ax                                     ; +0x241, 0x1402580b1\nmovzx   eax, byte ptr cs:aGetFriends+0Ah; \"s\"                          ; +0x245, 0x1402580b5\nmov     byte ptr [rbp+Block+0Ah], al                                   ; +0x24c, 0x1402580bc\nmov     byte ptr [rbp+Block+0Bh], 0                                    ; +0x24f, 0x1402580bf\nlea     rdx, [rbp+Block]                                               ; +0x253, 0x1402580c3\nmov     rcx, [rcx+480h]                                                ; +0x257, 0x1402580c7\ncall    cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::removeObjectForKey(std::string const &) ; +0x25e, 0x1402580ce\nnop                                                                    ; +0x264, 0x1402580d4\nmov     rdx, qword ptr [rbp+var_20+8]                                  ; +0x265, 0x1402580d5\ncmp     rdx, 0Fh                                                       ; +0x269, 0x1402580d9\njbe     short loc_140258126                                            ; +0x26d, 0x1402580dd\ninc     rdx                                                            ; +0x26f, 0x1402580df\nmov     rcx, [rbp+Block]                                               ; +0x272, 0x1402580e2\nmov     rax, rcx                                                       ; +0x276, 0x1402580e6\ncmp     rdx, 1000h                                                     ; +0x279, 0x1402580e9\njb      short loc_140258121                                            ; +0x280, 0x1402580f0\nadd     rdx, 27h ; '''                                                 ; +0x282, 0x1402580f2\nmov     rcx, [rcx-8]                                                   ; +0x286, 0x1402580f6\nsub     rax, rcx                                                       ; +0x28a, 0x1402580fa\nsub     rax, 8                                                         ; +0x28d, 0x1402580fd\ncmp     rax, 1Fh                                                       ; +0x291, 0x140258101\njbe     short loc_140258121                                            ; +0x295, 0x140258105\nmov     [rsp+60h+Reserved], 0; Reserved                                ; +0x297, 0x140258107\nxor     r9d, r9d; LineNo                                               ; +0x2a0, 0x140258110\nxor     r8d, r8d; FileName                                             ; +0x2a3, 0x140258113\nxor     edx, edx; FunctionName                                         ; +0x2a6, 0x140258116\nxor     ecx, ecx; Expression                                           ; +0x2a8, 0x140258118\ncall    cs:_invoke_watson                                              ; +0x2aa, 0x14025811a\ndb 0CCh                                                                ; +0x2b0, 0x140258120\ncall    j_j_free                                                       ; +0x2b1, 0x140258121\nmov     rcx, [rbp+var_10]                                              ; +0x2b6, 0x140258126\nxor     rcx, rsp; StackCookie                                          ; +0x2ba, 0x14025812a\ncall    __security_check_cookie                                        ; +0x2bd, 0x14025812d\nadd     rsp, 60h                                                       ; +0x2c2, 0x140258132\npop     rbp                                                            ; +0x2c6, 0x140258136\nretn                                                                   ; +0x2c7, 0x140258137", "xrefs": ["FriendsProfilePage::onUpdate @ 0x140216f7b", "GameLevelManager::onMuteUserCompleted @ 0x14024fa9f", "GameLevelManager::onFollowUserCompleted @ 0x140251104", "GameLevelManager::onAcceptFriendRequestCompleted @ 0x140255c30", "GameLevelManager::onBlockUserCompleted @ 0x140256b0e", "ProfilePage::init @ 0x140550bd9", "ProfilePage::init @ 0x140550c20", "ProfilePage::init @ 0x140550c67", "ProfilePage::init @ 0x140550cae", "ProfilePage::onUpdate @ 0x1405520af", "ProfilePage::onUpdate @ 0x1405520f6", "ProfilePage::onUpdate @ 0x14055213d", "ProfilePage::onUpdate @ 0x140552184", "<???> @ 0x14091c658"], "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"}