// // tls_construct_next_proto from 0x9b8ee4 to 0x9b8f74 (144 bytes) // // 2 xrefs: // > ossl_statem_client_construct_message @ 0x9b8fe0 // > @ 0x76ddc // // 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:00 +0000 // 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