{"type": "func", "start": 6443013744, "end": 6443013930, "name": "sub_180089670", "pseudocode": "// \n// sub_180089670 from 0x180089670 to 0x18008972a (186 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801079a0\n// > <???> @ 0x1801bf97c\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:05 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall sub_180089670(__int64 a1, const void *a2, size_t a3)\n{\n  void **v4; // rdx\n  void *v5; // rcx\n  void *Block[2]; // [rsp+30h] [rbp-38h] BYREF\n  __int128 v7; // [rsp+40h] [rbp-28h]\n\n  *(_OWORD *)Block = 0;\n  v7 = 0;\n  sub_18000CEF0(Block, a2, a3);\n  v4 = Block;\n  if ( *((_QWORD *)&v7 + 1) > 0xFu )\n    v4 = (void **)Block[0];\n  sub_180007DF0((_QWORD *)(a1 + 8), v4, v7);\n  if ( *((_QWORD *)&v7 + 1) > 0xFu )\n  {\n    v5 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v7 + 1) + 1LL) >= 0x1000 )\n    {\n      v5 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free_0(v5);\n  }\n}", "assembly": "; \n; sub_180089670 from 0x180089670 to 0x18008972a (186 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801079a0\n; > <???> @ 0x1801bf97c\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:05 +0000\n; \npush    rbx                                                            ; +0x0, 0x180089670\nsub     rsp, 60h                                                       ; +0x2, 0x180089672\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x180089676\nxor     rax, rsp                                                       ; +0xd, 0x18008967d\nmov     [rsp+68h+var_18], rax                                          ; +0x10, 0x180089680\nmov     rbx, rcx                                                       ; +0x15, 0x180089685\nxorps   xmm0, xmm0                                                     ; +0x18, 0x180089688\nmovups  xmmword ptr [rsp+68h+Block], xmm0                              ; +0x1b, 0x18008968b\nxorps   xmm1, xmm1                                                     ; +0x20, 0x180089690\nmovdqu  [rsp+68h+var_28], xmm1                                         ; +0x23, 0x180089693\nlea     rcx, [rsp+68h+Block]                                           ; +0x29, 0x180089699\ncall    sub_18000CEF0                                                  ; +0x2e, 0x18008969e\nnop                                                                    ; +0x33, 0x1800896a3\nlea     rdx, [rsp+68h+Block]                                           ; +0x34, 0x1800896a4\ncmp     qword ptr [rsp+68h+var_28+8], 0Fh                              ; +0x39, 0x1800896a9\ncmova   rdx, [rsp+68h+Block]                                           ; +0x3f, 0x1800896af\nlea     rcx, [rbx+8]; Src                                              ; +0x45, 0x1800896b5\nmov     r8, qword ptr [rsp+68h+var_28]                                 ; +0x49, 0x1800896b9\ncall    sub_180007DF0                                                  ; +0x4e, 0x1800896be\nnop                                                                    ; +0x53, 0x1800896c3\nmov     rdx, qword ptr [rsp+68h+var_28+8]                              ; +0x54, 0x1800896c4\ncmp     rdx, 0Fh                                                       ; +0x59, 0x1800896c9\njbe     short loc_180089717                                            ; +0x5d, 0x1800896cd\ninc     rdx                                                            ; +0x5f, 0x1800896cf\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x62, 0x1800896d2\nmov     rax, rcx                                                       ; +0x67, 0x1800896d7\ncmp     rdx, 1000h                                                     ; +0x6a, 0x1800896da\njb      short loc_180089712                                            ; +0x71, 0x1800896e1\nadd     rdx, 27h ; '''                                                 ; +0x73, 0x1800896e3\nmov     rcx, [rcx-8]                                                   ; +0x77, 0x1800896e7\nsub     rax, rcx                                                       ; +0x7b, 0x1800896eb\nsub     rax, 8                                                         ; +0x7e, 0x1800896ee\ncmp     rax, 1Fh                                                       ; +0x82, 0x1800896f2\njbe     short loc_180089712                                            ; +0x86, 0x1800896f6\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0x88, 0x1800896f8\nxor     r9d, r9d; LineNo                                               ; +0x91, 0x180089701\nxor     r8d, r8d; FileName                                             ; +0x94, 0x180089704\nxor     edx, edx; FunctionName                                         ; +0x97, 0x180089707\nxor     ecx, ecx; Expression                                           ; +0x99, 0x180089709\ncall    cs:_invoke_watson                                              ; +0x9b, 0x18008970b\nalign 2                                                                ; +0xa1, 0x180089711\ncall    j_j_free_0                                                     ; +0xa2, 0x180089712\nmov     rcx, [rsp+68h+var_18]                                          ; +0xa7, 0x180089717\nxor     rcx, rsp; StackCookie                                          ; +0xac, 0x18008971c\ncall    __security_check_cookie                                        ; +0xaf, 0x18008971f\nadd     rsp, 60h                                                       ; +0xb4, 0x180089724\npop     rbx                                                            ; +0xb8, 0x180089728\nretn                                                                   ; +0xb9, 0x180089729", "xrefs": ["<???> @ 0x1801079a0", "<???> @ 0x1801bf97c"], "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"}