// // sub_10DBC88 from 0x10dbc88 to 0x10dbfd4 (844 bytes) // // 2 xrefs: // > engine_load_openssl_int @ 0x10dc098 // > engine_load_openssl_int @ 0x10dc0a0 // // 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:17:45 +0000 // __int64 __fastcall sub_10DBC88(__int64 a1, __int64 *a2, _QWORD *a3, int a4) { __int64 result; // x0 __int64 v7; // x20 __int64 v8; // x0 __int64 v9; // x22 __int64 v10; // x0 unsigned int *v11; // x22 int v12; // w19 unsigned int *v13; // x22 int v14; // w19 __int64 v15; // x0 __int64 v16; // x22 __int64 v17; // x0 __int64 v18; // x0 __int64 v19; // x23 __int64 v20; // x0 __int64 v21; // x23 if ( !a2 ) { if ( dword_15686A8 ) { result = (unsigned int)dword_15686AC; LABEL_15: *a3 = algn_15686B0; return result; } v11 = (unsigned int *)qword_1568698; if ( !qword_1568698 ) { v20 = EVP_CIPHER_meth_new(5, 1, 16); v21 = v20; if ( !v20 || !(unsigned int)EVP_CIPHER_meth_set_iv_length(v20, 0) || !(unsigned int)EVP_CIPHER_meth_set_flags(v21, 8) || !(unsigned int)EVP_CIPHER_meth_set_init(v21, sub_10DBBE4) || !(unsigned int)EVP_CIPHER_meth_set_do_cipher(v21, sub_10DBBA4) || !(unsigned int)EVP_CIPHER_meth_set_impl_ctx_size(v21, 274) ) { EVP_CIPHER_meth_free(v21); qword_1568698 = 0; LABEL_18: v13 = (unsigned int *)qword_15686A0; if ( !qword_15686A0 ) { v18 = EVP_CIPHER_meth_new(5, 1, 5); v19 = v18; if ( !v18 || !(unsigned int)EVP_CIPHER_meth_set_iv_length(v18, 0) || !(unsigned int)EVP_CIPHER_meth_set_flags(v19, 8) || !(unsigned int)EVP_CIPHER_meth_set_init(v19, sub_10DBBE4) || !(unsigned int)EVP_CIPHER_meth_set_do_cipher(v19, sub_10DBBA4) || !(unsigned int)EVP_CIPHER_meth_set_impl_ctx_size(v19, 274) ) { EVP_CIPHER_meth_free(v19); qword_15686A0 = 0; goto LABEL_20; } qword_15686A0 = v19; v13 = (unsigned int *)v19; } v14 = dword_15686AC++; *((_DWORD *)&qword_1568680 + v14 + 12) = EVP_CIPHER_nid(v13); LABEL_20: result = (unsigned int)dword_15686AC; dword_15686A8 = 1; *((_DWORD *)&qword_1568680 + dword_15686AC + 12) = 0; goto LABEL_15; } qword_1568698 = v21; v11 = (unsigned int *)v21; } v12 = dword_15686AC++; *((_DWORD *)&qword_1568680 + v12 + 12) = EVP_CIPHER_nid(v11); goto LABEL_18; } if ( a4 == 5 ) { v7 = qword_1568698; if ( !qword_1568698 ) { v15 = EVP_CIPHER_meth_new(5, 1, 16); v16 = v15; if ( !v15 || !(unsigned int)EVP_CIPHER_meth_set_iv_length(v15, 0) || !(unsigned int)EVP_CIPHER_meth_set_flags(v16, 8) || !(unsigned int)EVP_CIPHER_meth_set_init(v16, sub_10DBBE4) || !(unsigned int)EVP_CIPHER_meth_set_do_cipher(v16, sub_10DBBA4) || !(unsigned int)EVP_CIPHER_meth_set_impl_ctx_size(v16, 274) ) { v17 = v16; v16 = 0; EVP_CIPHER_meth_free(v17); } v7 = v16; qword_1568698 = v16; } goto LABEL_7; } if ( a4 == 97 ) { v7 = qword_15686A0; if ( !qword_15686A0 ) { v8 = EVP_CIPHER_meth_new(5, 1, 5); v9 = v8; if ( !v8 || !(unsigned int)EVP_CIPHER_meth_set_iv_length(v8, 0) || !(unsigned int)EVP_CIPHER_meth_set_flags(v9, 8) || !(unsigned int)EVP_CIPHER_meth_set_init(v9, sub_10DBBE4) || !(unsigned int)EVP_CIPHER_meth_set_do_cipher(v9, sub_10DBBA4) || !(unsigned int)EVP_CIPHER_meth_set_impl_ctx_size(v9, 274) ) { v10 = v9; v9 = 0; EVP_CIPHER_meth_free(v10); } v7 = v9; qword_15686A0 = v9; } LABEL_7: *a2 = v7; return 1; } *a2 = 0; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source