// // BIO_read from 0x9e5470 to 0x9e558c (284 bytes) // // 20 xrefs: // > ssl3_read_n @ 0x99d3b0 // > DTLSv1_listen @ 0x9cb29c // > DTLSv1_listen @ 0x9cb338 // > DTLSv1_listen @ 0x9cb5e0 // > sub_9E4D20 @ 0x9e4e14 // > sub_9E4E70 @ 0x9e4f28 // > sub_9E4E70 @ 0x9e4f6c // > sub_A6D080 @ 0xa6d4e0 // > ASN1_d2i_bio @ 0xa74ce0 // > ASN1_d2i_bio @ 0xa74dec // > ASN1_item_d2i_bio @ 0xa75184 // > ASN1_item_d2i_bio @ 0xa75290 // > sub_AC9BBC @ 0xac9de8 // > sub_ACA65C @ 0xaca6a0 // > OCSP_REQ_CTX_nbio @ 0xace394 // > SMIME_crlf_copy @ 0xadaf40 // > SMIME_text @ 0xadbad8 // > sub_AE6D58 @ 0xae6ea0 // > sub_AEA9D0 @ 0xaea9f4 // > @ 0x7436c // // 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_read(int a1, int a2, int a3) { int (__fastcall *v4)(int, int); // r5 int result; // r0 if ( a1 && *(_DWORD *)a1 && *(_DWORD *)(*(_DWORD *)a1 + 12) ) { v4 = *(int (__fastcall **)(int, int))(a1 + 4); if ( !v4 || (result = v4(a1, 2), result > 0) ) { if ( *(_DWORD *)(a1 + 12) ) { result = (*(int (__fastcall **)(int, int, int))(*(_DWORD *)a1 + 12))(a1, a2, a3); if ( result > 0 ) *(_QWORD *)(a1 + 48) += result; if ( v4 ) return ((int (__fastcall *)(int, int, int, int, _DWORD, int))v4)(a1, 130, a2, a3, 0, result); } else { ERR_put_error(32, 111, 120, "crypto/bio/bio_lib.c", 193); return -2; } } } else { ERR_put_error(32, 111, 121, "crypto/bio/bio_lib.c", 183); return -2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source