{"type": "func", "start": 4300561824, "end": 4300561971, "name": "GameLevelManager::getStoredUserList", "pseudocode": "// \n// GameLevelManager::getStoredUserList from 0x100555da0 to 0x100555e33 (147 bytes)\n// \n// 2 xrefs:\n// > GameLevelManager::removeUserFromList @ 0x100556328\n// > FriendsProfilePage::init @ 0x100658263\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\ncocos2d::CCArray *__fastcall GameLevelManager::getStoredUserList(GameLevelManager *a1, UserListType a2)\n{\n  cocos2d::CCDictionary *v2; // rdi\n  cocos2d::CCArray *result; // rax\n  cocos2d::CCDictionary *m_storedLevels; // rdi\n  cocos2d::CCArray *v5; // rbx\n  char v6; // [rsp+0h] [rbp-20h] BYREF\n  void *v7[3]; // [rsp+1h] [rbp-1Fh] BYREF\n\n  if ( a2 == Blocked )\n  {\n    m_storedLevels = a1->m_storedLevels;\n    v6 = 22;\n    strcpy((char *)v7, \"get_blocked\");\n    result = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey_1((__int64)m_storedLevels, &v6);\n  }\n  else\n  {\n    if ( a2 )\n      return nullptr;\n    v2 = a1->m_storedLevels;\n    v6 = 22;\n    strcpy((char *)v7, \"get_friends\");\n    result = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey_1((__int64)v2, &v6);\n  }\n  if ( (v6 & 1) != 0 )\n  {\n    v5 = result;\n    operator delete(*(void **)((char *)&v7[1] + 7));\n    return v5;\n  }\n  return result;\n}", "assembly": "; \n; GameLevelManager::getStoredUserList from 0x100555da0 to 0x100555e33 (147 bytes)\n; \n; 2 xrefs:\n; > GameLevelManager::removeUserFromList @ 0x100556328\n; > FriendsProfilePage::init @ 0x100658263\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, 0x100555da0\nmov     rbp, rsp                                                       ; +0x1, 0x100555da1\npush    rbx                                                            ; +0x4, 0x100555da4\nsub     rsp, 18h                                                       ; +0x5, 0x100555da5\ncmp     esi, 1                                                         ; +0x9, 0x100555da9\njz      short loc_100555DE1                                            ; +0xc, 0x100555dac\ntest    esi, esi                                                       ; +0xe, 0x100555dae\njnz     short loc_100555E2A                                            ; +0x10, 0x100555db0\nmov     rdi, [rdi+230h]                                                ; +0x12, 0x100555db2\nmov     [rbp+var_20], 16h                                              ; +0x19, 0x100555db9\nmov     rax, 656972665F746567h                                         ; +0x1d, 0x100555dbd\nmov     [rbp+var_1F], rax                                              ; +0x27, 0x100555dc7\nmov     dword ptr [rbp+var_1F+7], 73646E65h                            ; +0x2b, 0x100555dcb\nmov     byte ptr [rbp-14h], 0                                          ; +0x32, 0x100555dd2\nlea     rsi, [rbp+var_20]                                              ; +0x36, 0x100555dd6\ncall    cocos2d__CCDictionary__objectForKey_1                          ; +0x3a, 0x100555dda\njmp     short loc_100555E0E                                            ; +0x3f, 0x100555ddf\nmov     rdi, [rdi+230h]                                                ; +0x41, 0x100555de1\nmov     [rbp+var_20], 16h                                              ; +0x48, 0x100555de8\nmov     rax, 636F6C625F746567h                                         ; +0x4c, 0x100555dec\nmov     [rbp+var_1F], rax                                              ; +0x56, 0x100555df6\nmov     dword ptr [rbp+var_1F+7], 64656B63h                            ; +0x5a, 0x100555dfa\nmov     byte ptr [rbp-14h], 0                                          ; +0x61, 0x100555e01\nlea     rsi, [rbp+var_20]                                              ; +0x65, 0x100555e05\ncall    cocos2d__CCDictionary__objectForKey_1                          ; +0x69, 0x100555e09\ntest    [rbp+var_20], 1                                                ; +0x6e, 0x100555e0e\njz      short loc_100555E23                                            ; +0x72, 0x100555e12\nmov     rdi, [rbp+__p]; __p                                            ; +0x74, 0x100555e14\nmov     rbx, rax                                                       ; +0x78, 0x100555e18\ncall    __ZdlPv; operator delete(void *)                               ; +0x7b, 0x100555e1b\nmov     rax, rbx                                                       ; +0x80, 0x100555e20\nadd     rsp, 18h                                                       ; +0x83, 0x100555e23\npop     rbx                                                            ; +0x87, 0x100555e27\npop     rbp                                                            ; +0x88, 0x100555e28\nretn                                                                   ; +0x89, 0x100555e29\nxor     eax, eax                                                       ; +0x8a, 0x100555e2a\nadd     rsp, 18h                                                       ; +0x8c, 0x100555e2c\npop     rbx                                                            ; +0x90, 0x100555e30\npop     rbp                                                            ; +0x91, 0x100555e31\nretn                                                                   ; +0x92, 0x100555e32", "xrefs": ["GameLevelManager::removeUserFromList @ 0x100556328", "FriendsProfilePage::init @ 0x100658263"], "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"}