{"type": "func", "start": 4296395568, "end": 4296395802, "name": "DS_Dictionary::removeKey_1", "pseudocode": "// \n// DS_Dictionary::removeKey_1 from 0x10015cb30 to 0x10015cc1a (234 bytes)\n// \n// 11 xrefs:\n// > DS_Dictionary::setVec2ForKey @ 0x10015e8a1\n// > DS_Dictionary::setRectForKey @ 0x10015ede5\n// > DS_Dictionary::setStringArrayForKey @ 0x10015f08d\n// > DS_Dictionary::setVec2ArrayForKey @ 0x10015f2e0\n// > DS_Dictionary::setRectArrayForKey @ 0x10015f6f0\n// > DS_Dictionary::getArrayForKey @ 0x10015febb\n// > GameLevelManager::writePlatformerSaveJournal @ 0x10054c651\n// > GameLevelManager::replayPlatformerSaveJournal @ 0x10054d667\n// > sub_10054DBF0 @ 0x10054dd14\n// > sub_10054DDE0 @ 0x10054e017\n// > sub_10058BFE0 @ 0x10058c027\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 12:25:06 +0000\n// \n\n__int64 __fastcall DS_Dictionary::removeKey_1(__int64 a1, const char *a2)\n{\n  __int64 v4; // rdi\n  const char *v5; // rsi\n  __int64 result; // rax\n  const char *v7; // rax\n  const char *v8; // rsi\n  __int64 v9; // r14\n  __int64 v10; // [rsp+8h] [rbp-38h] BYREF\n  _QWORD v11[6]; // [rsp+10h] [rbp-30h] BYREF\n\n  v4 = *(_QWORD *)(a1 + 216) - 8LL;\n  v5 = \"k\";\n  if ( *(_BYTE *)(a1 + 232) )\n    v5 = \"key\";\n  v11[0] = sub_100718180(v4, v5);\n  result = sub_100718020(v11);\n  if ( result )\n  {\n    while ( 1 )\n    {\n      v7 = (const char *)sub_1007184B0(v11);\n      if ( !strcmp(v7, a2) )\n        break;\n      v8 = \"key\";\n      if ( !*(_BYTE *)(a1 + 232) )\n        v8 = \"k\";\n      v11[0] = sub_100718360(v11, v8);\n      result = sub_100718020(v11);\n      if ( !result )\n        return result;\n    }\n    v9 = *(_QWORD *)(a1 + 216) - 8LL;\n    v10 = sub_1007183B0(v11);\n    sub_100719E50(v9, &v10);\n    return sub_100719E50(*(_QWORD *)(a1 + 216) - 8LL, v11);\n  }\n  return result;\n}", "assembly": "; \n; DS_Dictionary::removeKey_1 from 0x10015cb30 to 0x10015cc1a (234 bytes)\n; \n; 11 xrefs:\n; > DS_Dictionary::setVec2ForKey @ 0x10015e8a1\n; > DS_Dictionary::setRectForKey @ 0x10015ede5\n; > DS_Dictionary::setStringArrayForKey @ 0x10015f08d\n; > DS_Dictionary::setVec2ArrayForKey @ 0x10015f2e0\n; > DS_Dictionary::setRectArrayForKey @ 0x10015f6f0\n; > DS_Dictionary::getArrayForKey @ 0x10015febb\n; > GameLevelManager::writePlatformerSaveJournal @ 0x10054c651\n; > GameLevelManager::replayPlatformerSaveJournal @ 0x10054d667\n; > sub_10054DBF0 @ 0x10054dd14\n; > sub_10054DDE0 @ 0x10054e017\n; > sub_10058BFE0 @ 0x10058c027\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 12:25:06 +0000\n; \npush    rbp                                                            ; +0x0, 0x10015cb30\nmov     rbp, rsp                                                       ; +0x1, 0x10015cb31\npush    r15                                                            ; +0x4, 0x10015cb34\npush    r14                                                            ; +0x6, 0x10015cb36\npush    r13                                                            ; +0x8, 0x10015cb38\npush    r12                                                            ; +0xa, 0x10015cb3a\npush    rbx                                                            ; +0xc, 0x10015cb3c\nsub     rsp, 18h                                                       ; +0xd, 0x10015cb3d\nmov     r14, rsi                                                       ; +0x11, 0x10015cb41\nmov     rbx, rdi                                                       ; +0x14, 0x10015cb44\nmov     rdi, [rdi+0D8h]                                                ; +0x17, 0x10015cb47\nadd     rdi, 0FFFFFFFFFFFFFFF8h                                        ; +0x1e, 0x10015cb4e\nlea     r12, aKey; \"key\"                                               ; +0x22, 0x10015cb52\ncmp     byte ptr [rbx+0E8h], 0                                         ; +0x29, 0x10015cb59\nlea     r13, aK; \"k\"                                                   ; +0x30, 0x10015cb60\nmov     rsi, r13                                                       ; +0x37, 0x10015cb67\ncmovnz  rsi, r12                                                       ; +0x3a, 0x10015cb6a\ncall    sub_100718180                                                  ; +0x3e, 0x10015cb6e\nmov     [rbp+var_30], rax                                              ; +0x43, 0x10015cb73\nlea     rdi, [rbp+var_30]                                              ; +0x47, 0x10015cb77\ncall    sub_100718020                                                  ; +0x4b, 0x10015cb7b\ntest    rax, rax                                                       ; +0x50, 0x10015cb80\njz      loc_10015CC0B                                                  ; +0x53, 0x10015cb83\nlea     r15, [rbp+var_30]                                              ; +0x59, 0x10015cb89\njmp     short loc_10015CBA9                                            ; +0x5d, 0x10015cb8d\nalign 10h                                                              ; +0x5f, 0x10015cb8f\nmov     rdi, r15                                                       ; +0x60, 0x10015cb90\ncall    sub_100718360                                                  ; +0x63, 0x10015cb93\nmov     [rbp+var_30], rax                                              ; +0x68, 0x10015cb98\nmov     rdi, r15                                                       ; +0x6c, 0x10015cb9c\ncall    sub_100718020                                                  ; +0x6f, 0x10015cb9f\ntest    rax, rax                                                       ; +0x74, 0x10015cba4\njz      short loc_10015CC0B                                            ; +0x77, 0x10015cba7\nmov     rdi, r15                                                       ; +0x79, 0x10015cba9\ncall    sub_1007184B0                                                  ; +0x7c, 0x10015cbac\nmov     rdi, rax; __s1                                                 ; +0x81, 0x10015cbb1\nmov     rsi, r14; __s2                                                 ; +0x84, 0x10015cbb4\ncall    _strcmp                                                        ; +0x87, 0x10015cbb7\ntest    eax, eax                                                       ; +0x8c, 0x10015cbbc\njz      short loc_10015CBD1                                            ; +0x8e, 0x10015cbbe\ncmp     byte ptr [rbx+0E8h], 0                                         ; +0x90, 0x10015cbc0\nmov     rsi, r12                                                       ; +0x97, 0x10015cbc7\njnz     short loc_10015CB90                                            ; +0x9a, 0x10015cbca\nmov     rsi, r13                                                       ; +0x9c, 0x10015cbcc\njmp     short loc_10015CB90                                            ; +0x9f, 0x10015cbcf\nmov     r14, [rbx+0D8h]                                                ; +0xa1, 0x10015cbd1\nadd     r14, 0FFFFFFFFFFFFFFF8h                                        ; +0xa8, 0x10015cbd8\nlea     r15, [rbp+var_30]                                              ; +0xac, 0x10015cbdc\nmov     rdi, r15                                                       ; +0xb0, 0x10015cbe0\ncall    sub_1007183B0                                                  ; +0xb3, 0x10015cbe3\nmov     [rbp+var_38], rax                                              ; +0xb8, 0x10015cbe8\nlea     rsi, [rbp+var_38]                                              ; +0xbc, 0x10015cbec\nmov     rdi, r14                                                       ; +0xc0, 0x10015cbf0\ncall    sub_100719E50                                                  ; +0xc3, 0x10015cbf3\nmov     rdi, [rbx+0D8h]                                                ; +0xc8, 0x10015cbf8\nadd     rdi, 0FFFFFFFFFFFFFFF8h                                        ; +0xcf, 0x10015cbff\nmov     rsi, r15                                                       ; +0xd3, 0x10015cc03\ncall    sub_100719E50                                                  ; +0xd6, 0x10015cc06\nadd     rsp, 18h                                                       ; +0xdb, 0x10015cc0b\npop     rbx                                                            ; +0xdf, 0x10015cc0f\npop     r12                                                            ; +0xe0, 0x10015cc10\npop     r13                                                            ; +0xe2, 0x10015cc12\npop     r14                                                            ; +0xe4, 0x10015cc14\npop     r15                                                            ; +0xe6, 0x10015cc16\npop     rbp                                                            ; +0xe8, 0x10015cc18\nretn                                                                   ; +0xe9, 0x10015cc19", "xrefs": ["DS_Dictionary::setVec2ForKey @ 0x10015e8a1", "DS_Dictionary::setRectForKey @ 0x10015ede5", "DS_Dictionary::setStringArrayForKey @ 0x10015f08d", "DS_Dictionary::setVec2ArrayForKey @ 0x10015f2e0", "DS_Dictionary::setRectArrayForKey @ 0x10015f6f0", "DS_Dictionary::getArrayForKey @ 0x10015febb", "GameLevelManager::writePlatformerSaveJournal @ 0x10054c651", "GameLevelManager::replayPlatformerSaveJournal @ 0x10054d667", "sub_10054DBF0 @ 0x10054dd14", "sub_10054DDE0 @ 0x10054e017", "sub_10058BFE0 @ 0x10058c027"], "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"}