{"type": "func", "start": 6442996752, "end": 6442996813, "name": "sub_180085410", "pseudocode": "// \n// sub_180085410 from 0x180085410 to 0x18008544d (61 bytes)\n// \n// 21 xrefs:\n// > DS_Dictionary::setArrayForKey @ 0x18001e794\n// > DS_Dictionary::setBoolForKey @ 0x18001e967\n// > DS_Dictionary::setFloatForKey @ 0x18001ef77\n// > DS_Dictionary::setFloatForKey @ 0x18001f05b\n// > DS_Dictionary::setIntegerForKey @ 0x18001f209\n// > DS_Dictionary::setIntegerForKey @ 0x18001f2ed\n// > DS_Dictionary::setRectArrayForKey @ 0x18001f63d\n// > DS_Dictionary::setRectArrayForKey @ 0x18001f920\n// > DS_Dictionary::setRectForKey @ 0x18001fc59\n// > DS_Dictionary::setRectForKey @ 0x18001fcc5\n// > DS_Dictionary::setStringArrayForKey @ 0x18001feb7\n// > DS_Dictionary::setStringArrayForKey @ 0x18001ff69\n// > DS_Dictionary::setStringForKey @ 0x1800200f9\n// > DS_Dictionary::setStringForKey @ 0x18002015e\n// > DS_Dictionary::setSubDictForKey @ 0x18002020b\n// > DS_Dictionary::setSubDictForKey @ 0x180020367\n// > DS_Dictionary::setVec2ArrayForKey @ 0x18002055d\n// > DS_Dictionary::setVec2ArrayForKey @ 0x1800207f2\n// > DS_Dictionary::setVec2ForKey @ 0x180020ae7\n// > DS_Dictionary::setVec2ForKey @ 0x180020b53\n// > sub_180084370 @ 0x18008461d\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\nchar __fastcall sub_180085410(_DWORD **a1, __int64 a2)\n{\n  _DWORD *v3; // rdx\n\n  v3 = *a1;\n  if ( *a1 && ((*v3 & 7) == 2 || (*v3 & 7) == 3 || (*v3 & 7) == 4 || (*v3 & 7) == 5 || (*v3 & 7) == 7) )\n    return sub_180085720(v3 + 6, v3, 8, a2);\n  else\n    return 0;\n}", "assembly": "; \n; sub_180085410 from 0x180085410 to 0x18008544d (61 bytes)\n; \n; 21 xrefs:\n; > DS_Dictionary::setArrayForKey @ 0x18001e794\n; > DS_Dictionary::setBoolForKey @ 0x18001e967\n; > DS_Dictionary::setFloatForKey @ 0x18001ef77\n; > DS_Dictionary::setFloatForKey @ 0x18001f05b\n; > DS_Dictionary::setIntegerForKey @ 0x18001f209\n; > DS_Dictionary::setIntegerForKey @ 0x18001f2ed\n; > DS_Dictionary::setRectArrayForKey @ 0x18001f63d\n; > DS_Dictionary::setRectArrayForKey @ 0x18001f920\n; > DS_Dictionary::setRectForKey @ 0x18001fc59\n; > DS_Dictionary::setRectForKey @ 0x18001fcc5\n; > DS_Dictionary::setStringArrayForKey @ 0x18001feb7\n; > DS_Dictionary::setStringArrayForKey @ 0x18001ff69\n; > DS_Dictionary::setStringForKey @ 0x1800200f9\n; > DS_Dictionary::setStringForKey @ 0x18002015e\n; > DS_Dictionary::setSubDictForKey @ 0x18002020b\n; > DS_Dictionary::setSubDictForKey @ 0x180020367\n; > DS_Dictionary::setVec2ArrayForKey @ 0x18002055d\n; > DS_Dictionary::setVec2ArrayForKey @ 0x1800207f2\n; > DS_Dictionary::setVec2ForKey @ 0x180020ae7\n; > DS_Dictionary::setVec2ForKey @ 0x180020b53\n; > sub_180084370 @ 0x18008461d\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     r9, rdx                                                        ; +0x0, 0x180085410\nmov     rdx, [rcx]                                                     ; +0x3, 0x180085413\ntest    rdx, rdx                                                       ; +0x6, 0x180085416\njz      short loc_18008544A                                            ; +0x9, 0x180085419\nmov     ecx, [rdx]                                                     ; +0xb, 0x18008541b\nand     ecx, 7                                                         ; +0xd, 0x18008541d\ninc     ecx                                                            ; +0x10, 0x180085420\nsub     ecx, 3                                                         ; +0x12, 0x180085422\njz      short loc_18008543B                                            ; +0x15, 0x180085425\nsub     ecx, 1                                                         ; +0x17, 0x180085427\njz      short loc_18008543B                                            ; +0x1a, 0x18008542a\nsub     ecx, 1                                                         ; +0x1c, 0x18008542c\njz      short loc_18008543B                                            ; +0x1f, 0x18008542f\nsub     ecx, 1                                                         ; +0x21, 0x180085431\njz      short loc_18008543B                                            ; +0x24, 0x180085434\ncmp     ecx, 2                                                         ; +0x26, 0x180085436\njnz     short loc_18008544A                                            ; +0x29, 0x180085439\nlea     rcx, [rdx+18h]                                                 ; +0x2b, 0x18008543b\nmov     r8d, 8                                                         ; +0x2f, 0x18008543f\njmp     sub_180085720                                                  ; +0x35, 0x180085445\nxor     al, al                                                         ; +0x3a, 0x18008544a\nretn                                                                   ; +0x3c, 0x18008544c", "xrefs": ["DS_Dictionary::setArrayForKey @ 0x18001e794", "DS_Dictionary::setBoolForKey @ 0x18001e967", "DS_Dictionary::setFloatForKey @ 0x18001ef77", "DS_Dictionary::setFloatForKey @ 0x18001f05b", "DS_Dictionary::setIntegerForKey @ 0x18001f209", "DS_Dictionary::setIntegerForKey @ 0x18001f2ed", "DS_Dictionary::setRectArrayForKey @ 0x18001f63d", "DS_Dictionary::setRectArrayForKey @ 0x18001f920", "DS_Dictionary::setRectForKey @ 0x18001fc59", "DS_Dictionary::setRectForKey @ 0x18001fcc5", "DS_Dictionary::setStringArrayForKey @ 0x18001feb7", "DS_Dictionary::setStringArrayForKey @ 0x18001ff69", "DS_Dictionary::setStringForKey @ 0x1800200f9", "DS_Dictionary::setStringForKey @ 0x18002015e", "DS_Dictionary::setSubDictForKey @ 0x18002020b", "DS_Dictionary::setSubDictForKey @ 0x180020367", "DS_Dictionary::setVec2ArrayForKey @ 0x18002055d", "DS_Dictionary::setVec2ArrayForKey @ 0x1800207f2", "DS_Dictionary::setVec2ForKey @ 0x180020ae7", "DS_Dictionary::setVec2ForKey @ 0x180020b53", "sub_180084370 @ 0x18008461d"], "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"}