{"type": "func", "start": 6442569984, "end": 6442570197, "name": "DS_Dictionary::removeKey", "pseudocode": "// \n// DS_Dictionary::removeKey from 0x18001d100 to 0x18001d1d5 (213 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b8c2c\n// \n// This function is hookable on this platform (idp: pc, 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 11:21:27 +0000\n// \n\nvoid __fastcall DS_Dictionary::removeKey(DS_Dictionary *this, int a2)\n{\n  const char *v4; // r8\n  int v5; // ebx\n  bool v6; // zf\n  __int64 v7; // rcx\n  const char *v8; // r8\n  __int64 v9; // rbx\n  __int64 v10; // rax\n  __int64 v11; // [rsp+40h] [rbp+8h] BYREF\n  char v12; // [rsp+50h] [rbp+18h] BYREF\n\n  v4 = \"k\";\n  v5 = 0;\n  v6 = *((_BYTE *)this + 232) == 0;\n  v7 = *((_QWORD *)this + 27);\n  if ( !v6 )\n    v4 = \"key\";\n  sub_180082A40(v7 - 8, &v11, v4);\n  if ( sub_1800823F0(&v11) )\n  {\n    while ( v5 != a2 )\n    {\n      ++v5;\n      v8 = \"k\";\n      if ( *((_BYTE *)this + 232) )\n        v8 = \"key\";\n      v11 = *(_QWORD *)sub_180084A40(&v11, &v12, v8);\n      if ( !sub_1800823F0(&v11) )\n        return;\n    }\n    v9 = *((_QWORD *)this + 27);\n    v10 = sub_180084AC0(&v11, &v12);\n    sub_180087700(v9 - 8, v10);\n    sub_180087700(*((_QWORD *)this + 27) - 8LL, &v11);\n  }\n}", "assembly": "; \n; DS_Dictionary::removeKey from 0x18001d100 to 0x18001d1d5 (213 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b8c2c\n; \n; This function is hookable on this platform (idp: pc, 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 11:21:27 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18001d100\npush    rbp                                                            ; +0x5, 0x18001d105\npush    rsi                                                            ; +0x6, 0x18001d106\npush    rdi                                                            ; +0x7, 0x18001d107\nsub     rsp, 20h                                                       ; +0x8, 0x18001d108\nmov     rsi, rcx                                                       ; +0xc, 0x18001d10c\nlea     rbp, aKey; \"key\"                                               ; +0xf, 0x18001d10f\nmov     edi, edx                                                       ; +0x16, 0x18001d116\nlea     r8, aK; \"k\"                                                    ; +0x18, 0x18001d118\nxor     ebx, ebx                                                       ; +0x1f, 0x18001d11f\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x21, 0x18001d121\ncmp     [rcx+0E8h], bl                                                 ; +0x26, 0x18001d126\nmov     rcx, [rcx+0D8h]                                                ; +0x2c, 0x18001d12c\ncmovnz  r8, rbp                                                        ; +0x33, 0x18001d133\nsub     rcx, 8                                                         ; +0x37, 0x18001d137\ncall    sub_180082A40                                                  ; +0x3b, 0x18001d13b\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x40, 0x18001d140\ncall    sub_1800823F0                                                  ; +0x45, 0x18001d145\ntest    rax, rax                                                       ; +0x4a, 0x18001d14a\njz      short loc_18001D1C8                                            ; +0x4d, 0x18001d14d\nnop                                                                    ; +0x4f, 0x18001d14f\nlea     rdx, [rsp+38h+arg_10]                                          ; +0x50, 0x18001d150\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x55, 0x18001d155\ncmp     ebx, edi                                                       ; +0x5a, 0x18001d15a\njz      short loc_18001D19B                                            ; +0x5c, 0x18001d15c\ninc     ebx                                                            ; +0x5e, 0x18001d15e\nlea     r8, aK; \"k\"                                                    ; +0x60, 0x18001d160\ncmp     byte ptr [rsi+0E8h], 0                                         ; +0x67, 0x18001d167\ncmovnz  r8, rbp                                                        ; +0x6e, 0x18001d16e\ncall    sub_180084A40                                                  ; +0x72, 0x18001d172\nmov     rcx, [rax]                                                     ; +0x77, 0x18001d177\nmov     [rsp+38h+arg_0], rcx                                           ; +0x7a, 0x18001d17a\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x7f, 0x18001d17f\ncall    sub_1800823F0                                                  ; +0x84, 0x18001d184\ntest    rax, rax                                                       ; +0x89, 0x18001d189\njnz     short loc_18001D150                                            ; +0x8c, 0x18001d18c\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x8e, 0x18001d18e\nadd     rsp, 20h                                                       ; +0x93, 0x18001d193\npop     rdi                                                            ; +0x97, 0x18001d197\npop     rsi                                                            ; +0x98, 0x18001d198\npop     rbp                                                            ; +0x99, 0x18001d199\nretn                                                                   ; +0x9a, 0x18001d19a\nmov     rbx, [rsi+0D8h]                                                ; +0x9b, 0x18001d19b\ncall    sub_180084AC0                                                  ; +0xa2, 0x18001d1a2\nmov     rdx, rax                                                       ; +0xa7, 0x18001d1a7\nlea     rcx, [rbx-8]                                                   ; +0xaa, 0x18001d1aa\ncall    sub_180087700                                                  ; +0xae, 0x18001d1ae\nmov     rcx, [rsi+0D8h]                                                ; +0xb3, 0x18001d1b3\nlea     rdx, [rsp+38h+arg_0]                                           ; +0xba, 0x18001d1ba\nsub     rcx, 8                                                         ; +0xbf, 0x18001d1bf\ncall    sub_180087700                                                  ; +0xc3, 0x18001d1c3\nmov     rbx, [rsp+38h+arg_8]                                           ; +0xc8, 0x18001d1c8\nadd     rsp, 20h                                                       ; +0xcd, 0x18001d1cd\npop     rdi                                                            ; +0xd1, 0x18001d1d1\npop     rsi                                                            ; +0xd2, 0x18001d1d2\npop     rbp                                                            ; +0xd3, 0x18001d1d3\nretn                                                                   ; +0xd4, 0x18001d1d4", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b8c2c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}