//
// unknown_libname_61 from 0x180130984 to 0x1801309ea (102 bytes)
//
// 2 xrefs:
// > _beginthreadex @ 0x180130b00
// > ??> @ 0x180202e58
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Microsoft VisualC 64bit universal runtime
void __fastcall __noreturn unknown_libname_61(_BYTE *lpThreadParameter)
{
DWORD LastError; // eax
unsigned int v3; // eax
if ( !lpThreadParameter )
{
LastError = GetLastError();
ExitThread(LastError);
}
*(_QWORD *)(_acrt_getptd() + 960) = lpThreadParameter;
if ( (unsigned int)_acrt_get_begin_thread_init_policy() == 2 )
lpThreadParameter[32] = (unsigned int)_acrt_RoInitialize(1) == 0;
v3 = (*(__int64 (__fastcall **)(_QWORD))lpThreadParameter)(*((_QWORD *)lpThreadParameter + 1));
endthreadex(v3);
}