{"type": "func", "start": 6442747936, "end": 6442748047, "name": "sub_180048820", "pseudocode": "// \n// sub_180048820 from 0x180048820 to 0x18004888f (111 bytes)\n// \n// 10 xrefs:\n// > int `std::time_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::do_put @ 0x1800e74b7\n// > unknown_libname_12 @ 0x1800e74c7\n// > sub_1800E74D0 @ 0x1800e74d7\n// > sub_1800E8540 @ 0x1800e855e\n// > <???> @ 0x180140b07\n// > <???> @ 0x180140b0d\n// > <???> @ 0x180140b13\n// > <???> @ 0x180140b19\n// > <???> @ 0x180147833\n// > <???> @ 0x1801bba58\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:21:41 +0000\n// \n\nvoid __fastcall sub_180048820(__int64 a1)\n{\n  _QWORD *v2; // rcx\n\n  v2 = *(_QWORD **)a1;\n  if ( v2 )\n  {\n    if ( (unsigned __int64)(2 * ((__int64)(*(_QWORD *)(a1 + 16) - (_QWORD)v2) >> 1)) >= 0x1000 )\n    {\n      if ( (unsigned __int64)v2 - *(v2 - 1) - 8 > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      v2 = (_QWORD *)*(v2 - 1);\n    }\n    j_j_free_0(v2);\n    *(_QWORD *)a1 = 0;\n    *(_QWORD *)(a1 + 8) = 0;\n    *(_QWORD *)(a1 + 16) = 0;\n  }\n}", "assembly": "; \n; sub_180048820 from 0x180048820 to 0x18004888f (111 bytes)\n; \n; 10 xrefs:\n; > int `std::time_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::do_put @ 0x1800e74b7\n; > unknown_libname_12 @ 0x1800e74c7\n; > sub_1800E74D0 @ 0x1800e74d7\n; > sub_1800E8540 @ 0x1800e855e\n; > <???> @ 0x180140b07\n; > <???> @ 0x180140b0d\n; > <???> @ 0x180140b13\n; > <???> @ 0x180140b19\n; > <???> @ 0x180147833\n; > <???> @ 0x1801bba58\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:21:41 +0000\n; \npush    rbx                                                            ; +0x0, 0x180048820\nsub     rsp, 30h                                                       ; +0x2, 0x180048822\nmov     rbx, rcx                                                       ; +0x6, 0x180048826\nmov     rcx, [rcx]                                                     ; +0x9, 0x180048829\ntest    rcx, rcx                                                       ; +0xc, 0x18004882c\njz      short loc_180048871                                            ; +0xf, 0x18004882f\nmov     rdx, [rbx+10h]                                                 ; +0x11, 0x180048831\nsub     rdx, rcx                                                       ; +0x15, 0x180048835\nsar     rdx, 1                                                         ; +0x18, 0x180048838\nadd     rdx, rdx                                                       ; +0x1b, 0x18004883b\ncmp     rdx, 1000h                                                     ; +0x1e, 0x18004883e\njb      short loc_18004885F                                            ; +0x25, 0x180048845\nmov     rax, [rcx-8]                                                   ; +0x27, 0x180048847\nadd     rdx, 27h ; '''                                                 ; +0x2b, 0x18004884b\nsub     rcx, rax                                                       ; +0x2f, 0x18004884f\nsub     rcx, 8                                                         ; +0x32, 0x180048852\ncmp     rcx, 1Fh                                                       ; +0x36, 0x180048856\nja      short loc_180048877                                            ; +0x3a, 0x18004885a\nmov     rcx, rax; Block                                                ; +0x3c, 0x18004885c\ncall    j_j_free_0                                                     ; +0x3f, 0x18004885f\nxor     eax, eax                                                       ; +0x44, 0x180048864\nmov     [rbx], rax                                                     ; +0x46, 0x180048866\nmov     [rbx+8], rax                                                   ; +0x49, 0x180048869\nmov     [rbx+10h], rax                                                 ; +0x4d, 0x18004886d\nadd     rsp, 30h                                                       ; +0x51, 0x180048871\npop     rbx                                                            ; +0x55, 0x180048875\nretn                                                                   ; +0x56, 0x180048876\nxor     eax, eax                                                       ; +0x57, 0x180048877\nxor     r9d, r9d; LineNo                                               ; +0x59, 0x180048879\nxor     r8d, r8d; FileName                                             ; +0x5c, 0x18004887c\nmov     [rsp+38h+Reserved], rax; Reserved                              ; +0x5f, 0x18004887f\nxor     edx, edx; FunctionName                                         ; +0x64, 0x180048884\nxor     ecx, ecx; Expression                                           ; +0x66, 0x180048886\ncall    cs:_invoke_watson                                              ; +0x68, 0x180048888\ndb 0CCh                                                                ; +0x6e, 0x18004888e", "xrefs": ["int `std::time_put<char,std::ostreambuf_iterator<char,std::char_traits<char>>>::do_put @ 0x1800e74b7", "unknown_libname_12 @ 0x1800e74c7", "sub_1800E74D0 @ 0x1800e74d7", "sub_1800E8540 @ 0x1800e855e", "<???> @ 0x180140b07", "<???> @ 0x180140b0d", "<???> @ 0x180140b13", "<???> @ 0x180140b19", "<???> @ 0x180147833", "<???> @ 0x1801bba58"], "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"}