// // sub_140677B5C from 0x140677b5c to 0x140677bd7 (123 bytes) // // 8 xrefs: // > GameToolbox::gen_random @ 0x1400709cc // > sub_14007FD40 @ 0x14007fd93 // > sub_140080E00 @ 0x140080e2b // > sub_14008C7D0 @ 0x14008c825 // > IDNameInput::useRank @ 0x1403c763f // > LevelSettingsObject::sanitizeIDName @ 0x14040c358 // > LevelSettingsObject::getIDNames @ 0x14040dbe1 // > @ 0x140932738 // // 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:36:00 +0000 // void __fastcall sub_140677B5C(_DWORD *a1) { AcquireSRWLockExclusive(&SRWLock); while ( 1 ) { if ( !*a1 ) { *a1 = -1; goto LABEL_7; } if ( *a1 != -1 ) break; SleepConditionVariableSRW(&ConditionVariable, &SRWLock, 0xFFFFFFFF, 0); } *(_DWORD *)(*((_QWORD *)NtCurrentTeb()->ThreadLocalStoragePointer + (unsigned int)TlsIndex) + 4LL) = dword_1408FDFA4; LABEL_7: ReleaseSRWLockExclusive(&SRWLock); }
GD Web Decomp Icon

GD Web Decomp

Raw Source