// // ssl3_peek from 0xd38330 to 0xd3841c (236 bytes) // // 23 xrefs: // > @ 0x6ed00 // > @ 0x121f1f0 // > @ 0x121f2d0 // > @ 0x121f3b0 // > @ 0x121f490 // > @ 0x121f570 // > @ 0x121f650 // > @ 0x121f730 // > @ 0x121f810 // > @ 0x121f8f0 // > @ 0x121f9d0 // > @ 0x121fab0 // > @ 0x121fb90 // > @ 0x121fc70 // > @ 0x121fd50 // > @ 0x121fe30 // > @ 0x121ff10 // > @ 0x121fff0 // > @ 0x12200d0 // > @ 0x12201b0 // > @ 0x1220290 // > @ 0x1220370 // > @ 0x1220450 // // 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 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