{"type": "func", "start": 6442993456, "end": 6442993580, "name": "sub_180084730", "pseudocode": "// \n// sub_180084730 from 0x180084730 to 0x1800847ac (124 bytes)\n// \n// 8 xrefs:\n// > DS_Dictionary::removeAllKeys @ 0x18001cf6d\n// > DS_Dictionary::removeAllKeys @ 0x18001cf82\n// > DS_Dictionary::removeKey @ 0x18001d07e\n// > DS_Dictionary::removeKey @ 0x18001d093\n// > DS_Dictionary::removeKey @ 0x18001d192\n// > DS_Dictionary::removeKey @ 0x18001d1a7\n// > <???> @ 0x1801b552c\n// > <???> @ 0x1801b5538\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_180084730(__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_180080B10(*a2, *(_QWORD **)(*(_QWORD *)*a1 & 0xFFFFFFFFFFFFFFE0uLL));\n  return 1;\n}", "assembly": "; \n; sub_180084730 from 0x180084730 to 0x1800847ac (124 bytes)\n; \n; 8 xrefs:\n; > DS_Dictionary::removeAllKeys @ 0x18001cf6d\n; > DS_Dictionary::removeAllKeys @ 0x18001cf82\n; > DS_Dictionary::removeKey @ 0x18001d07e\n; > DS_Dictionary::removeKey @ 0x18001d093\n; > DS_Dictionary::removeKey @ 0x18001d192\n; > DS_Dictionary::removeKey @ 0x18001d1a7\n; > <???> @ 0x1801b552c\n; > <???> @ 0x1801b5538\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\nsub     rsp, 28h                                                       ; +0x0, 0x180084730\nmov     r8, [rcx]                                                      ; +0x4, 0x180084734\nmov     r10, rdx                                                       ; +0x7, 0x180084737\nmov     r9, rcx                                                        ; +0xa, 0x18008473a\ntest    r8, r8                                                         ; +0xd, 0x18008473d\njz      short loc_1800847A5                                            ; +0x10, 0x180084740\nmov     rax, [rdx]                                                     ; +0x12, 0x180084742\ntest    rax, rax                                                       ; +0x15, 0x180084745\njz      short loc_1800847A5                                            ; +0x18, 0x180084748\ncmp     [rax+8], r8                                                    ; +0x1a, 0x18008474a\njnz     short loc_1800847A5                                            ; +0x1e, 0x18008474e\nmov     rcx, [rax+30h]                                                 ; +0x20, 0x180084750\ntest    rcx, rcx                                                       ; +0x24, 0x180084754\njnz     short loc_180084762                                            ; +0x27, 0x180084757\nmov     rcx, [r8+20h]                                                  ; +0x29, 0x180084759\ntest    rcx, rcx                                                       ; +0x2d, 0x18008475d\njz      short loc_18008476A                                            ; +0x30, 0x180084760\nmov     rax, [rax+28h]                                                 ; +0x32, 0x180084762\nmov     [rcx+28h], rax                                                 ; +0x36, 0x180084766\nmov     rax, [rdx]                                                     ; +0x3a, 0x18008476a\nmov     rcx, [rax+28h]                                                 ; +0x3d, 0x18008476d\nmov     rax, [rax+30h]                                                 ; +0x41, 0x180084771\ncmp     qword ptr [rcx+30h], 0                                         ; +0x45, 0x180084775\njz      short loc_180084782                                            ; +0x4a, 0x18008477a\nmov     [rcx+30h], rax                                                 ; +0x4c, 0x18008477c\njmp     short loc_180084789                                            ; +0x50, 0x180084780\nmov     rcx, [r9]                                                      ; +0x52, 0x180084782\nmov     [rcx+20h], rax                                                 ; +0x55, 0x180084785\nmov     rax, [r9]                                                      ; +0x59, 0x180084789\nmov     rcx, [r10]                                                     ; +0x5c, 0x18008478c\nmov     rdx, [rax]                                                     ; +0x5f, 0x18008478f\nand     rdx, 0FFFFFFFFFFFFFFE0h                                        ; +0x62, 0x180084792\nmov     rdx, [rdx]                                                     ; +0x66, 0x180084796\ncall    sub_180080B10                                                  ; +0x69, 0x180084799\nmov     al, 1                                                          ; +0x6e, 0x18008479e\nadd     rsp, 28h                                                       ; +0x70, 0x1800847a0\nretn                                                                   ; +0x74, 0x1800847a4\nxor     al, al                                                         ; +0x75, 0x1800847a5\nadd     rsp, 28h                                                       ; +0x77, 0x1800847a7\nretn                                                                   ; +0x7b, 0x1800847ab", "xrefs": ["DS_Dictionary::removeAllKeys @ 0x18001cf6d", "DS_Dictionary::removeAllKeys @ 0x18001cf82", "DS_Dictionary::removeKey @ 0x18001d07e", "DS_Dictionary::removeKey @ 0x18001d093", "DS_Dictionary::removeKey @ 0x18001d192", "DS_Dictionary::removeKey @ 0x18001d1a7", "<???> @ 0x1801b552c", "<???> @ 0x1801b5538"], "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"}