// // ssl3_peek from 0xfb6684 to 0xfb6770 (236 bytes) // // 23 xrefs: // > @ 0x95680 // > @ 0x1536f78 // > @ 0x1537058 // > @ 0x1537138 // > @ 0x1537218 // > @ 0x15372f8 // > @ 0x15373d8 // > @ 0x15374b8 // > @ 0x1537598 // > @ 0x1537678 // > @ 0x1537758 // > @ 0x1537838 // > @ 0x1537918 // > @ 0x15379f8 // > @ 0x1537ad8 // > @ 0x1537bb8 // > @ 0x1537c98 // > @ 0x1537d78 // > @ 0x1537e58 // > @ 0x1537f38 // > @ 0x1538018 // > @ 0x15380f8 // > @ 0x15381d8 // // 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:15:15 +0000 // __int64 __fastcall ssl3_peek(__int64 a1, __int64 a2, unsigned int a3) { _DWORD *v6; // x0 __int64 v7; // x6 __int64 v8; // x3 unsigned int v9; // w21 __int64 v10; // x0 v6 = (_DWORD *)__errno(); v7 = *(_QWORD *)(a1 + 144); *v6 = 0; if ( *(_DWORD *)(v7 + 252) ) { ssl3_renegotiate_check(a1); v7 = *(_QWORD *)(a1 + 144); } v8 = *(_QWORD *)(a1 + 8); *(_DWORD *)(v7 + 264) = 1; v9 = (*(__int64 (__fastcall **)(__int64, __int64, _QWORD, __int64, _QWORD, __int64))(v8 + 104))(a1, 23, 0, a2, a3, 1); v10 = *(_QWORD *)(a1 + 144); if ( v9 == -1 && *(_DWORD *)(v10 + 264) == 2 ) { ossl_statem_set_in_handshake(a1, 1); v9 = (*(__int64 (__fastcall **)(__int64, __int64, _QWORD, __int64, _QWORD, __int64))(*(_QWORD *)(a1 + 8) + 104LL))( a1, 23, 0, a2, a3, 1); ossl_statem_set_in_handshake(a1, 0); } else { *(_DWORD *)(v10 + 264) = 0; } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source