{"type": "func", "start": 6443005696, "end": 6443005820, "name": "sub_180087700", "pseudocode": "// \n// sub_180087700 from 0x180087700 to 0x18008777c (124 bytes)\n// \n// 7 xrefs:\n// > DS_Dictionary::removeAllKeys @ 0x18001d09d\n// > DS_Dictionary::removeAllKeys @ 0x18001d0b2\n// > DS_Dictionary::removeKey @ 0x18001d1ae\n// > DS_Dictionary::removeKey @ 0x18001d1c3\n// > DS_Dictionary::removeKey @ 0x18001d2aa\n// > DS_Dictionary::removeKey @ 0x18001d2bf\n// > <???> @ 0x1801bf7d8\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:04 +0000\n// \n\nchar __fastcall sub_180087700(__int64 *a1, __int64 **a2)\n{\n  __int64 v2; // r8\n  __int64 *v4; // rax\n  __int64 v5; // rcx\n  __int64 v6; // rcx\n  __int64 v7; // rax\n\n  v2 = *a1;\n  if ( !*a1 )\n    return 0;\n  v4 = *a2;\n  if ( !*a2 || v4[1] != v2 )\n    return 0;\n  v5 = v4[6];\n  if ( v5 || (v5 = *(_QWORD *)(v2 + 32)) != 0 )\n    *(_QWORD *)(v5 + 40) = v4[5];\n  v6 = (*a2)[5];\n  v7 = (*a2)[6];\n  if ( *(_QWORD *)(v6 + 48) )\n    *(_QWORD *)(v6 + 48) = v7;\n  else\n    *(_QWORD *)(*a1 + 32) = v7;\n  sub_180083B10(*a2, *(_QWORD **)(*(_QWORD *)*a1 & 0xFFFFFFFFFFFFFFE0uLL));\n  return 1;\n}", "assembly": "; \n; sub_180087700 from 0x180087700 to 0x18008777c (124 bytes)\n; \n; 7 xrefs:\n; > DS_Dictionary::removeAllKeys @ 0x18001d09d\n; > DS_Dictionary::removeAllKeys @ 0x18001d0b2\n; > DS_Dictionary::removeKey @ 0x18001d1ae\n; > DS_Dictionary::removeKey @ 0x18001d1c3\n; > DS_Dictionary::removeKey @ 0x18001d2aa\n; > DS_Dictionary::removeKey @ 0x18001d2bf\n; > <???> @ 0x1801bf7d8\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:04 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x180087700\nmov     r8, [rcx]                                                      ; +0x4, 0x180087704\nmov     r10, rdx                                                       ; +0x7, 0x180087707\nmov     r9, rcx                                                        ; +0xa, 0x18008770a\ntest    r8, r8                                                         ; +0xd, 0x18008770d\njz      short loc_180087775                                            ; +0x10, 0x180087710\nmov     rax, [rdx]                                                     ; +0x12, 0x180087712\ntest    rax, rax                                                       ; +0x15, 0x180087715\njz      short loc_180087775                                            ; +0x18, 0x180087718\ncmp     [rax+8], r8                                                    ; +0x1a, 0x18008771a\njnz     short loc_180087775                                            ; +0x1e, 0x18008771e\nmov     rcx, [rax+30h]                                                 ; +0x20, 0x180087720\ntest    rcx, rcx                                                       ; +0x24, 0x180087724\njnz     short loc_180087732                                            ; +0x27, 0x180087727\nmov     rcx, [r8+20h]                                                  ; +0x29, 0x180087729\ntest    rcx, rcx                                                       ; +0x2d, 0x18008772d\njz      short loc_18008773A                                            ; +0x30, 0x180087730\nmov     rax, [rax+28h]                                                 ; +0x32, 0x180087732\nmov     [rcx+28h], rax                                                 ; +0x36, 0x180087736\nmov     rax, [rdx]                                                     ; +0x3a, 0x18008773a\nmov     rcx, [rax+28h]                                                 ; +0x3d, 0x18008773d\nmov     rax, [rax+30h]                                                 ; +0x41, 0x180087741\ncmp     qword ptr [rcx+30h], 0                                         ; +0x45, 0x180087745\njz      short loc_180087752                                            ; +0x4a, 0x18008774a\nmov     [rcx+30h], rax                                                 ; +0x4c, 0x18008774c\njmp     short loc_180087759                                            ; +0x50, 0x180087750\nmov     rcx, [r9]                                                      ; +0x52, 0x180087752\nmov     [rcx+20h], rax                                                 ; +0x55, 0x180087755\nmov     rax, [r9]                                                      ; +0x59, 0x180087759\nmov     rcx, [r10]                                                     ; +0x5c, 0x18008775c\nmov     rdx, [rax]                                                     ; +0x5f, 0x18008775f\nand     rdx, 0FFFFFFFFFFFFFFE0h                                        ; +0x62, 0x180087762\nmov     rdx, [rdx]                                                     ; +0x66, 0x180087766\ncall    sub_180083B10                                                  ; +0x69, 0x180087769\nmov     al, 1                                                          ; +0x6e, 0x18008776e\nadd     rsp, 28h                                                       ; +0x70, 0x180087770\nretn                                                                   ; +0x74, 0x180087774\nxor     al, al                                                         ; +0x75, 0x180087775\nadd     rsp, 28h                                                       ; +0x77, 0x180087777\nretn                                                                   ; +0x7b, 0x18008777b", "xrefs": ["DS_Dictionary::removeAllKeys @ 0x18001d09d", "DS_Dictionary::removeAllKeys @ 0x18001d0b2", "DS_Dictionary::removeKey @ 0x18001d1ae", "DS_Dictionary::removeKey @ 0x18001d1c3", "DS_Dictionary::removeKey @ 0x18001d2aa", "DS_Dictionary::removeKey @ 0x18001d2bf", "<???> @ 0x1801bf7d8"], "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"}