// // tls_process_next_proto from 0x9c1a54 to 0x9c1b48 (244 bytes) // // 2 xrefs: // > ossl_statem_server_process_message @ 0x9c1bb8 // > @ 0x7721c // // 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 tls_process_next_proto(int a1, unsigned __int8 **a2) { unsigned __int8 *v2; // r3 unsigned __int8 *v4; // r5 unsigned __int8 *v5; // r5 unsigned int v6; // r6 unsigned int v7; // t1 unsigned __int8 *v8; // r3 unsigned __int8 *v10; // r3 unsigned int v11; // r0 unsigned __int8 *v12; // r3 int v13; // r0 v2 = a2[1]; v4 = *a2; if ( !v2 ) goto LABEL_3; v7 = *v4; v5 = v4 + 1; v6 = v7; v8 = v2 - 1; if ( v7 > (unsigned int)v8 || (v10 = &v8[-v6], *a2 = &v5[v6], (a2[1] = v10) == nullptr) || (v11 = v5[v6], v12 = v10 - 1, v11 > (unsigned int)v12) || (*a2 = &v5[v6 + 1 + v11], a2[1] = &v12[-v11], v12 != (unsigned __int8 *)v11) ) { LABEL_3: ERR_put_error(20, 383, 159, "ssl/statem/statem_srvr.c", 3211); LABEL_4: ossl_statem_set_error(a1); return 0; } CRYPTO_free(*(_DWORD *)(a1 + 448), "ssl/statem/../packet_locl.h", 376); *(_DWORD *)(a1 + 448) = 0; if ( v6 ) { v13 = CRYPTO_memdup(v5, v6, "ssl/statem/../packet_locl.h", 385); *(_DWORD *)(a1 + 448) = v13; if ( !v13 ) { *(_BYTE *)(a1 + 452) = 0; goto LABEL_4; } } *(_BYTE *)(a1 + 452) = v6; return 3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source