{"type": "func", "start": 4300559216, "end": 4300559348, "name": "GameLevelManager::resetStoredUserList", "pseudocode": "// \n// GameLevelManager::resetStoredUserList from 0x100555370 to 0x1005553f4 (132 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::invalidateUserList @ 0x100556b62\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; // rdi\n  cocos2d::CCDictionary *m_storedLevels; // rdi\n  char v4; // [rsp+0h] [rbp-20h] BYREF\n  void *v5[3]; // [rsp+1h] [rbp-1Fh] BYREF\n\n  if ( a2 == Blocked )\n  {\n    m_storedLevels = a1->m_storedLevels;\n    v4 = 22;\n    strcpy((char *)v5, \"get_blocked\");\n    cocos2d::CCDictionary::removeObjectForKey_1((__int64)m_storedLevels, &v4);\n  }\n  else\n  {\n    if ( a2 )\n      return;\n    v2 = a1->m_storedLevels;\n    v4 = 22;\n    strcpy((char *)v5, \"get_friends\");\n    cocos2d::CCDictionary::removeObjectForKey_1((__int64)v2, &v4);\n  }\n  if ( (v4 & 1) != 0 )\n    operator delete(*(void **)((char *)&v5[1] + 7));\n}", "assembly": "; \n; GameLevelManager::resetStoredUserList from 0x100555370 to 0x1005553f4 (132 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::invalidateUserList @ 0x100556b62\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, 0x100555370\nmov     rbp, rsp                                                       ; +0x1, 0x100555371\npush    rbx                                                            ; +0x4, 0x100555374\nsub     rsp, 18h                                                       ; +0x5, 0x100555375\ncmp     esi, 1                                                         ; +0x9, 0x100555379\njz      short loc_1005553B1                                            ; +0xc, 0x10055537c\ntest    esi, esi                                                       ; +0xe, 0x10055537e\njnz     short loc_1005553ED                                            ; +0x10, 0x100555380\nmov     rdi, [rdi+230h]                                                ; +0x12, 0x100555382\nmov     [rbp+var_20], 16h                                              ; +0x19, 0x100555389\nmov     rax, 656972665F746567h                                         ; +0x1d, 0x10055538d\nmov     [rbp+var_1F], rax                                              ; +0x27, 0x100555397\nmov     dword ptr [rbp+var_1F+7], 73646E65h                            ; +0x2b, 0x10055539b\nmov     byte ptr [rbp-14h], 0                                          ; +0x32, 0x1005553a2\nlea     rsi, [rbp+var_20]                                              ; +0x36, 0x1005553a6\ncall    cocos2d__CCDictionary__removeObjectForKey_1                    ; +0x3a, 0x1005553aa\njmp     short loc_1005553DE                                            ; +0x3f, 0x1005553af\nmov     rdi, [rdi+230h]                                                ; +0x41, 0x1005553b1\nmov     [rbp+var_20], 16h                                              ; +0x48, 0x1005553b8\nmov     rax, 636F6C625F746567h                                         ; +0x4c, 0x1005553bc\nmov     [rbp+var_1F], rax                                              ; +0x56, 0x1005553c6\nmov     dword ptr [rbp+var_1F+7], 64656B63h                            ; +0x5a, 0x1005553ca\nmov     byte ptr [rbp-14h], 0                                          ; +0x61, 0x1005553d1\nlea     rsi, [rbp+var_20]                                              ; +0x65, 0x1005553d5\ncall    cocos2d__CCDictionary__removeObjectForKey_1                    ; +0x69, 0x1005553d9\ntest    [rbp+var_20], 1                                                ; +0x6e, 0x1005553de\njz      short loc_1005553ED                                            ; +0x72, 0x1005553e2\nmov     rdi, [rbp+__p]; __p                                            ; +0x74, 0x1005553e4\ncall    __ZdlPv; operator delete(void *)                               ; +0x78, 0x1005553e8\nadd     rsp, 18h                                                       ; +0x7d, 0x1005553ed\npop     rbx                                                            ; +0x81, 0x1005553f1\npop     rbp                                                            ; +0x82, 0x1005553f2\nretn                                                                   ; +0x83, 0x1005553f3", "xrefs": ["GameLevelManager::invalidateUserList @ 0x100556b62"], "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"}