{"type": "func", "start": 6442985360, "end": 6442985499, "name": "sub_180082790", "pseudocode": "// \n// sub_180082790 from 0x180082790 to 0x18008281b (139 bytes)\n// \n// 19 xrefs:\n// > DS_Dictionary::DS_Dictionary @ 0x180016d79\n// > DS_Dictionary::DS_Dictionary @ 0x180016db4\n// > DS_Dictionary::setArrayForKey @ 0x18001e88e\n// > DS_Dictionary::setArrayForKey @ 0x18001e927\n// > DS_Dictionary::setBoolForKey @ 0x18001eb0f\n// > DS_Dictionary::setFloatForKey @ 0x18001f0ef\n// > DS_Dictionary::setIntegerForKey @ 0x18001f381\n// > DS_Dictionary::setRectArrayForKey @ 0x18001f7cf\n// > DS_Dictionary::setRectArrayForKey @ 0x18001fab9\n// > DS_Dictionary::setRectForKey @ 0x18001fe0f\n// > DS_Dictionary::setStringArrayForKey @ 0x18002008f\n// > DS_Dictionary::setStringArrayForKey @ 0x18002014b\n// > DS_Dictionary::setStringForKey @ 0x1800202d1\n// > DS_Dictionary::setSubDictForKey @ 0x1800203e3\n// > DS_Dictionary::setSubDictForKey @ 0x18002053f\n// > DS_Dictionary::setVec2ArrayForKey @ 0x18002072f\n// > DS_Dictionary::setVec2ArrayForKey @ 0x1800209d4\n// > DS_Dictionary::setVec2ForKey @ 0x180020ce4\n// > <???> @ 0x1801bf2ec\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 11:22:03 +0000\n// \n\n_QWORD *__fastcall sub_180082790(_QWORD **a1, _QWORD *a2, __int64 a3)\n{\n  _QWORD *v3; // rcx\n  _DWORD *v6; // rax\n\n  v3 = *a1;\n  if ( v3 && (*(_DWORD *)v3 & 7u) < 2 )\n  {\n    v6 = (_DWORD *)sub_1800828E0(v3, *(_QWORD *)(*v3 & 0xFFFFFFFFFFFFFFE0uLL), 2);\n    *a2 = v6;\n    if ( v6 && ((*v6 & 7) == 1 || (*v6 & 7u) - 5 <= 1) )\n    {\n      sub_180088820(v6 + 4, v6, 16, a3);\n      return a2;\n    }\n  }\n  else\n  {\n    *a2 = 0;\n  }\n  return a2;\n}", "assembly": "; \n; sub_180082790 from 0x180082790 to 0x18008281b (139 bytes)\n; \n; 19 xrefs:\n; > DS_Dictionary::DS_Dictionary @ 0x180016d79\n; > DS_Dictionary::DS_Dictionary @ 0x180016db4\n; > DS_Dictionary::setArrayForKey @ 0x18001e88e\n; > DS_Dictionary::setArrayForKey @ 0x18001e927\n; > DS_Dictionary::setBoolForKey @ 0x18001eb0f\n; > DS_Dictionary::setFloatForKey @ 0x18001f0ef\n; > DS_Dictionary::setIntegerForKey @ 0x18001f381\n; > DS_Dictionary::setRectArrayForKey @ 0x18001f7cf\n; > DS_Dictionary::setRectArrayForKey @ 0x18001fab9\n; > DS_Dictionary::setRectForKey @ 0x18001fe0f\n; > DS_Dictionary::setStringArrayForKey @ 0x18002008f\n; > DS_Dictionary::setStringArrayForKey @ 0x18002014b\n; > DS_Dictionary::setStringForKey @ 0x1800202d1\n; > DS_Dictionary::setSubDictForKey @ 0x1800203e3\n; > DS_Dictionary::setSubDictForKey @ 0x18002053f\n; > DS_Dictionary::setVec2ArrayForKey @ 0x18002072f\n; > DS_Dictionary::setVec2ArrayForKey @ 0x1800209d4\n; > DS_Dictionary::setVec2ForKey @ 0x180020ce4\n; > <???> @ 0x1801bf2ec\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 11:22:03 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180082790\npush    rdi                                                            ; +0x5, 0x180082795\nsub     rsp, 20h                                                       ; +0x6, 0x180082796\nmov     rcx, [rcx]                                                     ; +0xa, 0x18008279a\nmov     rdi, r8                                                        ; +0xd, 0x18008279d\nmov     rbx, rdx                                                       ; +0x10, 0x1800827a0\ntest    rcx, rcx                                                       ; +0x13, 0x1800827a3\njz      short loc_180082806                                            ; +0x16, 0x1800827a6\nmov     eax, [rcx]                                                     ; +0x18, 0x1800827a8\nand     al, 7                                                          ; +0x1a, 0x1800827aa\ncmp     al, 2                                                          ; +0x1c, 0x1800827ac\njnb     short loc_180082806                                            ; +0x1e, 0x1800827ae\nmov     rdx, [rcx]                                                     ; +0x20, 0x1800827b0\nmov     r8d, 2                                                         ; +0x23, 0x1800827b3\nand     rdx, 0FFFFFFFFFFFFFFE0h                                        ; +0x29, 0x1800827b9\nmov     rdx, [rdx]                                                     ; +0x2d, 0x1800827bd\ncall    sub_1800828E0                                                  ; +0x30, 0x1800827c0\nmov     [rbx], rax                                                     ; +0x35, 0x1800827c5\ntest    rax, rax                                                       ; +0x38, 0x1800827c8\njz      short loc_18008280D                                            ; +0x3b, 0x1800827cb\nmov     edx, [rax]                                                     ; +0x3d, 0x1800827cd\nand     edx, 7                                                         ; +0x3f, 0x1800827cf\ninc     edx                                                            ; +0x42, 0x1800827d2\nsub     edx, 2                                                         ; +0x44, 0x1800827d4\njz      short loc_1800827E3                                            ; +0x47, 0x1800827d7\nsub     edx, 4                                                         ; +0x49, 0x1800827d9\njz      short loc_1800827E3                                            ; +0x4c, 0x1800827dc\ncmp     edx, 1                                                         ; +0x4e, 0x1800827de\njnz     short loc_18008280D                                            ; +0x51, 0x1800827e1\nlea     rcx, [rax+10h]                                                 ; +0x53, 0x1800827e3\nmov     r9, rdi                                                        ; +0x57, 0x1800827e7\nmov     r8d, 10h                                                       ; +0x5a, 0x1800827ea\nmov     rdx, rax                                                       ; +0x60, 0x1800827f0\ncall    sub_180088820                                                  ; +0x63, 0x1800827f3\nmov     rax, rbx                                                       ; +0x68, 0x1800827f8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6b, 0x1800827fb\nadd     rsp, 20h                                                       ; +0x70, 0x180082800\npop     rdi                                                            ; +0x74, 0x180082804\nretn                                                                   ; +0x75, 0x180082805\nmov     qword ptr [rdx], 0                                             ; +0x76, 0x180082806\nmov     rax, rbx                                                       ; +0x7d, 0x18008280d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x80, 0x180082810\nadd     rsp, 20h                                                       ; +0x85, 0x180082815\npop     rdi                                                            ; +0x89, 0x180082819\nretn                                                                   ; +0x8a, 0x18008281a", "xrefs": ["DS_Dictionary::DS_Dictionary @ 0x180016d79", "DS_Dictionary::DS_Dictionary @ 0x180016db4", "DS_Dictionary::setArrayForKey @ 0x18001e88e", "DS_Dictionary::setArrayForKey @ 0x18001e927", "DS_Dictionary::setBoolForKey @ 0x18001eb0f", "DS_Dictionary::setFloatForKey @ 0x18001f0ef", "DS_Dictionary::setIntegerForKey @ 0x18001f381", "DS_Dictionary::setRectArrayForKey @ 0x18001f7cf", "DS_Dictionary::setRectArrayForKey @ 0x18001fab9", "DS_Dictionary::setRectForKey @ 0x18001fe0f", "DS_Dictionary::setStringArrayForKey @ 0x18002008f", "DS_Dictionary::setStringArrayForKey @ 0x18002014b", "DS_Dictionary::setStringForKey @ 0x1800202d1", "DS_Dictionary::setSubDictForKey @ 0x1800203e3", "DS_Dictionary::setSubDictForKey @ 0x18002053f", "DS_Dictionary::setVec2ArrayForKey @ 0x18002072f", "DS_Dictionary::setVec2ArrayForKey @ 0x1800209d4", "DS_Dictionary::setVec2ForKey @ 0x180020ce4", "<???> @ 0x1801bf2ec"], "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"}