// // BIO_gets from 0x9e57d8 to 0x9e58ec (276 bytes) // // 18 xrefs: // > OBJ_create_objects @ 0xa31c38 // > PEM_read_bio @ 0xa37264 // > PEM_read_bio @ 0xa373b4 // > PEM_read_bio @ 0xa37514 // > PEM_read_bio @ 0xa375ec // > TXT_DB_read @ 0xa4dc90 // > TXT_DB_read @ 0xa4dd94 // > a2i_ASN1_INTEGER @ 0xa7b928 // > a2i_ASN1_INTEGER @ 0xa7bac0 // > a2i_ASN1_STRING @ 0xa7bd9c // > a2i_ASN1_STRING @ 0xa7bf00 // > sub_A8DDC0 @ 0xa8df78 // > OCSP_REQ_CTX_nbio @ 0xace528 // > sub_AD9CA8 @ 0xad9d14 // > sub_AD9EEC @ 0xad9f38 // > SMIME_crlf_copy @ 0xadaec0 // > sub_AEA9A8 @ 0xaea9cc // > @ 0x791cc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:07:23 +0000 // int __fastcall BIO_gets(_DWORD *a1, int a2, int a3) { int (*v4)(void); // r3 int (__fastcall *v5)(_DWORD *, int); // r5 int result; // r0 int v9; // r0 if ( !a1 || !*a1 || (v4 = *(int (**)(void))(*a1 + 20)) == nullptr ) { ERR_put_error(32, 104, 121, "crypto/bio/bio_lib.c", 276); return -2; } v5 = (int (__fastcall *)(_DWORD *, int))a1[1]; if ( !v5 ) { if ( a1[3] ) return v4(); goto LABEL_11; } result = v5(a1, 5); if ( result <= 0 ) return result; if ( !a1[3] ) { LABEL_11: ERR_put_error(32, 104, 120, "crypto/bio/bio_lib.c", 286); return -2; } v9 = (*(int (__fastcall **)(_DWORD *, int, int))(*a1 + 20))(a1, a2, a3); return ((int (__fastcall *)(_DWORD *, int, int, int, _DWORD, int))v5)(a1, 133, a2, a3, 0, v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source