// // SSL_copy_session_id from 0xfbdf90 to 0xfbe04c (188 bytes) // // 3 xrefs: // > BIO_ssl_copy_session_id @ 0xfae3d0 // > SSL_dup @ 0xfc1bb4 // > @ 0xec6e0 // // 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:19 +0000 // 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