{"type": "func", "start": 4295659312, "end": 4295659440, "name": "GameLevelManager::resetStoredUserList", "pseudocode": "// \n// GameLevelManager::resetStoredUserList from 0x1000a8f30 to 0x1000a8fb0 (128 bytes)\n// \n// 3 xrefs:\n// > GameLevelManager::onAcceptFriendRequestCompleted @ 0x10008d1ec\n// > GameLevelManager::onBlockUserCompleted @ 0x10008d564\n// > GameLevelManager::invalidateUserList @ 0x1000a9bec\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\nvoid __fastcall GameLevelManager::resetStoredUserList(GameLevelManager *a1, UserListType a2)\n{\n  cocos2d::CCDictionary *v2; // x19\n  cocos2d::CCDictionary *m_storedLevels; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  if ( a2 == Blocked )\n  {\n    m_storedLevels = a1->m_storedLevels;\n    sub_100009900(__p, \"get_blocked\");\n    cocos2d::CCDictionary::removeObjectForKey_1((int)m_storedLevels, (char *)__p);\n  }\n  else\n  {\n    if ( a2 )\n      return;\n    v2 = a1->m_storedLevels;\n    sub_100009900(__p, \"get_friends\");\n    cocos2d::CCDictionary::removeObjectForKey_1((int)v2, (char *)__p);\n  }\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; GameLevelManager::resetStoredUserList from 0x1000a8f30 to 0x1000a8fb0 (128 bytes)\n; \n; 3 xrefs:\n; > GameLevelManager::onAcceptFriendRequestCompleted @ 0x10008d1ec\n; > GameLevelManager::onBlockUserCompleted @ 0x10008d564\n; > GameLevelManager::invalidateUserList @ 0x1000a9bec\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1000a8f30\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000a8f34\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000a8f38\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000a8f3c\nCMP             W1, #1                                                 ; +0x10, 0x1000a8f40\nB.EQ            loc_1000A8F70                                          ; +0x14, 0x1000a8f44\nCBNZ            W1, loc_1000A8FA0                                      ; +0x18, 0x1000a8f48\nLDR             X19, [X0,#0x230]                                       ; +0x1c, 0x1000a8f4c\nADRL            X1, aGetFriends; \"get_friends\"                         ; +0x20, 0x1000a8f50\nADD             X0, SP, #0x30+__p; int                                 ; +0x28, 0x1000a8f58\nBL              sub_100009900                                          ; +0x2c, 0x1000a8f5c\nADD             X1, SP, #0x30+__p; __s                                 ; +0x30, 0x1000a8f60\nMOV             X0, X19; int                                           ; +0x34, 0x1000a8f64\nBL              cocos2d__CCDictionary__removeObjectForKey_1            ; +0x38, 0x1000a8f68\nB               loc_1000A8F90                                          ; +0x3c, 0x1000a8f6c\nLDR             X19, [X0,#0x230]                                       ; +0x40, 0x1000a8f70\nADRL            X1, aGetBlocked; \"get_blocked\"                         ; +0x44, 0x1000a8f74\nADD             X0, SP, #0x30+__p; int                                 ; +0x4c, 0x1000a8f7c\nBL              sub_100009900                                          ; +0x50, 0x1000a8f80\nADD             X1, SP, #0x30+__p; __s                                 ; +0x54, 0x1000a8f84\nMOV             X0, X19; int                                           ; +0x58, 0x1000a8f88\nBL              cocos2d__CCDictionary__removeObjectForKey_1            ; +0x5c, 0x1000a8f8c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x60, 0x1000a8f90\nTBZ             W8, #0x1F, loc_1000A8FA0                               ; +0x64, 0x1000a8f94\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x68, 0x1000a8f98\nBL              __ZdlPv; operator delete(void *)                       ; +0x6c, 0x1000a8f9c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x70, 0x1000a8fa0\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x74, 0x1000a8fa4\nADD             SP, SP, #0x40 ; '@'                                    ; +0x78, 0x1000a8fa8\nRET                                                                    ; +0x7c, 0x1000a8fac", "xrefs": ["GameLevelManager::onAcceptFriendRequestCompleted @ 0x10008d1ec", "GameLevelManager::onBlockUserCompleted @ 0x10008d564", "GameLevelManager::invalidateUserList @ 0x1000a9bec"], "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"}