// // sub_D70C98 from 0xd70c98 to 0xd70d7c (228 bytes) // // 2 xrefs: // > ASYNC_init_thread @ 0xd70ffc // > ASYNC_cleanup_thread @ 0xd714b0 // // 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 // _QWORD *__fastcall sub_D70C98(_QWORD *result) { _QWORD *v1; // x21 __int64 v2; // x0 __int64 v3; // x0 __int64 i; // x19 __int64 v5; // x0 __int64 ctx; // x20 if ( result ) { v1 = result; v2 = *result; if ( v2 ) { v3 = OPENSSL_sk_pop(v2); for ( i = v3; v3; i = v3 ) { CRYPTO_free(*(_QWORD *)(v3 + 16), "crypto/async/async.c", 98); CRYPTO_free(i, "crypto/async/async.c", 100); v3 = OPENSSL_sk_pop(*v1); } v2 = *v1; } OPENSSL_sk_free(v2); CRYPTO_free(v1, "crypto/async/async.c", 383); v5 = CRYPTO_THREAD_set_local(&unk_125D514, 0); async_local_cleanup(v5); ctx = async_get_ctx(); result = (_QWORD *)CRYPTO_THREAD_set_local(&unk_125D510, 0); if ( (_DWORD)result ) return (_QWORD *)CRYPTO_free(ctx, "crypto/async/async.c", 75); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source