//
// sub_100425E40 from 0x100425e40 to 0x100425e9e (94 bytes)
//
// 0 xrefs:
//
// 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:30:17 +0000
//
void __fastcall sub_100425E40(__int64 a1)
{
std::thread *v1; // rbx
std::thread *v2; // r14
std::mutex::lock((std::mutex *)(a1 + 72));
*(_BYTE *)(a1 + 184) = 1;
std::mutex::unlock((std::mutex *)(a1 + 72));
std::condition_variable::notify_all((std::condition_variable *)(a1 + 136));
v1 = *(std::thread **)a1;
v2 = *(std::thread **)(a1 + 8);
while ( v1 != v2 )
{
if ( v1->__t_ )
std::thread::join(v1);
++v1;
}
}