{"type": "func", "start": 6442973968, "end": 6442974053, "name": "sub_18007FB10", "pseudocode": "// \n// sub_18007FB10 from 0x18007fb10 to 0x18007fb65 (85 bytes)\n// \n// 41 xrefs:\n// > DS_Dictionary::DS_Dictionary @ 0x18001728c\n// > DS_Dictionary::DS_Dictionary @ 0x1800172a0\n// > DS_Dictionary::checkCompatibility @ 0x1800192b5\n// > DS_Dictionary::getBoolForKey @ 0x180019e9e\n// > DS_Dictionary::getFloatForKey @ 0x18001a3fa\n// > DS_Dictionary::getIndexOfKey @ 0x18001a54c\n// > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a62b\n// > DS_Dictionary::getIntegerForKey @ 0x18001a7cb\n// > DS_Dictionary::getObjectForKey @ 0x18001aa8f\n// > DS_Dictionary::getRectForKey @ 0x18001aef1\n// > DS_Dictionary::getStringArrayForKey @ 0x18001b372\n// > DS_Dictionary::getStringForKey @ 0x18001b5db\n// > DS_Dictionary::getVec2ForKey @ 0x18001b8b2\n// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc47\n// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc5a\n// > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc7c\n// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bf94\n// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bfa7\n// > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bfc1\n// > DS_Dictionary::loadRootSubDictFromString @ 0x18001c117\n// > DS_Dictionary::loadRootSubDictFromString @ 0x18001c12e\n// > DS_Dictionary::loadRootSubDictFromString @ 0x18001c149\n// > DS_Dictionary::removeAllKeys @ 0x18001cf36\n// > DS_Dictionary::removeAllKeys @ 0x18001cfa9\n// > DS_Dictionary::removeKey @ 0x18001d00b\n// > DS_Dictionary::removeKey @ 0x18001d0ee\n// > DS_Dictionary::saveRootSubDictToCompressedFile @ 0x18001d640\n// > DS_Dictionary::saveRootSubDictToString @ 0x18001e241\n// > DS_Dictionary::setBoolForKey @ 0x18001e8bb\n// > DS_Dictionary::setFloatForKey @ 0x18001eec3\n// > DS_Dictionary::setIntegerForKey @ 0x18001f15e\n// > DS_Dictionary::setRectArrayForKey @ 0x18001f592\n// > DS_Dictionary::setRectForKey @ 0x18001fbae\n// > DS_Dictionary::setStringArrayForKey @ 0x18001fe0a\n// > DS_Dictionary::setStringForKey @ 0x18002004e\n// > DS_Dictionary::setSubDictForKey @ 0x1800202b4\n// > DS_Dictionary::setVec2ArrayForKey @ 0x1800204b2\n// > DS_Dictionary::setVec2ForKey @ 0x180020a3c\n// > DS_Dictionary::stepBackToRootSubDict @ 0x18002126e\n// > DS_Dictionary::stepBackToRootSubDict @ 0x180021282\n// > DS_Dictionary::stepIntoSubDictWithKey @ 0x1800212db\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\n_QWORD *__fastcall sub_18007FB10(__int64 a1, _QWORD *a2, const char *a3)\n{\n  __int64 v4; // r10\n  const char *v5; // r9\n\n  if ( *(_QWORD *)a1 && (v4 = *(_QWORD *)(*(_QWORD *)a1 + 32LL)) != 0 )\n  {\n    while ( 1 )\n    {\n      v5 = *(const char **)(v4 + 16);\n      if ( v5 )\n      {\n        if ( !strcmp(a3, v5) )\n          break;\n      }\n      v4 = *(_QWORD *)(v4 + 48);\n      if ( !v4 )\n        goto LABEL_6;\n    }\n    *a2 = v4;\n    return a2;\n  }\n  else\n  {\nLABEL_6:\n    *a2 = 0;\n    return a2;\n  }\n}", "assembly": "; \n; sub_18007FB10 from 0x18007fb10 to 0x18007fb65 (85 bytes)\n; \n; 41 xrefs:\n; > DS_Dictionary::DS_Dictionary @ 0x18001728c\n; > DS_Dictionary::DS_Dictionary @ 0x1800172a0\n; > DS_Dictionary::checkCompatibility @ 0x1800192b5\n; > DS_Dictionary::getBoolForKey @ 0x180019e9e\n; > DS_Dictionary::getFloatForKey @ 0x18001a3fa\n; > DS_Dictionary::getIndexOfKey @ 0x18001a54c\n; > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a62b\n; > DS_Dictionary::getIntegerForKey @ 0x18001a7cb\n; > DS_Dictionary::getObjectForKey @ 0x18001aa8f\n; > DS_Dictionary::getRectForKey @ 0x18001aef1\n; > DS_Dictionary::getStringArrayForKey @ 0x18001b372\n; > DS_Dictionary::getStringForKey @ 0x18001b5db\n; > DS_Dictionary::getVec2ForKey @ 0x18001b8b2\n; > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc47\n; > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc5a\n; > DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc7c\n; > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bf94\n; > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bfa7\n; > DS_Dictionary::loadRootSubDictFromFile @ 0x18001bfc1\n; > DS_Dictionary::loadRootSubDictFromString @ 0x18001c117\n; > DS_Dictionary::loadRootSubDictFromString @ 0x18001c12e\n; > DS_Dictionary::loadRootSubDictFromString @ 0x18001c149\n; > DS_Dictionary::removeAllKeys @ 0x18001cf36\n; > DS_Dictionary::removeAllKeys @ 0x18001cfa9\n; > DS_Dictionary::removeKey @ 0x18001d00b\n; > DS_Dictionary::removeKey @ 0x18001d0ee\n; > DS_Dictionary::saveRootSubDictToCompressedFile @ 0x18001d640\n; > DS_Dictionary::saveRootSubDictToString @ 0x18001e241\n; > DS_Dictionary::setBoolForKey @ 0x18001e8bb\n; > DS_Dictionary::setFloatForKey @ 0x18001eec3\n; > DS_Dictionary::setIntegerForKey @ 0x18001f15e\n; > DS_Dictionary::setRectArrayForKey @ 0x18001f592\n; > DS_Dictionary::setRectForKey @ 0x18001fbae\n; > DS_Dictionary::setStringArrayForKey @ 0x18001fe0a\n; > DS_Dictionary::setStringForKey @ 0x18002004e\n; > DS_Dictionary::setSubDictForKey @ 0x1800202b4\n; > DS_Dictionary::setVec2ArrayForKey @ 0x1800204b2\n; > DS_Dictionary::setVec2ForKey @ 0x180020a3c\n; > DS_Dictionary::stepBackToRootSubDict @ 0x18002126e\n; > DS_Dictionary::stepBackToRootSubDict @ 0x180021282\n; > DS_Dictionary::stepIntoSubDictWithKey @ 0x1800212db\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     r10, [rcx]                                                     ; +0x0, 0x18007fb10\nmov     r11, rdx                                                       ; +0x3, 0x18007fb13\ntest    r10, r10                                                       ; +0x6, 0x18007fb16\njz      short loc_18007FB53                                            ; +0x9, 0x18007fb19\nmov     r10, [r10+20h]                                                 ; +0xb, 0x18007fb1b\ntest    r10, r10                                                       ; +0xf, 0x18007fb1f\njz      short loc_18007FB53                                            ; +0x12, 0x18007fb22\nmov     r9, [r10+10h]                                                  ; +0x14, 0x18007fb24\ntest    r9, r9                                                         ; +0x18, 0x18007fb28\njz      short loc_18007FB4A                                            ; +0x1b, 0x18007fb2b\nmov     rax, r8                                                        ; +0x1d, 0x18007fb2d\nsub     r9, r8                                                         ; +0x20, 0x18007fb30\nmovzx   edx, byte ptr [rax]                                            ; +0x23, 0x18007fb33\nmovzx   ecx, byte ptr [rax+r9]                                         ; +0x26, 0x18007fb36\nsub     edx, ecx                                                       ; +0x2b, 0x18007fb3b\njnz     short loc_18007FB46                                            ; +0x2d, 0x18007fb3d\ninc     rax                                                            ; +0x2f, 0x18007fb3f\ntest    ecx, ecx                                                       ; +0x32, 0x18007fb42\njnz     short loc_18007FB33                                            ; +0x34, 0x18007fb44\ntest    edx, edx                                                       ; +0x36, 0x18007fb46\njz      short loc_18007FB5E                                            ; +0x38, 0x18007fb48\nmov     r10, [r10+30h]                                                 ; +0x3a, 0x18007fb4a\ntest    r10, r10                                                       ; +0x3e, 0x18007fb4e\njnz     short loc_18007FB24                                            ; +0x41, 0x18007fb51\nmov     qword ptr [r11], 0                                             ; +0x43, 0x18007fb53\nmov     rax, r11                                                       ; +0x4a, 0x18007fb5a\nretn                                                                   ; +0x4d, 0x18007fb5d\nmov     [r11], r10                                                     ; +0x4e, 0x18007fb5e\nmov     rax, r11                                                       ; +0x51, 0x18007fb61\nretn                                                                   ; +0x54, 0x18007fb64", "xrefs": ["DS_Dictionary::DS_Dictionary @ 0x18001728c", "DS_Dictionary::DS_Dictionary @ 0x1800172a0", "DS_Dictionary::checkCompatibility @ 0x1800192b5", "DS_Dictionary::getBoolForKey @ 0x180019e9e", "DS_Dictionary::getFloatForKey @ 0x18001a3fa", "DS_Dictionary::getIndexOfKey @ 0x18001a54c", "DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a62b", "DS_Dictionary::getIntegerForKey @ 0x18001a7cb", "DS_Dictionary::getObjectForKey @ 0x18001aa8f", "DS_Dictionary::getRectForKey @ 0x18001aef1", "DS_Dictionary::getStringArrayForKey @ 0x18001b372", "DS_Dictionary::getStringForKey @ 0x18001b5db", "DS_Dictionary::getVec2ForKey @ 0x18001b8b2", "DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc47", "DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc5a", "DS_Dictionary::loadRootSubDictFromCompressedFile @ 0x18001bc7c", "DS_Dictionary::loadRootSubDictFromFile @ 0x18001bf94", "DS_Dictionary::loadRootSubDictFromFile @ 0x18001bfa7", "DS_Dictionary::loadRootSubDictFromFile @ 0x18001bfc1", "DS_Dictionary::loadRootSubDictFromString @ 0x18001c117", "DS_Dictionary::loadRootSubDictFromString @ 0x18001c12e", "DS_Dictionary::loadRootSubDictFromString @ 0x18001c149", "DS_Dictionary::removeAllKeys @ 0x18001cf36", "DS_Dictionary::removeAllKeys @ 0x18001cfa9", "DS_Dictionary::removeKey @ 0x18001d00b", "DS_Dictionary::removeKey @ 0x18001d0ee", "DS_Dictionary::saveRootSubDictToCompressedFile @ 0x18001d640", "DS_Dictionary::saveRootSubDictToString @ 0x18001e241", "DS_Dictionary::setBoolForKey @ 0x18001e8bb", "DS_Dictionary::setFloatForKey @ 0x18001eec3", "DS_Dictionary::setIntegerForKey @ 0x18001f15e", "DS_Dictionary::setRectArrayForKey @ 0x18001f592", "DS_Dictionary::setRectForKey @ 0x18001fbae", "DS_Dictionary::setStringArrayForKey @ 0x18001fe0a", "DS_Dictionary::setStringForKey @ 0x18002004e", "DS_Dictionary::setSubDictForKey @ 0x1800202b4", "DS_Dictionary::setVec2ArrayForKey @ 0x1800204b2", "DS_Dictionary::setVec2ForKey @ 0x180020a3c", "DS_Dictionary::stepBackToRootSubDict @ 0x18002126e", "DS_Dictionary::stepBackToRootSubDict @ 0x180021282", "DS_Dictionary::stepIntoSubDictWithKey @ 0x1800212db"], "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"}