{"type": "func", "start": 6442551040, "end": 6442551099, "name": "sub_180018700", "pseudocode": "// \n// sub_180018700 from 0x180018700 to 0x18001873b (59 bytes)\n// \n// 2 xrefs:\n// > sub_180018498 @ 0x18001849f\n// > <???> @ 0x1801ae83c\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_180018700(__int64 a1, char a2)\n{\n  void *v2; // rdi\n\n  v2 = (void *)(a1 - 168);\n  sub_1800183C0(a1 - 168);\n  if ( (a2 & 1) != 0 )\n    j_j_free_0(v2);\n  return v2;\n}", "assembly": "; \n; sub_180018700 from 0x180018700 to 0x18001873b (59 bytes)\n; \n; 2 xrefs:\n; > sub_180018498 @ 0x18001849f\n; > <???> @ 0x1801ae83c\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, 0x180018700\npush    rdi                                                            ; +0x5, 0x180018705\nsub     rsp, 20h                                                       ; +0x6, 0x180018706\nlea     rdi, [rcx-0A8h]                                                ; +0xa, 0x18001870a\nmov     ebx, edx                                                       ; +0x11, 0x180018711\nmov     rcx, rdi                                                       ; +0x13, 0x180018713\ncall    sub_1800183C0                                                  ; +0x16, 0x180018716\ntest    bl, 1                                                          ; +0x1b, 0x18001871b\njz      short loc_18001872D                                            ; +0x1e, 0x18001871e\nmov     edx, 108h                                                      ; +0x20, 0x180018720\nmov     rcx, rdi; Block                                                ; +0x25, 0x180018725\ncall    j_j_free_0                                                     ; +0x28, 0x180018728\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x2d, 0x18001872d\nmov     rax, rdi                                                       ; +0x32, 0x180018732\nadd     rsp, 20h                                                       ; +0x35, 0x180018735\npop     rdi                                                            ; +0x39, 0x180018739\nretn                                                                   ; +0x3a, 0x18001873a", "xrefs": ["sub_180018498 @ 0x18001849f", "<???> @ 0x1801ae83c"], "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"}