{"type": "func", "start": 6442556016, "end": 6442556083, "name": "sub_180019A70", "pseudocode": "// \n// sub_180019A70 from 0x180019a70 to 0x180019ab3 (67 bytes)\n// \n// 3 xrefs:\n// > sub_1800E0C70 @ 0x1800e0c89\n// > sub_1800E0CA0 @ 0x1800e0cb9\n// > <???> @ 0x1801ae980\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_180019A70(__int64 a1, void *a2, __int64 a3)\n{\n  void *v3; // rax\n\n  v3 = a2;\n  if ( (unsigned __int64)(8 * 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_0(v3);\n}", "assembly": "; \n; sub_180019A70 from 0x180019a70 to 0x180019ab3 (67 bytes)\n; \n; 3 xrefs:\n; > sub_1800E0C70 @ 0x1800e0c89\n; > sub_1800E0CA0 @ 0x1800e0cb9\n; > <???> @ 0x1801ae980\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, 0x180019a70\nmov     rax, rdx                                                       ; +0x4, 0x180019a74\nlea     rdx, ds:0[r8*8]                                                ; +0x7, 0x180019a77\ncmp     rdx, 1000h                                                     ; +0xf, 0x180019a7f\njb      short loc_180019AA0                                            ; +0x16, 0x180019a86\nmov     rcx, [rax-8]                                                   ; +0x18, 0x180019a88\nadd     rdx, 27h ; '''                                                 ; +0x1c, 0x180019a8c\nsub     rax, rcx                                                       ; +0x20, 0x180019a90\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x23, 0x180019a93\ncmp     rax, 1Fh                                                       ; +0x27, 0x180019a97\nja      short loc_180019AAC                                            ; +0x2b, 0x180019a9b\nmov     rax, rcx                                                       ; +0x2d, 0x180019a9d\nmov     rcx, rax; Block                                                ; +0x30, 0x180019aa0\nadd     rsp, 28h                                                       ; +0x33, 0x180019aa3\njmp     j_j_free_0                                                     ; +0x37, 0x180019aa7\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x3c, 0x180019aac\ndb 0CCh                                                                ; +0x42, 0x180019ab2", "xrefs": ["sub_1800E0C70 @ 0x1800e0c89", "sub_1800E0CA0 @ 0x1800e0cb9", "<???> @ 0x1801ae980"], "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"}