// // sub_E67098 from 0xe67098 to 0xe671b8 (288 bytes) // // 1 xrefs: // > @ 0x123b158 // // 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 // __int64 sub_E67098() { __int64 result; // x0 __int64 current_id; // x21 _BOOL4 v2; // w19 int v3; // w22 result = CRYPTO_THREAD_run_once((pthread_once_t *)algn_125FDBC, (void (*)(void))sub_E66FE0); if ( (_DWORD)result ) { result = (unsigned int)dword_125F940; if ( dword_125F940 ) { current_id = CRYPTO_THREAD_get_current_id(); if ( dword_125FDC0 && (CRYPTO_THREAD_read_lock((pthread_rwlock_t *)qword_125F938), v3 = CRYPTO_THREAD_compare_id(qword_125FDC8, current_id), CRYPTO_THREAD_unlock((pthread_rwlock_t *)qword_125F938), v3) ) { if ( !dword_125FDB8 ) { RAND_poll(); dword_125FDB8 = 1; } return *(double *)&qword_125FDB0 >= 32.0; } else { CRYPTO_THREAD_write_lock((pthread_rwlock_t *)qword_125F930); ASYNC_block_pause(); CRYPTO_THREAD_write_lock((pthread_rwlock_t *)qword_125F938); qword_125FDC8 = current_id; CRYPTO_THREAD_unlock((pthread_rwlock_t *)qword_125F938); dword_125FDC0 = 1; if ( !dword_125FDB8 ) { RAND_poll(); dword_125FDB8 = 1; } dword_125FDC0 = 0; v2 = *(double *)&qword_125FDB0 >= 32.0; ASYNC_unblock_pause(); CRYPTO_THREAD_unlock((pthread_rwlock_t *)qword_125F930); return v2; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source