{"type": "func", "start": 6442668272, "end": 6442668339, "name": "sub_1800350F0", "pseudocode": "// \n// sub_1800350F0 from 0x1800350f0 to 0x180035133 (67 bytes)\n// \n// 3 xrefs:\n// > sub_1800E1800 @ 0x1800e1819\n// > sub_1800E1830 @ 0x1800e184c\n// > <???> @ 0x1801b0720\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_1800350F0(__int64 a1, void *a2, __int64 a3)\n{\n  void *v3; // rax\n\n  v3 = a2;\n  if ( (unsigned __int64)(4 * 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_1800350F0 from 0x1800350f0 to 0x180035133 (67 bytes)\n; \n; 3 xrefs:\n; > sub_1800E1800 @ 0x1800e1819\n; > sub_1800E1830 @ 0x1800e184c\n; > <???> @ 0x1801b0720\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, 0x1800350f0\nmov     rax, rdx                                                       ; +0x4, 0x1800350f4\nlea     rdx, ds:0[r8*4]                                                ; +0x7, 0x1800350f7\ncmp     rdx, 1000h                                                     ; +0xf, 0x1800350ff\njb      short loc_180035120                                            ; +0x16, 0x180035106\nmov     rcx, [rax-8]                                                   ; +0x18, 0x180035108\nadd     rdx, 27h ; '''                                                 ; +0x1c, 0x18003510c\nsub     rax, rcx                                                       ; +0x20, 0x180035110\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x23, 0x180035113\ncmp     rax, 1Fh                                                       ; +0x27, 0x180035117\nja      short loc_18003512C                                            ; +0x2b, 0x18003511b\nmov     rax, rcx                                                       ; +0x2d, 0x18003511d\nmov     rcx, rax; Block                                                ; +0x30, 0x180035120\nadd     rsp, 28h                                                       ; +0x33, 0x180035123\njmp     j_j_free_0                                                     ; +0x37, 0x180035127\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x3c, 0x18003512c\ndb 0CCh                                                                ; +0x42, 0x180035132", "xrefs": ["sub_1800E1800 @ 0x1800e1819", "sub_1800E1830 @ 0x1800e184c", "<???> @ 0x1801b0720"], "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"}