// // sub_CBB0F8 from 0xcbb0f8 to 0xcbb174 (124 bytes) // // 2 xrefs: // > WebPSetWorkerInterface @ 0xcbb378 // > @ 0x1233e48 // // 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 // bool __fastcall sub_CBB0F8(__int64 a1) { pthread_mutex_t *v2; // x0 v2 = *(pthread_mutex_t **)a1; if ( v2 ) { pthread_mutex_lock(v2); if ( *(_DWORD *)(a1 + 8) > 1u ) { do { pthread_cond_wait((pthread_cond_t *)(*(_QWORD *)a1 + 40LL), *(pthread_mutex_t **)a1); if ( *(_DWORD *)(a1 + 8) == 1 ) break; pthread_cond_wait((pthread_cond_t *)(*(_QWORD *)a1 + 40LL), *(pthread_mutex_t **)a1); } while ( *(_DWORD *)(a1 + 8) != 1 ); } pthread_mutex_unlock(*(pthread_mutex_t **)a1); } return *(_DWORD *)(a1 + 40) == 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source