// // OPENSSL_cleanup from 0x103001c to 0x1030170 (340 bytes) // // 3 xrefs: // > @ 0xed2c8 // > sub_102FF50 @ 0x102ff78 // > @ 0x15472c0 // // This function is hookable on this platform (idp: arm, 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 13:16:20 +0000 // __int64 OPENSSL_cleanup() { __int64 result; // x0 _DWORD *local; // x19 __int64 v2; // x19 __int64 v3; // x0 __int64 v4; // x0 __int64 v5; // x0 result = (unsigned int)dword_1567EB8; if ( dword_1567EB8 ) { result = (unsigned int)dword_1567EC0; if ( !dword_1567EC0 ) { dword_1567EC0 = 1; local = (_DWORD *)CRYPTO_THREAD_get_local(&unk_1567EAC); CRYPTO_THREAD_set_local(&unk_1567EAC, 0); if ( local ) { if ( *local ) ASYNC_cleanup_thread(); if ( local[1] ) err_delete_thread_state(); CRYPTO_free(local, "crypto/init.c", 339); } v2 = qword_1567EC8; while ( v2 ) { (*(void (**)(void))v2)(); v3 = v2; v2 = *(_QWORD *)(v2 + 8); CRYPTO_free(v3, "crypto/init.c", 398); } qword_1567EC8 = 0; CRYPTO_THREAD_lock_free(qword_1567EB0); if ( dword_1567E68 ) comp_zlib_cleanup_int(); if ( dword_1567E80 ) async_deinit(); if ( dword_1567EA4 ) err_free_strings_int(); v4 = CRYPTO_THREAD_cleanup_local(&unk_1567EAC); rand_cleanup_int(v4); conf_modules_free_int(); engine_cleanup_int(); crypto_cleanup_all_ex_data_int(); bio_cleanup(); v5 = evp_cleanup_int(); obj_cleanup_int(v5); result = err_cleanup(); dword_1567EB8 = 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source