// // ossl_init_thread_start from 0x80ae40 to 0x80aed8 (152 bytes) // // 3 xrefs: // > ASYNC_init_thread @ 0x7cae78 // > ERR_get_state @ 0x7fa258 // > @ 0x5f2ac // // 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 // int __fastcall ossl_init_thread_start(char a1) { int *local; // r5 bool v3; // zf int v4; // r3 __int64 v5; // r6 local = (int *)CRYPTO_THREAD_get_local(&unk_AD447C); if ( !local ) { local = (int *)CRYPTO_zalloc(8, "crypto/init.c", 45); CRYPTO_THREAD_set_local(&unk_AD447C, local); if ( !local ) return 0; } v4 = a1 & 1; v3 = v4 == 0; if ( (a1 & 1) != 0 ) v4 = 1; v5 = a1 & 2; if ( !v3 ) *local = v4; if ( v5 ) local[1] = 1; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source