//
// sub_1800E7270 from 0x1800e7270 to 0x1800e72e2 (114 bytes)
//
// 2 xrefs:
// > ??> @ 0x180140e36
// > ??> @ 0x1801c5b08
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:39 +0000
//
void __fastcall __noreturn sub_1800E7270(__int64 a1, _QWORD *a2)
{
char *v3; // rbx
__int64 v4; // rsi
__int64 v5; // rdi
char *v6; // r8
char *v7; // rcx
__int64 *v8; // rbx
v3 = (char *)a2[19];
a2[7] = v3;
v4 = a2[4];
a2[8] = v4;
v5 = a2[21];
a2[9] = &v3[2 * v5];
sub_180048550(&v3[2 * v5], (__int64)&v3[4 * v5], v3);
a2[6] = 0;
v6 = &v3[2 * v5];
v7 = &v3[4 * v5];
v8 = (__int64 *)a2[5];
sub_180048520(v7, *v8, v6);
*v8 = v4;
throw;
}