//
// sub_1004EF190 from 0x1004ef190 to 0x1004ef1d5 (69 bytes)
//
// 1 xrefs:
// > sub_1004EF000 @ 0x1004ef0ac
//
// 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 12:31:23 +0000
//
void __fastcall sub_1004EF190(std::random_device *a1)
{
std::string __token; // [rsp+0h] [rbp-20h] BYREF
__token.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(__token.__r_.__value_.__s.__data_, "/dev/urandom");
std::random_device::random_device(a1, &__token);
if ( (*(_BYTE *)&__token.__r_.__value_.__s.0 & 1) != 0 )
operator delete(__token.__r_.__value_.__l.__data_);
}