{"type": "func", "start": 4300563216, "end": 4300563389, "name": "GameLevelManager::removeUserFromList", "pseudocode": "// \n// GameLevelManager::removeUserFromList from 0x100556310 to 0x1005563bd (173 bytes)\n// \n// 0 xrefs:\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::removeUserFromList(GameLevelManager *a1, int a2, UserListType a3)\n{\n  cocos2d::CCArray *StoredUserList; // rax\n  cocos2d::CCArray *v5; // r14\n  unsigned int v6; // r13d\n  UserListDelegate *m_userListDelegate; // rdi\n\n  StoredUserList = GameLevelManager::getStoredUserList(a1, a3);\n  if ( StoredUserList )\n  {\n    v5 = StoredUserList;\n    if ( (unsigned int)sub_100720070(StoredUserList) )\n    {\n      v6 = 0;\n      while ( *(_DWORD *)(sub_1007200C0(v5, v6) + 376) != a2 )\n      {\n        if ( ++v6 >= (unsigned int)sub_100720070(v5) )\n          return;\n      }\n      sub_100720230(v5, v6, 1);\n      m_userListDelegate = a1->m_userListDelegate;\n      if ( m_userListDelegate )\n        ((void (__fastcall *)(UserListDelegate *, cocos2d::CCArray *, _QWORD))m_userListDelegate->userListChanged)(\n          m_userListDelegate,\n          v5,\n          (unsigned int)a3);\n    }\n  }\n}", "assembly": "; \n; GameLevelManager::removeUserFromList from 0x100556310 to 0x1005563bd (173 bytes)\n; \n; 0 xrefs:\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, 0x100556310\nmov     rbp, rsp                                                       ; +0x1, 0x100556311\npush    r15                                                            ; +0x4, 0x100556314\npush    r14                                                            ; +0x6, 0x100556316\npush    r13                                                            ; +0x8, 0x100556318\npush    r12                                                            ; +0xa, 0x10055631a\npush    rbx                                                            ; +0xc, 0x10055631c\npush    rax                                                            ; +0xd, 0x10055631d\nmov     ebx, edx                                                       ; +0xe, 0x10055631e\nmov     r12d, esi                                                      ; +0x10, 0x100556320\nmov     r15, rdi                                                       ; +0x13, 0x100556323\nmov     esi, edx                                                       ; +0x16, 0x100556326\ncall    GameLevelManager__getStoredUserList                            ; +0x18, 0x100556328\ntest    rax, rax                                                       ; +0x1d, 0x10055632d\njz      short loc_1005563AE                                            ; +0x20, 0x100556330\nmov     r14, rax                                                       ; +0x22, 0x100556332\nmov     rdi, rax                                                       ; +0x25, 0x100556335\ncall    sub_100720070                                                  ; +0x28, 0x100556338\ntest    eax, eax                                                       ; +0x2d, 0x10055633d\njz      short loc_1005563AE                                            ; +0x2f, 0x10055633f\nxor     r13d, r13d                                                     ; +0x31, 0x100556341\nnop     word ptr [rax+rax+00000000h]                                   ; +0x34, 0x100556344\nmov     rdi, r14                                                       ; +0x40, 0x100556350\nmov     esi, r13d                                                      ; +0x43, 0x100556353\ncall    sub_1007200C0                                                  ; +0x46, 0x100556356\ncmp     [rax+178h], r12d                                               ; +0x4b, 0x10055635b\njz      short loc_100556376                                            ; +0x52, 0x100556362\ninc     r13d                                                           ; +0x54, 0x100556364\nmov     rdi, r14                                                       ; +0x57, 0x100556367\ncall    sub_100720070                                                  ; +0x5a, 0x10055636a\ncmp     r13d, eax                                                      ; +0x5f, 0x10055636f\njb      short loc_100556350                                            ; +0x62, 0x100556372\njmp     short loc_1005563AE                                            ; +0x64, 0x100556374\nmov     rdi, r14                                                       ; +0x66, 0x100556376\nmov     esi, r13d                                                      ; +0x69, 0x100556379\nmov     edx, 1                                                         ; +0x6c, 0x10055637c\ncall    sub_100720230                                                  ; +0x71, 0x100556381\nmov     rdi, [r15+330h]                                                ; +0x76, 0x100556386\ntest    rdi, rdi                                                       ; +0x7d, 0x10055638d\njz      short loc_1005563AE                                            ; +0x80, 0x100556390\nmov     rax, [rdi]                                                     ; +0x82, 0x100556392\nmov     rax, [rax+10h]                                                 ; +0x85, 0x100556395\nmov     rsi, r14                                                       ; +0x89, 0x100556399\nmov     edx, ebx                                                       ; +0x8c, 0x10055639c\nadd     rsp, 8                                                         ; +0x8e, 0x10055639e\npop     rbx                                                            ; +0x92, 0x1005563a2\npop     r12                                                            ; +0x93, 0x1005563a3\npop     r13                                                            ; +0x95, 0x1005563a5\npop     r14                                                            ; +0x97, 0x1005563a7\npop     r15                                                            ; +0x99, 0x1005563a9\npop     rbp                                                            ; +0x9b, 0x1005563ab\njmp     rax                                                            ; +0x9c, 0x1005563ac\nadd     rsp, 8                                                         ; +0x9e, 0x1005563ae\npop     rbx                                                            ; +0xa2, 0x1005563b2\npop     r12                                                            ; +0xa3, 0x1005563b3\npop     r13                                                            ; +0xa5, 0x1005563b5\npop     r14                                                            ; +0xa7, 0x1005563b7\npop     r15                                                            ; +0xa9, 0x1005563b9\npop     rbp                                                            ; +0xab, 0x1005563bb\nretn                                                                   ; +0xac, 0x1005563bc", "xrefs": [], "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"}