_WaitObjectUsed
void _WaitObjectUsed(addr_t object, uint32 type);
_WaitObjectUsed((addr_t)oldThread->wait.object, oldThread->wait.type);