// // tls_construct_next_proto from 0xfca648 to 0xfca704 (188 bytes) // // 2 xrefs: // > ossl_statem_client_construct_message @ 0xfca734 // > @ 0x94918 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:15:26 +0000 // __int64 __fastcall tls_construct_next_proto(__int64 a1) { _BYTE *v2; // x20 int v3; // w19 unsigned int v4; // w22 char v5; // w25 char v6; // w23 __int64 v7; // x3 _BYTE *v8; // x0 int v9; // w19 v2 = *(_BYTE **)(*(_QWORD *)(a1 + 120) + 8LL); v3 = *(unsigned __int8 *)(a1 + 736); v2[4] = v3; v4 = 32 - ((v3 + 2) & 0x1F); v5 = 32 - ((v3 + 2) & 0x1F); memcpy(v2 + 5, *(const void **)(a1 + 728), (unsigned __int8)v3); v6 = v5 + v3 + 2; v7 = (unsigned int)(v3 + 5); v8 = &v2[(unsigned __int8)v3 + 6]; v9 = v4 + v3; v2[v7] = v5; memset(v8, 0, v4); v2[1] = 0; v2[3] = v6; v2[2] = (unsigned __int16)(v9 + 2) >> 8; *v2 = 67; *(_DWORD *)(a1 + 136) = v9 + 6; *(_DWORD *)(a1 + 140) = 0; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source