{"type": "func", "start": 6442979440, "end": 6442979529, "name": "sub_180081070", "pseudocode": "// \n// sub_180081070 from 0x180081070 to 0x1800810c9 (89 bytes)\n// \n// 12 xrefs:\n// > DS_Dictionary::setBoolForKey @ 0x18001e9d7\n// > DS_Dictionary::setFloatForKey @ 0x18001eff7\n// > DS_Dictionary::setIntegerForKey @ 0x18001f289\n// > DS_Dictionary::setRectArrayForKey @ 0x18001f867\n// > DS_Dictionary::setRectForKey @ 0x18001fd22\n// > DS_Dictionary::setStringArrayForKey @ 0x18001ffb9\n// > DS_Dictionary::setStringForKey @ 0x18002018f\n// > DS_Dictionary::setSubDictForKey @ 0x1800203e2\n// > DS_Dictionary::setVec2ArrayForKey @ 0x180020739\n// > DS_Dictionary::setVec2ForKey @ 0x180020bb0\n// > <???> @ 0x1801b525c\n// > <???> @ 0x1801b5268\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_DWORD **__fastcall sub_180081070(__int64 a1, _DWORD **a2, __int64 a3)\n{\n  _DWORD *v5; // rdx\n\n  sub_1800810D0(a1, a2, 2);\n  v5 = *a2;\n  if ( *a2 && ((*v5 & 7) == 1 || (*v5 & 7u) - 5 <= 1) )\n    sub_180085720(v5 + 4, v5, 16, a3);\n  return a2;\n}", "assembly": "; \n; sub_180081070 from 0x180081070 to 0x1800810c9 (89 bytes)\n; \n; 12 xrefs:\n; > DS_Dictionary::setBoolForKey @ 0x18001e9d7\n; > DS_Dictionary::setFloatForKey @ 0x18001eff7\n; > DS_Dictionary::setIntegerForKey @ 0x18001f289\n; > DS_Dictionary::setRectArrayForKey @ 0x18001f867\n; > DS_Dictionary::setRectForKey @ 0x18001fd22\n; > DS_Dictionary::setStringArrayForKey @ 0x18001ffb9\n; > DS_Dictionary::setStringForKey @ 0x18002018f\n; > DS_Dictionary::setSubDictForKey @ 0x1800203e2\n; > DS_Dictionary::setVec2ArrayForKey @ 0x180020739\n; > DS_Dictionary::setVec2ForKey @ 0x180020bb0\n; > <???> @ 0x1801b525c\n; > <???> @ 0x1801b5268\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     [rsp+arg_0], rbx                                               ; +0x0, 0x180081070\npush    rdi                                                            ; +0x5, 0x180081075\nsub     rsp, 20h                                                       ; +0x6, 0x180081076\nmov     rdi, r8                                                        ; +0xa, 0x18008107a\nmov     rbx, rdx                                                       ; +0xd, 0x18008107d\nmov     r8d, 2                                                         ; +0x10, 0x180081080\ncall    sub_1800810D0                                                  ; +0x16, 0x180081086\nmov     rdx, [rbx]                                                     ; +0x1b, 0x18008108b\ntest    rdx, rdx                                                       ; +0x1e, 0x18008108e\njz      short loc_1800810BB                                            ; +0x21, 0x180081091\nmov     ecx, [rdx]                                                     ; +0x23, 0x180081093\nand     ecx, 7                                                         ; +0x25, 0x180081095\ninc     ecx                                                            ; +0x28, 0x180081098\nsub     ecx, 2                                                         ; +0x2a, 0x18008109a\njz      short loc_1800810A9                                            ; +0x2d, 0x18008109d\nsub     ecx, 4                                                         ; +0x2f, 0x18008109f\njz      short loc_1800810A9                                            ; +0x32, 0x1800810a2\ncmp     ecx, 1                                                         ; +0x34, 0x1800810a4\njnz     short loc_1800810BB                                            ; +0x37, 0x1800810a7\nlea     rcx, [rdx+10h]                                                 ; +0x39, 0x1800810a9\nmov     r9, rdi                                                        ; +0x3d, 0x1800810ad\nmov     r8d, 10h                                                       ; +0x40, 0x1800810b0\ncall    sub_180085720                                                  ; +0x46, 0x1800810b6\nmov     rax, rbx                                                       ; +0x4b, 0x1800810bb\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x1800810be\nadd     rsp, 20h                                                       ; +0x53, 0x1800810c3\npop     rdi                                                            ; +0x57, 0x1800810c7\nretn                                                                   ; +0x58, 0x1800810c8", "xrefs": ["DS_Dictionary::setBoolForKey @ 0x18001e9d7", "DS_Dictionary::setFloatForKey @ 0x18001eff7", "DS_Dictionary::setIntegerForKey @ 0x18001f289", "DS_Dictionary::setRectArrayForKey @ 0x18001f867", "DS_Dictionary::setRectForKey @ 0x18001fd22", "DS_Dictionary::setStringArrayForKey @ 0x18001ffb9", "DS_Dictionary::setStringForKey @ 0x18002018f", "DS_Dictionary::setSubDictForKey @ 0x1800203e2", "DS_Dictionary::setVec2ArrayForKey @ 0x180020739", "DS_Dictionary::setVec2ForKey @ 0x180020bb0", "<???> @ 0x1801b525c", "<???> @ 0x1801b5268"], "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"}