{"type": "func", "start": 6442569472, "end": 6442569677, "name": "DS_Dictionary::removeAllKeys", "pseudocode": "// \n// DS_Dictionary::removeAllKeys from 0x18001cf00 to 0x18001cfcd (205 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18013312c\n// > <???> @ 0x18013313c\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801aeb30\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 DS_Dictionary::removeAllKeys(DS_Dictionary *this)\n{\n  bool v1; // zf\n  const char *v3; // r8\n  std::_Vector_val<std::_Simple_types<pugi::xml_node>>::pointer Mylast; // rcx\n  std::_Vector_val<std::_Simple_types<pugi::xml_node>>::pointer v5; // rbx\n  __int64 v6; // rax\n  const char *v7; // r8\n  char v8; // [rsp+30h] [rbp+8h] BYREF\n  char v9; // [rsp+38h] [rbp+10h] BYREF\n\n  v1 = !this->compatible;\n  v3 = \"k\";\n  Mylast = this->dictTree._Mypair._Myval2._Mylast;\n  if ( !v1 )\n    v3 = \"key\";\n  sub_18007FB10(&Mylast[-1], &v8, v3);\n  while ( sub_18007F4E0(&v8) )\n  {\n    v5 = this->dictTree._Mypair._Myval2._Mylast;\n    v6 = sub_180081AB0(&v8, &v9);\n    sub_180084730(&v5[-1], v6);\n    sub_180084730(&this->dictTree._Mypair._Myval2._Mylast[-1], &v8);\n    v7 = \"k\";\n    if ( this->compatible )\n      v7 = \"key\";\n    sub_18007FB10(&this->dictTree._Mypair._Myval2._Mylast[-1], &v8, v7);\n  }\n}", "assembly": "; \n; DS_Dictionary::removeAllKeys from 0x18001cf00 to 0x18001cfcd (205 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18013312c\n; > <???> @ 0x18013313c\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801aeb30\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\nmov     [rsp+arg_18], rsi                                              ; +0x0, 0x18001cf00\npush    rdi                                                            ; +0x5, 0x18001cf05\nsub     rsp, 20h                                                       ; +0x6, 0x18001cf06\ncmp     byte ptr [rcx+0E8h], 0                                         ; +0xa, 0x18001cf0a\nlea     rsi, aKey; \"key\"                                               ; +0x11, 0x18001cf11\nmov     rdi, rcx                                                       ; +0x18, 0x18001cf18\nlea     r8, aK; \"k\"                                                    ; +0x1b, 0x18001cf1b\nmov     rcx, [rcx+0D8h]                                                ; +0x22, 0x18001cf22\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x29, 0x18001cf29\ncmovnz  r8, rsi                                                        ; +0x2e, 0x18001cf2e\nsub     rcx, 8                                                         ; +0x32, 0x18001cf32\ncall    sub_18007FB10                                                  ; +0x36, 0x18001cf36\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x3b, 0x18001cf3b\ncall    sub_18007F4E0                                                  ; +0x40, 0x18001cf40\ntest    rax, rax                                                       ; +0x45, 0x18001cf45\njz      short loc_18001CFC2                                            ; +0x48, 0x18001cf48\nmov     [rsp+28h+arg_10], rbx                                          ; +0x4a, 0x18001cf4a\nnop                                                                    ; +0x4f, 0x18001cf4f\nmov     rbx, [rdi+0D8h]                                                ; +0x50, 0x18001cf50\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x57, 0x18001cf57\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x5c, 0x18001cf5c\ncall    sub_180081AB0                                                  ; +0x61, 0x18001cf61\nmov     rdx, rax                                                       ; +0x66, 0x18001cf66\nlea     rcx, [rbx-8]                                                   ; +0x69, 0x18001cf69\ncall    sub_180084730                                                  ; +0x6d, 0x18001cf6d\nmov     rcx, [rdi+0D8h]                                                ; +0x72, 0x18001cf72\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x79, 0x18001cf79\nsub     rcx, 8                                                         ; +0x7e, 0x18001cf7e\ncall    sub_180084730                                                  ; +0x82, 0x18001cf82\ncmp     byte ptr [rdi+0E8h], 0                                         ; +0x87, 0x18001cf87\nlea     r8, aK; \"k\"                                                    ; +0x8e, 0x18001cf8e\nmov     rcx, [rdi+0D8h]                                                ; +0x95, 0x18001cf95\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x9c, 0x18001cf9c\ncmovnz  r8, rsi                                                        ; +0xa1, 0x18001cfa1\nsub     rcx, 8                                                         ; +0xa5, 0x18001cfa5\ncall    sub_18007FB10                                                  ; +0xa9, 0x18001cfa9\nlea     rcx, [rsp+28h+arg_0]                                           ; +0xae, 0x18001cfae\ncall    sub_18007F4E0                                                  ; +0xb3, 0x18001cfb3\ntest    rax, rax                                                       ; +0xb8, 0x18001cfb8\njnz     short loc_18001CF50                                            ; +0xbb, 0x18001cfbb\nmov     rbx, [rsp+28h+arg_10]                                          ; +0xbd, 0x18001cfbd\nmov     rsi, [rsp+28h+arg_18]                                          ; +0xc2, 0x18001cfc2\nadd     rsp, 20h                                                       ; +0xc7, 0x18001cfc7\npop     rdi                                                            ; +0xcb, 0x18001cfcb\nretn                                                                   ; +0xcc, 0x18001cfcc", "xrefs": ["<???> @ 0x18013312c", "<???> @ 0x18013313c", "<???> @ 0x1801438a8", "<???> @ 0x1801aeb30"], "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"}