// // ossl_statem_server_construct_message from 0xd54480 to 0xd54500 (128 bytes) // // 4 xrefs: // > sub_D47644 @ 0xd47804 // > @ 0x7a208 // > sub_D47644 @ 0xd47ca8 // > @ 0x122c170 // // 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 ossl_statem_server_construct_message( __int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6, __int64 a7, __int64 a8, char a9) { __int64 result; // x0 switch ( *(_DWORD *)(a1 + 92) ) { case 0x13: result = tls_construct_hello_request(a1); break; case 0x15: result = dtls_construct_hello_verify_request(a1); break; case 0x16: result = tls_construct_server_hello(a1); break; case 0x17: result = tls_construct_server_certificate(a1); break; case 0x18: result = tls_construct_server_key_exchange( (_QWORD *)a1, (unsigned int)(*(_DWORD *)(a1 + 92) - 19), a3, a4, a5, a6, a7, a8, a9); break; case 0x19: result = tls_construct_certificate_request((_QWORD *)a1); break; case 0x1A: result = tls_construct_server_done(a1); break; case 0x21: result = tls_construct_new_session_ticket(a1); break; case 0x22: result = tls_construct_cert_status(a1); break; case 0x23: if ( (*(_DWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 8) + 192LL) + 104LL) & 8) != 0 ) result = dtls_construct_change_cipher_spec(a1); else result = tls_construct_change_cipher_spec(a1); break; case 0x24: result = tls_construct_finished(a1); break; default: result = 0; break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source