//
// ossl_statem_server_process_message from 0x9c1b5c to 0x9c1bc8 (108 bytes)
//
// 4 xrefs:
// > sub_9B3990 @ 0x9b407c
// > ??> @ 0x7696c
// > sub_9B3990 @ 0x9b3cb4
// > ??> @ 0xd1d4f8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:04 +0000
//
int __fastcall ossl_statem_server_process_message(int *a1, unsigned __int8 **a2)
{
int result; // r0
switch ( a1[16] )
{
case 20:
result = tls_process_client_hello((int)a1, a2);
break;
case 27:
result = tls_process_client_certificate(a1, a2);
break;
case 28:
result = tls_process_client_key_exchange(a1, a2);
break;
case 29:
result = tls_process_cert_verify(a1, (int *)a2);
break;
case 30:
result = tls_process_next_proto((int)a1, a2);
break;
case 31:
result = tls_process_change_cipher_spec(a1, (int)a2);
break;
case 32:
result = tls_process_finished(a1, a2);
break;
default:
result = 0;
break;
}
return result;
}