// // BIO_gets from 0xd76a98 to 0xd76b94 (252 bytes) // // 21 xrefs: // > OBJ_create_objects @ 0xdc2c20 // > OBJ_create_objects @ 0xdc2ce0 // > PEM_read_bio @ 0xdc8068 // > PEM_read_bio @ 0xdc81b4 // > PEM_read_bio @ 0xdc82ec // > PEM_read_bio @ 0xdc83bc // > TXT_DB_read @ 0xde1018 // > TXT_DB_read @ 0xde10fc // > a2i_ASN1_INTEGER @ 0xe0ee14 // > a2i_ASN1_INTEGER @ 0xe0ef34 // > a2i_ASN1_STRING @ 0xe0f2f0 // > a2i_ASN1_STRING @ 0xe0f3f8 // > sub_E23A38 @ 0xe23b18 // > OCSP_REQ_CTX_nbio @ 0xe63950 // > sub_E70980 @ 0xe70a08 // > sub_E70980 @ 0xe70b4c // > sub_E70BD8 @ 0xe70c30 // > SMIME_crlf_copy @ 0xe718bc // > SMIME_crlf_copy @ 0xe71920 // > sub_E80B40 @ 0xe80b64 // > @ 0x81588 // // 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 // __int64 __fastcall BIO_gets(__int64 a1, __int64 a2, unsigned int a3) { __int64 (*v6)(void); // x3 __int64 (*v7)(void); // x20 __int64 result; // x0 int v9; // w0 if ( !a1 || !*(_QWORD *)a1 || (v6 = *(__int64 (**)(void))(*(_QWORD *)a1 + 40LL)) == nullptr ) { ERR_put_error(32, 104, 121, "crypto/bio/bio_lib.c", 276); return 4294967294LL; } v7 = *(__int64 (**)(void))(a1 + 8); if ( !v7 ) { if ( *(_DWORD *)(a1 + 24) ) return v6(); goto LABEL_11; } result = v7(); if ( (int)result <= 0 ) return result; if ( !*(_DWORD *)(a1 + 24) ) { LABEL_11: ERR_put_error(32, 104, 120, "crypto/bio/bio_lib.c", 286); return 4294967294LL; } v9 = (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)a1 + 40LL))(a1, a2, a3); return ((__int64 (__fastcall *)(__int64, __int64, __int64, _QWORD, _QWORD, _QWORD))v7)(a1, 133, a2, a3, 0, v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source