// // tls_construct_next_proto from 0x7a42e0 to 0x7a4370 (144 bytes) // // 2 xrefs: // > ossl_statem_client_construct_message @ 0x7a43dc // > @ 0x5d35c // // 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 // int __fastcall tls_construct_next_proto(int a1) { size_t v1; // r6 _BYTE *v2; // r5 int v4; // r4 char v5; // r8 size_t v6; // r4 v1 = *(unsigned __int8 *)(a1 + 452); v2 = *(_BYTE **)(*(_DWORD *)(a1 + 88) + 4); v4 = 32 - ((v1 + 2) & 0x1F); v2[4] = v1; memcpy(v2 + 5, *(const void **)(a1 + 448), v1); v5 = v4; v2[v1 + 5] = v4; v6 = v4 + v1; memset(&v2[v1 + 6], 0, 32 - ((v1 + 2) & 0x1F)); v2[3] = v5 + v1 + 2; *v2 = 67; v2[2] = (unsigned __int16)(v6 + 2) >> 8; v2[1] = 0; *(_DWORD *)(a1 + 96) = v6 + 6; *(_DWORD *)(a1 + 100) = 0; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source