//
// sub_1800E4948 from 0x1800e4948 to 0x1800e4985 (61 bytes)
//
// 2 xrefs:
// > sub_180016430 @ 0x180016509
// > ??> @ 0x1801c5448
//
// 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:37 +0000
//
void *__fastcall sub_1800E4948(__int64 a1)
{
_QWORD *v2; // rdx
void *result; // rax
v2 = malloc(0x10u);
if ( !v2 )
{
std::_Xbad_alloc();
__debugbreak();
}
result = qword_1801B66F8;
*v2 = qword_1801B66F8;
v2[1] = a1;
qword_1801B66F8 = v2;
return result;
}