{"type": "func", "start": 4295797404, "end": 4295797640, "name": "GameLevelManager::getStoredUserList", "pseudocode": "// \n// GameLevelManager::getStoredUserList from 0x1000caa9c to 0x1000cab88 (236 bytes)\n// \n// 5 xrefs:\n// > sub_10009A400 @ 0x10009a508\n// > sub_1000CADE8 @ 0x1000cae0c\n// > GameLevelManager::storedFriendForAccountID @ 0x1000cb2b8\n// > FriendsProfilePage::init @ 0x1002721c4\n// > FriendPickerPopup::init @ 0x10050365c\n// \n// This function is hookable on this platform (idp: arm, 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 10:58:51 +0000\n// \n\n__int64 __fastcall GameLevelManager::getStoredUserList(__int64 a1, int a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x19\n  __int64 v4; // x0\n  __int64 v5; // x19\n  __int64 v6; // x19\n  __int64 v7; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v10; // [xsp+1Fh] [xbp-11h]\n\n  v2 = 0;\n  if ( a2 > 2 )\n  {\n    if ( a2 == 3 )\n    {\n      v7 = *(_QWORD *)(a1 + 1040);\n      sub_100009900(__p, \"get_following\");\n      v4 = cocos2d::CCDictionary::objectForKey(v7, __p);\n    }\n    else\n    {\n      if ( a2 != 4 )\n        return v2;\n      v5 = *(_QWORD *)(a1 + 1040);\n      sub_100009900(__p, \"get_muted\");\n      v4 = cocos2d::CCDictionary::objectForKey(v5, __p);\n    }\n  }\n  else if ( a2 )\n  {\n    if ( a2 != 1 )\n      return v2;\n    v3 = *(_QWORD *)(a1 + 1040);\n    sub_100009900(__p, \"get_blocked\");\n    v4 = cocos2d::CCDictionary::objectForKey(v3, __p);\n  }\n  else\n  {\n    v6 = *(_QWORD *)(a1 + 1040);\n    sub_100009900(__p, \"get_friends\");\n    v4 = cocos2d::CCDictionary::objectForKey(v6, __p);\n  }\n  v2 = v4;\n  if ( v10 < 0 )\n    operator delete(__p[0]);\n  return v2;\n}", "assembly": "; \n; GameLevelManager::getStoredUserList from 0x1000caa9c to 0x1000cab88 (236 bytes)\n; \n; 5 xrefs:\n; > sub_10009A400 @ 0x10009a508\n; > sub_1000CADE8 @ 0x1000cae0c\n; > GameLevelManager::storedFriendForAccountID @ 0x1000cb2b8\n; > FriendsProfilePage::init @ 0x1002721c4\n; > FriendPickerPopup::init @ 0x10050365c\n; \n; This function is hookable on this platform (idp: arm, 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 10:58:51 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1000caa9c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000caaa0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000caaa4\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000caaa8\nMOV             X19, #0                                                ; +0x10, 0x1000caaac\nCMP             W1, #2                                                 ; +0x14, 0x1000caab0\nB.GT            loc_1000CAAE8                                          ; +0x18, 0x1000caab4\nCBZ             W1, loc_1000CAB1C                                      ; +0x1c, 0x1000caab8\nCMP             W1, #1                                                 ; +0x20, 0x1000caabc\nB.NE            loc_1000CAB74                                          ; +0x24, 0x1000caac0\nLDR             X19, [X0,#0x410]                                       ; +0x28, 0x1000caac4\nADRL            X1, aGetBlocked; \"get_blocked\"                         ; +0x2c, 0x1000caac8\nADD             X0, SP, #0x30+__p; int                                 ; +0x34, 0x1000caad0\nBL              sub_100009900                                          ; +0x38, 0x1000caad4\nADD             X1, SP, #0x30+__p                                      ; +0x3c, 0x1000caad8\nMOV             X0, X19                                                ; +0x40, 0x1000caadc\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x44, 0x1000caae0\nB               loc_1000CAB60                                          ; +0x48, 0x1000caae4\nCMP             W1, #3                                                 ; +0x4c, 0x1000caae8\nB.EQ            loc_1000CAB40                                          ; +0x50, 0x1000caaec\nCMP             W1, #4                                                 ; +0x54, 0x1000caaf0\nB.NE            loc_1000CAB74                                          ; +0x58, 0x1000caaf4\nLDR             X19, [X0,#0x410]                                       ; +0x5c, 0x1000caaf8\nADRL            X1, aGetMuted; \"get_muted\"                             ; +0x60, 0x1000caafc\nADD             X0, SP, #0x30+__p; int                                 ; +0x68, 0x1000cab04\nBL              sub_100009900                                          ; +0x6c, 0x1000cab08\nADD             X1, SP, #0x30+__p                                      ; +0x70, 0x1000cab0c\nMOV             X0, X19                                                ; +0x74, 0x1000cab10\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x78, 0x1000cab14\nB               loc_1000CAB60                                          ; +0x7c, 0x1000cab18\nLDR             X19, [X0,#0x410]                                       ; +0x80, 0x1000cab1c\nADRL            X1, aGetFriends; \"get_friends\"                         ; +0x84, 0x1000cab20\nADD             X0, SP, #0x30+__p; int                                 ; +0x8c, 0x1000cab28\nBL              sub_100009900                                          ; +0x90, 0x1000cab2c\nADD             X1, SP, #0x30+__p                                      ; +0x94, 0x1000cab30\nMOV             X0, X19                                                ; +0x98, 0x1000cab34\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x9c, 0x1000cab38\nB               loc_1000CAB60                                          ; +0xa0, 0x1000cab3c\nLDR             X19, [X0,#0x410]                                       ; +0xa4, 0x1000cab40\nADRL            X1, aGetFollowing; \"get_following\"                     ; +0xa8, 0x1000cab44\nADD             X0, SP, #0x30+__p; int                                 ; +0xb0, 0x1000cab4c\nBL              sub_100009900                                          ; +0xb4, 0x1000cab50\nADD             X1, SP, #0x30+__p                                      ; +0xb8, 0x1000cab54\nMOV             X0, X19                                                ; +0xbc, 0x1000cab58\nBL              cocos2d__CCDictionary__objectForKey                    ; +0xc0, 0x1000cab5c\nMOV             X19, X0                                                ; +0xc4, 0x1000cab60\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0xc8, 0x1000cab64\nTBZ             W8, #0x1F, loc_1000CAB74                               ; +0xcc, 0x1000cab68\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0xd0, 0x1000cab6c\nBL              __ZdlPv; operator delete(void *)                       ; +0xd4, 0x1000cab70\nMOV             X0, X19                                                ; +0xd8, 0x1000cab74\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xdc, 0x1000cab78\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xe0, 0x1000cab7c\nADD             SP, SP, #0x40 ; '@'                                    ; +0xe4, 0x1000cab80\nRET                                                                    ; +0xe8, 0x1000cab84", "xrefs": ["sub_10009A400 @ 0x10009a508", "sub_1000CADE8 @ 0x1000cae0c", "GameLevelManager::storedFriendForAccountID @ 0x1000cb2b8", "FriendsProfilePage::init @ 0x1002721c4", "FriendPickerPopup::init @ 0x10050365c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}