// // DSA_free from 0x7e1e68 to 0x7e1f20 (184 bytes) // // 12 xrefs: // > sub_7E0CE0 @ 0x7e0ce4 // > sub_7E11C4 @ 0x7e1270 // > sub_7E1588 @ 0x7e1680 // > sub_7E1A70 @ 0x7e1aac // > DSA_new_method @ 0x7e1fd8 // > PEM_read_bio_DSAPrivateKey @ 0x820aec // > PEM_read_DSAPrivateKey @ 0x820d08 // > d2i_DSA_PUBKEY @ 0x84aa00 // > sub_87FC88 @ 0x87fd44 // > sub_87FC88 @ 0x87fe88 // > sub_881B14 @ 0x881bb0 // > @ 0x60cac // // 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 DSA_free(int result) { int v1; // r4 void (__fastcall *v2)(int); // r3 int v3; // [sp+4h] [bp-Ch] BYREF if ( result ) { v1 = result; result = CRYPTO_atomic_add(result + 36, -1, &v3, *(_DWORD *)(result + 52)); if ( v3 <= 0 ) { v2 = *(void (__fastcall **)(int))(*(_DWORD *)(v1 + 44) + 28); if ( v2 ) v2(v1); ENGINE_finish(*(_DWORD *)(v1 + 48)); CRYPTO_free_ex_data(7, v1, v1 + 40); CRYPTO_THREAD_lock_free(*(_DWORD *)(v1 + 52)); BN_clear_free(*(_BYTE **)(v1 + 8)); BN_clear_free(*(_BYTE **)(v1 + 12)); BN_clear_free(*(_BYTE **)(v1 + 16)); BN_clear_free(*(_BYTE **)(v1 + 20)); BN_clear_free(*(_BYTE **)(v1 + 24)); return CRYPTO_free(v1, "crypto/dsa/dsa_lib.c", 144); } } return result; }