// // SSL_set_ssl_method from 0xd41d54 to 0xd41e10 (188 bytes) // // 3 xrefs: // > SSL_dup @ 0xd43b64 // > SSL_set_session @ 0xd47388 // > @ 0xa5f60 // // 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 SSL_set_ssl_method(__int64 a1, __int64 a2) { __int64 v2; // x21 __int64 v5; // x22 __int64 (__fastcall *v6)(__int64); // x1 __int64 result; // x0 v2 = *(_QWORD *)(a1 + 8); if ( v2 == a2 ) return 1; v5 = *(_QWORD *)(a1 + 48); if ( *(_DWORD *)v2 == *(_DWORD *)a2 ) { *(_QWORD *)(a1 + 8) = a2; result = 1; } else { (*(void (**)(void))(v2 + 32))(); v6 = *(__int64 (__fastcall **)(__int64))(a2 + 16); *(_QWORD *)(a1 + 8) = a2; result = v6(a1); } if ( *(_QWORD *)(v2 + 48) == v5 ) { *(_QWORD *)(a1 + 48) = *(_QWORD *)(a2 + 48); } else if ( *(_QWORD *)(v2 + 40) == v5 ) { *(_QWORD *)(a1 + 48) = *(_QWORD *)(a2 + 40); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source