{"type": "func", "start": 6442550448, "end": 6442550514, "name": "sub_1800184B0", "pseudocode": "// \n// sub_1800184B0 from 0x1800184b0 to 0x1800184f2 (66 bytes)\n// \n// 2 xrefs:\n// > sub_180020EEC @ 0x180020f17\n// > <???> @ 0x18004aadc\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_1800184B0(__int64 a1, void *a2, __int64 a3)\n{\n  void *v3; // rax\n\n  v3 = a2;\n  if ( (unsigned __int64)(16 * a3) >= 0x1000 )\n  {\n    if ( (unsigned __int64)a2 - *((_QWORD *)a2 - 1) - 8 > 0x1F )\n      invalid_parameter_noinfo_noreturn();\n    v3 = *((void **)a2 - 1);\n  }\n  j_j_free(v3);\n}", "assembly": "; \n; sub_1800184B0 from 0x1800184b0 to 0x1800184f2 (66 bytes)\n; \n; 2 xrefs:\n; > sub_180020EEC @ 0x180020f17\n; > <???> @ 0x18004aadc\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, 0x1800184b0\nshl     r8, 4                                                          ; +0x4, 0x1800184b4\nmov     rax, rdx                                                       ; +0x8, 0x1800184b8\ncmp     r8, 1000h                                                      ; +0xb, 0x1800184bb\njb      short loc_1800184DC                                            ; +0x12, 0x1800184c2\nmov     rcx, [rdx-8]                                                   ; +0x14, 0x1800184c4\nadd     r8, 27h ; '''                                                  ; +0x18, 0x1800184c8\nsub     rax, rcx                                                       ; +0x1c, 0x1800184cc\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x1f, 0x1800184cf\ncmp     rax, 1Fh                                                       ; +0x23, 0x1800184d3\nja      short loc_1800184EB                                            ; +0x27, 0x1800184d7\nmov     rax, rcx                                                       ; +0x29, 0x1800184d9\nmov     rdx, r8                                                        ; +0x2c, 0x1800184dc\nmov     rcx, rax; Block                                                ; +0x2f, 0x1800184df\nadd     rsp, 28h                                                       ; +0x32, 0x1800184e2\njmp     j_j_free                                                       ; +0x36, 0x1800184e6\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x3b, 0x1800184eb\ndb 0CCh                                                                ; +0x41, 0x1800184f1", "xrefs": ["sub_180020EEC @ 0x180020f17", "<???> @ 0x18004aadc"], "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"}