{"type": "func", "start": 5371165568, "end": 5371166306, "name": "GameLevelManager::getStoredUserList", "pseudocode": "// \n// GameLevelManager::getStoredUserList from 0x140257b80 to 0x140257e62 (738 bytes)\n// \n// 6 xrefs:\n// > FriendPickerPopup::init @ 0x1400e752c\n// > GJCompactUserCell::buildUserRow @ 0x14015832c\n// > FriendsProfilePage::init @ 0x1402144de\n// > GameLevelManager::onRemoveFriendCompleted @ 0x1402564bb\n// > GameLevelManager::removeUserFromList @ 0x1402571c0\n// > <???> @ 0x14091c64c\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\n__int64 __fastcall GameLevelManager::getStoredUserList(__int64 a1, int a2)\n{\n  int v2; // edx\n  int v3; // edx\n  __int64 v5; // rbx\n  void *v6; // r8\n  void *Block[2]; // [rsp+30h] [rbp-30h] BYREF\n  __m128i si128; // [rsp+40h] [rbp-20h]\n\n  if ( a2 )\n  {\n    v2 = a2 - 1;\n    if ( v2 )\n    {\n      v3 = v2 - 2;\n      if ( v3 )\n      {\n        if ( v3 != 1 )\n          return 0;\n        Block[1] = (void *)100;\n        si128 = _mm_load_si128((const __m128i *)&xmmword_1408365A0);\n        Block[0] = (void *)0x6574756D5F746567LL;\n        v5 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1152), Block);\n        if ( si128.m128i_i64[1] > 0xFuLL )\n        {\n          v6 = Block[0];\n          if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n          {\n            v6 = *((void **)Block[0] - 1);\n            if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F )\n              invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n          }\nLABEL_22:\n          j_j_free(v6);\n        }\n      }\n      else\n      {\n        si128 = _mm_load_si128((const __m128i *)&xmmword_1408365E0);\n        strcpy((char *)Block, \"get_following\");\n        HIWORD(Block[1]) = 0;\n        v5 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1152), Block);\n        if ( si128.m128i_i64[1] > 0xFuLL )\n        {\n          v6 = Block[0];\n          if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n          {\n            v6 = *((void **)Block[0] - 1);\n            if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F )\n              invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n          }\n          goto LABEL_22;\n        }\n      }\n    }\n    else\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      v5 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1152), Block);\n      if ( si128.m128i_i64[1] > 0xFuLL )\n      {\n        v6 = Block[0];\n        if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n        {\n          v6 = *((void **)Block[0] - 1);\n          if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F )\n            invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n        }\n        goto LABEL_22;\n      }\n    }\n  }\n  else\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    v5 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 1152), Block);\n    if ( si128.m128i_i64[1] > 0xFuLL )\n    {\n      v6 = Block[0];\n      if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n      {\n        v6 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      goto LABEL_22;\n    }\n  }\n  return v5;\n}", "assembly": "; \n; GameLevelManager::getStoredUserList from 0x140257b80 to 0x140257e62 (738 bytes)\n; \n; 6 xrefs:\n; > FriendPickerPopup::init @ 0x1400e752c\n; > GJCompactUserCell::buildUserRow @ 0x14015832c\n; > FriendsProfilePage::init @ 0x1402144de\n; > GameLevelManager::onRemoveFriendCompleted @ 0x1402564bb\n; > GameLevelManager::removeUserFromList @ 0x1402571c0\n; > <???> @ 0x14091c64c\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; \nmov     [rsp-8+arg_8], rbx                                             ; +0x0, 0x140257b80\npush    rbp                                                            ; +0x5, 0x140257b85\nmov     rbp, rsp                                                       ; +0x6, 0x140257b86\nsub     rsp, 60h                                                       ; +0x9, 0x140257b89\nmov     rax, cs:__security_cookie                                      ; +0xd, 0x140257b8d\nxor     rax, rsp                                                       ; +0x14, 0x140257b94\nmov     [rbp+var_10], rax                                              ; +0x17, 0x140257b97\ntest    edx, edx                                                       ; +0x1b, 0x140257b9b\njz      loc_140257DA6                                                  ; +0x1d, 0x140257b9d\nsub     edx, 1                                                         ; +0x23, 0x140257ba3\njz      loc_140257D00                                                  ; +0x26, 0x140257ba6\nsub     edx, 2                                                         ; +0x2c, 0x140257bac\njz      loc_140257C5C                                                  ; +0x2f, 0x140257baf\ncmp     edx, 1                                                         ; +0x35, 0x140257bb5\njz      short loc_140257BC1                                            ; +0x38, 0x140257bb8\nxor     eax, eax                                                       ; +0x3a, 0x140257bba\njmp     loc_140257E4B                                                  ; +0x3c, 0x140257bbc\nxorps   xmm0, xmm0                                                     ; +0x41, 0x140257bc1\nmovups  xmmword ptr [rbp+Block], xmm0                                  ; +0x44, 0x140257bc4\nmovdqa  xmm1, cs:xmmword_1408365A0                                     ; +0x48, 0x140257bc8\nmovdqu  [rbp+var_20], xmm1                                             ; +0x50, 0x140257bd0\nmovsd   xmm0, cs:qword_14075A4F8                                       ; +0x55, 0x140257bd5\nmovsd   [rbp+Block], xmm0                                              ; +0x5d, 0x140257bdd\nmovzx   eax, cs:byte_14075A500                                         ; +0x62, 0x140257be2\nmov     byte ptr [rbp+Block+8], al                                     ; +0x69, 0x140257be9\nmov     byte ptr [rbp+Block+9], 0                                      ; +0x6c, 0x140257bec\nlea     rdx, [rbp+Block]                                               ; +0x70, 0x140257bf0\nmov     rcx, [rcx+480h]                                                ; +0x74, 0x140257bf4\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x7b, 0x140257bfb\nmov     rbx, rax                                                       ; +0x81, 0x140257c01\nmov     rdx, qword ptr [rbp+var_20+8]                                  ; +0x84, 0x140257c04\ncmp     rdx, 0Fh                                                       ; +0x88, 0x140257c08\njbe     loc_140257E48                                                  ; +0x8c, 0x140257c0c\ninc     rdx                                                            ; +0x92, 0x140257c12\nmov     r8, [rbp+Block]                                                ; +0x95, 0x140257c15\nmov     rcx, r8                                                        ; +0x99, 0x140257c19\ncmp     rdx, 1000h                                                     ; +0x9c, 0x140257c1c\njb      loc_140257E40                                                  ; +0xa3, 0x140257c23\nadd     rdx, 27h ; '''                                                 ; +0xa9, 0x140257c29\nmov     r8, [r8-8]                                                     ; +0xad, 0x140257c2d\nsub     rcx, r8                                                        ; +0xb1, 0x140257c31\nsub     rcx, 8                                                         ; +0xb4, 0x140257c34\ncmp     rcx, 1Fh                                                       ; +0xb8, 0x140257c38\njbe     loc_140257E40                                                  ; +0xbc, 0x140257c3c\nmov     [rsp+60h+Reserved], 0; Reserved                                ; +0xc2, 0x140257c42\nxor     r9d, r9d; LineNo                                               ; +0xcb, 0x140257c4b\nxor     r8d, r8d; FileName                                             ; +0xce, 0x140257c4e\nxor     edx, edx; FunctionName                                         ; +0xd1, 0x140257c51\nxor     ecx, ecx; Expression                                           ; +0xd3, 0x140257c53\ncall    cs:_invoke_watson                                              ; +0xd5, 0x140257c55\nalign 4                                                                ; +0xdb, 0x140257c5b\nxorps   xmm0, xmm0                                                     ; +0xdc, 0x140257c5c\nmovups  xmmword ptr [rbp+Block], xmm0                                  ; +0xdf, 0x140257c5f\nmovdqa  xmm1, cs:xmmword_1408365E0                                     ; +0xe3, 0x140257c63\nmovdqu  [rbp+var_20], xmm1                                             ; +0xeb, 0x140257c6b\nmovsd   xmm0, cs:qword_14075A508                                       ; +0xf0, 0x140257c70\nmovsd   [rbp+Block], xmm0                                              ; +0xf8, 0x140257c78\nmov     eax, cs:dword_14075A510                                        ; +0xfd, 0x140257c7d\nmov     dword ptr [rbp+Block+8], eax                                   ; +0x103, 0x140257c83\nmovzx   eax, cs:byte_14075A514                                         ; +0x106, 0x140257c86\nmov     byte ptr [rbp+Block+0Ch], al                                   ; +0x10d, 0x140257c8d\nmov     byte ptr [rbp+Block+0Dh], 0                                    ; +0x110, 0x140257c90\nlea     rdx, [rbp+Block]                                               ; +0x114, 0x140257c94\nmov     rcx, [rcx+480h]                                                ; +0x118, 0x140257c98\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x11f, 0x140257c9f\nmov     rbx, rax                                                       ; +0x125, 0x140257ca5\nmov     rdx, qword ptr [rbp+var_20+8]                                  ; +0x128, 0x140257ca8\ncmp     rdx, 0Fh                                                       ; +0x12c, 0x140257cac\njbe     loc_140257E48                                                  ; +0x130, 0x140257cb0\ninc     rdx                                                            ; +0x136, 0x140257cb6\nmov     r8, [rbp+Block]                                                ; +0x139, 0x140257cb9\nmov     rcx, r8                                                        ; +0x13d, 0x140257cbd\ncmp     rdx, 1000h                                                     ; +0x140, 0x140257cc0\njb      loc_140257E40                                                  ; +0x147, 0x140257cc7\nadd     rdx, 27h ; '''                                                 ; +0x14d, 0x140257ccd\nmov     r8, [r8-8]                                                     ; +0x151, 0x140257cd1\nsub     rcx, r8                                                        ; +0x155, 0x140257cd5\nsub     rcx, 8                                                         ; +0x158, 0x140257cd8\ncmp     rcx, 1Fh                                                       ; +0x15c, 0x140257cdc\njbe     loc_140257E40                                                  ; +0x160, 0x140257ce0\nmov     [rsp+60h+Reserved], 0; Reserved                                ; +0x166, 0x140257ce6\nxor     r9d, r9d; LineNo                                               ; +0x16f, 0x140257cef\nxor     r8d, r8d; FileName                                             ; +0x172, 0x140257cf2\nxor     edx, edx; FunctionName                                         ; +0x175, 0x140257cf5\nxor     ecx, ecx; Expression                                           ; +0x177, 0x140257cf7\ncall    cs:_invoke_watson                                              ; +0x179, 0x140257cf9\nalign 20h                                                              ; +0x17f, 0x140257cff\nxorps   xmm0, xmm0                                                     ; +0x180, 0x140257d00\nmovups  xmmword ptr [rbp+Block], xmm0                                  ; +0x183, 0x140257d03\nmovdqa  xmm1, cs:xmmword_1408365C0                                     ; +0x187, 0x140257d07\nmovdqu  [rbp+var_20], xmm1                                             ; +0x18f, 0x140257d0f\nmovsd   xmm0, qword ptr cs:aGetBlocked; \"get_blocked\"                  ; +0x194, 0x140257d14\nmovsd   [rbp+Block], xmm0                                              ; +0x19c, 0x140257d1c\nmovzx   eax, word ptr cs:aGetBlocked+8; \"ked\"                          ; +0x1a1, 0x140257d21\nmov     word ptr [rbp+Block+8], ax                                     ; +0x1a8, 0x140257d28\nmovzx   eax, byte ptr cs:aGetBlocked+0Ah; \"d\"                          ; +0x1ac, 0x140257d2c\nmov     byte ptr [rbp+Block+0Ah], al                                   ; +0x1b3, 0x140257d33\nmov     byte ptr [rbp+Block+0Bh], 0                                    ; +0x1b6, 0x140257d36\nlea     rdx, [rbp+Block]                                               ; +0x1ba, 0x140257d3a\nmov     rcx, [rcx+480h]                                                ; +0x1be, 0x140257d3e\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x1c5, 0x140257d45\nmov     rbx, rax                                                       ; +0x1cb, 0x140257d4b\nmov     rdx, qword ptr [rbp+var_20+8]                                  ; +0x1ce, 0x140257d4e\ncmp     rdx, 0Fh                                                       ; +0x1d2, 0x140257d52\njbe     loc_140257E48                                                  ; +0x1d6, 0x140257d56\ninc     rdx                                                            ; +0x1dc, 0x140257d5c\nmov     r8, [rbp+Block]                                                ; +0x1df, 0x140257d5f\nmov     rcx, r8                                                        ; +0x1e3, 0x140257d63\ncmp     rdx, 1000h                                                     ; +0x1e6, 0x140257d66\njb      loc_140257E40                                                  ; +0x1ed, 0x140257d6d\nadd     rdx, 27h ; '''                                                 ; +0x1f3, 0x140257d73\nmov     r8, [r8-8]                                                     ; +0x1f7, 0x140257d77\nsub     rcx, r8                                                        ; +0x1fb, 0x140257d7b\nsub     rcx, 8                                                         ; +0x1fe, 0x140257d7e\ncmp     rcx, 1Fh                                                       ; +0x202, 0x140257d82\njbe     loc_140257E40                                                  ; +0x206, 0x140257d86\nmov     [rsp+60h+Reserved], 0; Reserved                                ; +0x20c, 0x140257d8c\nxor     r9d, r9d; LineNo                                               ; +0x215, 0x140257d95\nxor     r8d, r8d; FileName                                             ; +0x218, 0x140257d98\nxor     edx, edx; FunctionName                                         ; +0x21b, 0x140257d9b\nxor     ecx, ecx; Expression                                           ; +0x21d, 0x140257d9d\ncall    cs:_invoke_watson                                              ; +0x21f, 0x140257d9f\nalign 2                                                                ; +0x225, 0x140257da5\nxorps   xmm0, xmm0                                                     ; +0x226, 0x140257da6\nmovups  xmmword ptr [rbp+Block], xmm0                                  ; +0x229, 0x140257da9\nmovdqa  xmm1, cs:xmmword_1408365C0                                     ; +0x22d, 0x140257dad\nmovdqu  [rbp+var_20], xmm1                                             ; +0x235, 0x140257db5\nmovsd   xmm0, qword ptr cs:aGetFriends; \"get_friends\"                  ; +0x23a, 0x140257dba\nmovsd   [rbp+Block], xmm0                                              ; +0x242, 0x140257dc2\nmovzx   eax, word ptr cs:aGetFriends+8; \"nds\"                          ; +0x247, 0x140257dc7\nmov     word ptr [rbp+Block+8], ax                                     ; +0x24e, 0x140257dce\nmovzx   eax, byte ptr cs:aGetFriends+0Ah; \"s\"                          ; +0x252, 0x140257dd2\nmov     byte ptr [rbp+Block+0Ah], al                                   ; +0x259, 0x140257dd9\nmov     byte ptr [rbp+Block+0Bh], 0                                    ; +0x25c, 0x140257ddc\nlea     rdx, [rbp+Block]                                               ; +0x260, 0x140257de0\nmov     rcx, [rcx+480h]                                                ; +0x264, 0x140257de4\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x26b, 0x140257deb\nmov     rbx, rax                                                       ; +0x271, 0x140257df1\nmov     rdx, qword ptr [rbp+var_20+8]                                  ; +0x274, 0x140257df4\ncmp     rdx, 0Fh                                                       ; +0x278, 0x140257df8\njbe     short loc_140257E48                                            ; +0x27c, 0x140257dfc\ninc     rdx                                                            ; +0x27e, 0x140257dfe\nmov     r8, [rbp+Block]                                                ; +0x281, 0x140257e01\nmov     rcx, r8                                                        ; +0x285, 0x140257e05\ncmp     rdx, 1000h                                                     ; +0x288, 0x140257e08\njb      short loc_140257E40                                            ; +0x28f, 0x140257e0f\nadd     rdx, 27h ; '''                                                 ; +0x291, 0x140257e11\nmov     r8, [r8-8]                                                     ; +0x295, 0x140257e15\nsub     rcx, r8                                                        ; +0x299, 0x140257e19\nsub     rcx, 8                                                         ; +0x29c, 0x140257e1c\ncmp     rcx, 1Fh                                                       ; +0x2a0, 0x140257e20\njbe     short loc_140257E40                                            ; +0x2a4, 0x140257e24\nmov     [rsp+60h+Reserved], 0; Reserved                                ; +0x2a6, 0x140257e26\nxor     r9d, r9d; LineNo                                               ; +0x2af, 0x140257e2f\nxor     r8d, r8d; FileName                                             ; +0x2b2, 0x140257e32\nxor     edx, edx; FunctionName                                         ; +0x2b5, 0x140257e35\nxor     ecx, ecx; Expression                                           ; +0x2b7, 0x140257e37\ncall    cs:_invoke_watson                                              ; +0x2b9, 0x140257e39\nalign 20h                                                              ; +0x2bf, 0x140257e3f\nmov     rcx, r8; Block                                                 ; +0x2c0, 0x140257e40\ncall    j_j_free                                                       ; +0x2c3, 0x140257e43\nmov     rax, rbx                                                       ; +0x2c8, 0x140257e48\nmov     rcx, [rbp+var_10]                                              ; +0x2cb, 0x140257e4b\nxor     rcx, rsp; StackCookie                                          ; +0x2cf, 0x140257e4f\ncall    __security_check_cookie                                        ; +0x2d2, 0x140257e52\nmov     rbx, [rsp+60h+arg_8]                                           ; +0x2d7, 0x140257e57\nadd     rsp, 60h                                                       ; +0x2dc, 0x140257e5c\npop     rbp                                                            ; +0x2e0, 0x140257e60\nretn                                                                   ; +0x2e1, 0x140257e61", "xrefs": ["FriendPickerPopup::init @ 0x1400e752c", "GJCompactUserCell::buildUserRow @ 0x14015832c", "FriendsProfilePage::init @ 0x1402144de", "GameLevelManager::onRemoveFriendCompleted @ 0x1402564bb", "GameLevelManager::removeUserFromList @ 0x1402571c0", "<???> @ 0x14091c64c"], "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"}