{"type": "func", "start": 6442981968, "end": 6442982053, "name": "sub_180081A50", "pseudocode": "// \n// sub_180081A50 from 0x180081a50 to 0x180081aa5 (85 bytes)\n// \n// 28 xrefs:\n// > DS_Dictionary::getBoolForKey @ 0x180019ef5\n// > DS_Dictionary::getFloatForKey @ 0x18001a462\n// > DS_Dictionary::getFloatForKey @ 0x18001a4a4\n// > DS_Dictionary::getIndexOfKey @ 0x18001a5a5\n// > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a752\n// > DS_Dictionary::getIntegerForKey @ 0x18001a885\n// > DS_Dictionary::getObjectForKey @ 0x18001aae4\n// > DS_Dictionary::getRectForKey @ 0x18001af52\n// > DS_Dictionary::getRectForKey @ 0x18001af94\n// > DS_Dictionary::getStringArrayForKey @ 0x18001b3d1\n// > DS_Dictionary::getStringArrayForKey @ 0x18001b40f\n// > DS_Dictionary::getStringForKey @ 0x18001b646\n// > DS_Dictionary::getStringForKey @ 0x18001b688\n// > DS_Dictionary::getVec2ForKey @ 0x18001b913\n// > DS_Dictionary::getVec2ForKey @ 0x18001b955\n// > DS_Dictionary::removeKey @ 0x18001d042\n// > DS_Dictionary::removeKey @ 0x18001d153\n// > DS_Dictionary::setBoolForKey @ 0x18001e905\n// > DS_Dictionary::setFloatForKey @ 0x18001ef15\n// > DS_Dictionary::setIntegerForKey @ 0x18001f1a7\n// > DS_Dictionary::setRectArrayForKey @ 0x18001f5db\n// > DS_Dictionary::setRectForKey @ 0x18001fbf7\n// > DS_Dictionary::setStringArrayForKey @ 0x18001fe55\n// > DS_Dictionary::setStringForKey @ 0x180020097\n// > DS_Dictionary::setSubDictForKey @ 0x180020305\n// > DS_Dictionary::setVec2ArrayForKey @ 0x1800204fb\n// > DS_Dictionary::setVec2ForKey @ 0x180020a85\n// > DS_Dictionary::stepIntoSubDictWithKey @ 0x180021395\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_180081A50(__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 + 48LL)) != 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_180081A50 from 0x180081a50 to 0x180081aa5 (85 bytes)\n; \n; 28 xrefs:\n; > DS_Dictionary::getBoolForKey @ 0x180019ef5\n; > DS_Dictionary::getFloatForKey @ 0x18001a462\n; > DS_Dictionary::getFloatForKey @ 0x18001a4a4\n; > DS_Dictionary::getIndexOfKey @ 0x18001a5a5\n; > DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a752\n; > DS_Dictionary::getIntegerForKey @ 0x18001a885\n; > DS_Dictionary::getObjectForKey @ 0x18001aae4\n; > DS_Dictionary::getRectForKey @ 0x18001af52\n; > DS_Dictionary::getRectForKey @ 0x18001af94\n; > DS_Dictionary::getStringArrayForKey @ 0x18001b3d1\n; > DS_Dictionary::getStringArrayForKey @ 0x18001b40f\n; > DS_Dictionary::getStringForKey @ 0x18001b646\n; > DS_Dictionary::getStringForKey @ 0x18001b688\n; > DS_Dictionary::getVec2ForKey @ 0x18001b913\n; > DS_Dictionary::getVec2ForKey @ 0x18001b955\n; > DS_Dictionary::removeKey @ 0x18001d042\n; > DS_Dictionary::removeKey @ 0x18001d153\n; > DS_Dictionary::setBoolForKey @ 0x18001e905\n; > DS_Dictionary::setFloatForKey @ 0x18001ef15\n; > DS_Dictionary::setIntegerForKey @ 0x18001f1a7\n; > DS_Dictionary::setRectArrayForKey @ 0x18001f5db\n; > DS_Dictionary::setRectForKey @ 0x18001fbf7\n; > DS_Dictionary::setStringArrayForKey @ 0x18001fe55\n; > DS_Dictionary::setStringForKey @ 0x180020097\n; > DS_Dictionary::setSubDictForKey @ 0x180020305\n; > DS_Dictionary::setVec2ArrayForKey @ 0x1800204fb\n; > DS_Dictionary::setVec2ForKey @ 0x180020a85\n; > DS_Dictionary::stepIntoSubDictWithKey @ 0x180021395\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, 0x180081a50\nmov     r11, rdx                                                       ; +0x3, 0x180081a53\ntest    r10, r10                                                       ; +0x6, 0x180081a56\njz      short loc_180081A93                                            ; +0x9, 0x180081a59\nmov     r10, [r10+30h]                                                 ; +0xb, 0x180081a5b\ntest    r10, r10                                                       ; +0xf, 0x180081a5f\njz      short loc_180081A93                                            ; +0x12, 0x180081a62\nmov     r9, [r10+10h]                                                  ; +0x14, 0x180081a64\ntest    r9, r9                                                         ; +0x18, 0x180081a68\njz      short loc_180081A8A                                            ; +0x1b, 0x180081a6b\nmov     rax, r8                                                        ; +0x1d, 0x180081a6d\nsub     r9, r8                                                         ; +0x20, 0x180081a70\nmovzx   edx, byte ptr [rax]                                            ; +0x23, 0x180081a73\nmovzx   ecx, byte ptr [rax+r9]                                         ; +0x26, 0x180081a76\nsub     edx, ecx                                                       ; +0x2b, 0x180081a7b\njnz     short loc_180081A86                                            ; +0x2d, 0x180081a7d\ninc     rax                                                            ; +0x2f, 0x180081a7f\ntest    ecx, ecx                                                       ; +0x32, 0x180081a82\njnz     short loc_180081A73                                            ; +0x34, 0x180081a84\ntest    edx, edx                                                       ; +0x36, 0x180081a86\njz      short loc_180081A9E                                            ; +0x38, 0x180081a88\nmov     r10, [r10+30h]                                                 ; +0x3a, 0x180081a8a\ntest    r10, r10                                                       ; +0x3e, 0x180081a8e\njnz     short loc_180081A64                                            ; +0x41, 0x180081a91\nmov     qword ptr [r11], 0                                             ; +0x43, 0x180081a93\nmov     rax, r11                                                       ; +0x4a, 0x180081a9a\nretn                                                                   ; +0x4d, 0x180081a9d\nmov     [r11], r10                                                     ; +0x4e, 0x180081a9e\nmov     rax, r11                                                       ; +0x51, 0x180081aa1\nretn                                                                   ; +0x54, 0x180081aa4", "xrefs": ["DS_Dictionary::getBoolForKey @ 0x180019ef5", "DS_Dictionary::getFloatForKey @ 0x18001a462", "DS_Dictionary::getFloatForKey @ 0x18001a4a4", "DS_Dictionary::getIndexOfKey @ 0x18001a5a5", "DS_Dictionary::getIndexOfKeyWithClosestAlphaNumericalMatch @ 0x18001a752", "DS_Dictionary::getIntegerForKey @ 0x18001a885", "DS_Dictionary::getObjectForKey @ 0x18001aae4", "DS_Dictionary::getRectForKey @ 0x18001af52", "DS_Dictionary::getRectForKey @ 0x18001af94", "DS_Dictionary::getStringArrayForKey @ 0x18001b3d1", "DS_Dictionary::getStringArrayForKey @ 0x18001b40f", "DS_Dictionary::getStringForKey @ 0x18001b646", "DS_Dictionary::getStringForKey @ 0x18001b688", "DS_Dictionary::getVec2ForKey @ 0x18001b913", "DS_Dictionary::getVec2ForKey @ 0x18001b955", "DS_Dictionary::removeKey @ 0x18001d042", "DS_Dictionary::removeKey @ 0x18001d153", "DS_Dictionary::setBoolForKey @ 0x18001e905", "DS_Dictionary::setFloatForKey @ 0x18001ef15", "DS_Dictionary::setIntegerForKey @ 0x18001f1a7", "DS_Dictionary::setRectArrayForKey @ 0x18001f5db", "DS_Dictionary::setRectForKey @ 0x18001fbf7", "DS_Dictionary::setStringArrayForKey @ 0x18001fe55", "DS_Dictionary::setStringForKey @ 0x180020097", "DS_Dictionary::setSubDictForKey @ 0x180020305", "DS_Dictionary::setVec2ArrayForKey @ 0x1800204fb", "DS_Dictionary::setVec2ForKey @ 0x180020a85", "DS_Dictionary::stepIntoSubDictWithKey @ 0x180021395"], "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"}