// // SSL_copy_session_id from 0xd3fc3c to 0xd3fcf8 (188 bytes) // // 3 xrefs: // > BIO_ssl_copy_session_id @ 0xd3007c // > SSL_dup @ 0xd43860 // > @ 0xb5008 // // 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 // bool __fastcall SSL_copy_session_id(__int64 a1, __int64 a2) { __int64 session; // x0 __int64 v5; // x0 __int64 v6; // x1 unsigned int v7; // w2 char v9; // [xsp+2Ch] [xbp+2Ch] BYREF session = SSL_get_session(a2); if ( !(unsigned int)SSL_set_session(a1, session) ) return 0; v5 = *(_QWORD *)(a1 + 8); if ( v5 != *(_QWORD *)(a2 + 8) ) { (*(void (__fastcall **)(__int64))(v5 + 32))(a1); v6 = *(_QWORD *)(a2 + 8); *(_QWORD *)(a1 + 8) = v6; if ( !(*(unsigned int (__fastcall **)(__int64))(v6 + 16))(a1) ) return 0; } CRYPTO_atomic_add(*(_QWORD *)(a2 + 328) + 472LL, 1, &v9, *(_QWORD *)(*(_QWORD *)(a2 + 328) + 480LL)); ssl_cert_free(*(_QWORD *)(a1 + 328)); v7 = *(_DWORD *)(a2 + 336); *(_QWORD *)(a1 + 328) = *(_QWORD *)(a2 + 328); return (unsigned int)SSL_set_session_id_context(a1, (const void *)(a2 + 340), v7) != 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source