{"type": "func", "start": 4296529728, "end": 4296529962, "name": "DS_Dictionary::removeKey_1", "pseudocode": "// \n// DS_Dictionary::removeKey_1 from 0x10017d740 to 0x10017d82a (234 bytes)\n// \n// 6 xrefs:\n// > DS_Dictionary::setVec2ForKey @ 0x10017f4b1\n// > DS_Dictionary::setRectForKey @ 0x10017f9f5\n// > DS_Dictionary::setStringArrayForKey @ 0x10017fc9d\n// > DS_Dictionary::setVec2ArrayForKey @ 0x10017fef0\n// > DS_Dictionary::setRectArrayForKey @ 0x100180300\n// > DS_Dictionary::getArrayForKey @ 0x100180acb\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::removeKey_1(DS_Dictionary *a1, const char *a2)\n{\n  std::__vector_base<pugi::xml_node>::pointer v4; // rdi\n  const char *v5; // rsi\n  const char *v6; // rax\n  const char *v7; // rsi\n  std::__vector_base<pugi::xml_node>::pointer v8; // r14\n  __int64 v9; // [rsp+8h] [rbp-38h] BYREF\n  _QWORD v10[6]; // [rsp+10h] [rbp-30h] BYREF\n\n  v4 = a1->dictTree.__end_ - 1;\n  v5 = \"k\";\n  if ( a1->compatible )\n    v5 = \"key\";\n  v10[0] = sub_10063B550(v4, v5);\n  if ( sub_10063B3F0(v10) )\n  {\n    while ( 1 )\n    {\n      v6 = (const char *)sub_10063B880(v10);\n      if ( !strcmp(v6, a2) )\n        break;\n      v7 = \"key\";\n      if ( !a1->compatible )\n        v7 = \"k\";\n      v10[0] = sub_10063B730(v10, v7);\n      if ( !sub_10063B3F0(v10) )\n        return;\n    }\n    v8 = a1->dictTree.__end_ - 1;\n    v9 = sub_10063B780(v10);\n    sub_10063D220(v8, &v9);\n    sub_10063D220(&a1->dictTree.__end_[-1], v10);\n  }\n}", "assembly": "; \n; DS_Dictionary::removeKey_1 from 0x10017d740 to 0x10017d82a (234 bytes)\n; \n; 6 xrefs:\n; > DS_Dictionary::setVec2ForKey @ 0x10017f4b1\n; > DS_Dictionary::setRectForKey @ 0x10017f9f5\n; > DS_Dictionary::setStringArrayForKey @ 0x10017fc9d\n; > DS_Dictionary::setVec2ArrayForKey @ 0x10017fef0\n; > DS_Dictionary::setRectArrayForKey @ 0x100180300\n; > DS_Dictionary::getArrayForKey @ 0x100180acb\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, 0x10017d740\nmov     rbp, rsp                                                       ; +0x1, 0x10017d741\npush    r15                                                            ; +0x4, 0x10017d744\npush    r14                                                            ; +0x6, 0x10017d746\npush    r13                                                            ; +0x8, 0x10017d748\npush    r12                                                            ; +0xa, 0x10017d74a\npush    rbx                                                            ; +0xc, 0x10017d74c\nsub     rsp, 18h                                                       ; +0xd, 0x10017d74d\nmov     r14, rsi                                                       ; +0x11, 0x10017d751\nmov     rbx, rdi                                                       ; +0x14, 0x10017d754\nmov     rdi, [rdi+0D8h]                                                ; +0x17, 0x10017d757\nadd     rdi, 0FFFFFFFFFFFFFFF8h                                        ; +0x1e, 0x10017d75e\nlea     r12, aKey; \"key\"                                               ; +0x22, 0x10017d762\ncmp     byte ptr [rbx+0E8h], 0                                         ; +0x29, 0x10017d769\nlea     r13, aK; \"k\"                                                   ; +0x30, 0x10017d770\nmov     rsi, r13                                                       ; +0x37, 0x10017d777\ncmovnz  rsi, r12                                                       ; +0x3a, 0x10017d77a\ncall    sub_10063B550                                                  ; +0x3e, 0x10017d77e\nmov     [rbp+var_30], rax                                              ; +0x43, 0x10017d783\nlea     rdi, [rbp+var_30]                                              ; +0x47, 0x10017d787\ncall    sub_10063B3F0                                                  ; +0x4b, 0x10017d78b\ntest    rax, rax                                                       ; +0x50, 0x10017d790\njz      loc_10017D81B                                                  ; +0x53, 0x10017d793\nlea     r15, [rbp+var_30]                                              ; +0x59, 0x10017d799\njmp     short loc_10017D7B9                                            ; +0x5d, 0x10017d79d\nalign 20h                                                              ; +0x5f, 0x10017d79f\nmov     rdi, r15                                                       ; +0x60, 0x10017d7a0\ncall    sub_10063B730                                                  ; +0x63, 0x10017d7a3\nmov     [rbp+var_30], rax                                              ; +0x68, 0x10017d7a8\nmov     rdi, r15                                                       ; +0x6c, 0x10017d7ac\ncall    sub_10063B3F0                                                  ; +0x6f, 0x10017d7af\ntest    rax, rax                                                       ; +0x74, 0x10017d7b4\njz      short loc_10017D81B                                            ; +0x77, 0x10017d7b7\nmov     rdi, r15                                                       ; +0x79, 0x10017d7b9\ncall    sub_10063B880                                                  ; +0x7c, 0x10017d7bc\nmov     rdi, rax; __s1                                                 ; +0x81, 0x10017d7c1\nmov     rsi, r14; __s2                                                 ; +0x84, 0x10017d7c4\ncall    _strcmp                                                        ; +0x87, 0x10017d7c7\ntest    eax, eax                                                       ; +0x8c, 0x10017d7cc\njz      short loc_10017D7E1                                            ; +0x8e, 0x10017d7ce\ncmp     byte ptr [rbx+0E8h], 0                                         ; +0x90, 0x10017d7d0\nmov     rsi, r12                                                       ; +0x97, 0x10017d7d7\njnz     short loc_10017D7A0                                            ; +0x9a, 0x10017d7da\nmov     rsi, r13                                                       ; +0x9c, 0x10017d7dc\njmp     short loc_10017D7A0                                            ; +0x9f, 0x10017d7df\nmov     r14, [rbx+0D8h]                                                ; +0xa1, 0x10017d7e1\nadd     r14, 0FFFFFFFFFFFFFFF8h                                        ; +0xa8, 0x10017d7e8\nlea     r15, [rbp+var_30]                                              ; +0xac, 0x10017d7ec\nmov     rdi, r15                                                       ; +0xb0, 0x10017d7f0\ncall    sub_10063B780                                                  ; +0xb3, 0x10017d7f3\nmov     [rbp+var_38], rax                                              ; +0xb8, 0x10017d7f8\nlea     rsi, [rbp+var_38]                                              ; +0xbc, 0x10017d7fc\nmov     rdi, r14                                                       ; +0xc0, 0x10017d800\ncall    sub_10063D220                                                  ; +0xc3, 0x10017d803\nmov     rdi, [rbx+0D8h]                                                ; +0xc8, 0x10017d808\nadd     rdi, 0FFFFFFFFFFFFFFF8h                                        ; +0xcf, 0x10017d80f\nmov     rsi, r15                                                       ; +0xd3, 0x10017d813\ncall    sub_10063D220                                                  ; +0xd6, 0x10017d816\nadd     rsp, 18h                                                       ; +0xdb, 0x10017d81b\npop     rbx                                                            ; +0xdf, 0x10017d81f\npop     r12                                                            ; +0xe0, 0x10017d820\npop     r13                                                            ; +0xe2, 0x10017d822\npop     r14                                                            ; +0xe4, 0x10017d824\npop     r15                                                            ; +0xe6, 0x10017d826\npop     rbp                                                            ; +0xe8, 0x10017d828\nretn                                                                   ; +0xe9, 0x10017d829", "xrefs": ["DS_Dictionary::setVec2ForKey @ 0x10017f4b1", "DS_Dictionary::setRectForKey @ 0x10017f9f5", "DS_Dictionary::setStringArrayForKey @ 0x10017fc9d", "DS_Dictionary::setVec2ArrayForKey @ 0x10017fef0", "DS_Dictionary::setRectArrayForKey @ 0x100180300", "DS_Dictionary::getArrayForKey @ 0x100180acb"], "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"}