{"type": "func", "start": 6442550976, "end": 6442551035, "name": "sub_1800186C0", "pseudocode": "// \n// sub_1800186C0 from 0x1800186c0 to 0x1800186fb (59 bytes)\n// \n// 2 xrefs:\n// > sub_18001848C @ 0x180018493\n// > <???> @ 0x1801ae830\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\nvoid *__fastcall sub_1800186C0(__int64 a1, char a2)\n{\n  void *v2; // rdi\n\n  v2 = (void *)(a1 - 176);\n  sub_180018350(a1 - 176);\n  if ( (a2 & 1) != 0 )\n    j_j_free_0(v2);\n  return v2;\n}", "assembly": "; \n; sub_1800186C0 from 0x1800186c0 to 0x1800186fb (59 bytes)\n; \n; 2 xrefs:\n; > sub_18001848C @ 0x180018493\n; > <???> @ 0x1801ae830\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, 0x1800186c0\npush    rdi                                                            ; +0x5, 0x1800186c5\nsub     rsp, 20h                                                       ; +0x6, 0x1800186c6\nlea     rdi, [rcx-0B0h]                                                ; +0xa, 0x1800186ca\nmov     ebx, edx                                                       ; +0x11, 0x1800186d1\nmov     rcx, rdi                                                       ; +0x13, 0x1800186d3\ncall    sub_180018350                                                  ; +0x16, 0x1800186d6\ntest    bl, 1                                                          ; +0x1b, 0x1800186db\njz      short loc_1800186ED                                            ; +0x1e, 0x1800186de\nmov     edx, 110h                                                      ; +0x20, 0x1800186e0\nmov     rcx, rdi; Block                                                ; +0x25, 0x1800186e5\ncall    j_j_free_0                                                     ; +0x28, 0x1800186e8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x2d, 0x1800186ed\nmov     rax, rdi                                                       ; +0x32, 0x1800186f2\nadd     rsp, 20h                                                       ; +0x35, 0x1800186f5\npop     rdi                                                            ; +0x39, 0x1800186f9\nretn                                                                   ; +0x3a, 0x1800186fa", "xrefs": ["sub_18001848C @ 0x180018493", "<???> @ 0x1801ae830"], "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"}