// // ssl_add_serverhello_renegotiate_ext from 0x7b50ac to 0x7b5168 (188 bytes) // // 3 xrefs: // > ssl_add_serverhello_tlsext @ 0x7af170 // > ssl_add_serverhello_tlsext @ 0x7af1f0 // > @ 0x5d85c // // 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 ssl_add_serverhello_renegotiate_ext(int a1, _BYTE *a2, _DWORD *a3, int a4) { int v6; // r12 char *v7; // r0 if ( !a2 ) goto LABEL_4; v6 = *(unsigned __int8 *)(*(_DWORD *)(a1 + 104) + 764) + *(unsigned __int8 *)(*(_DWORD *)(a1 + 104) + 829); if ( v6 < a4 ) { *a2 = v6; v7 = (char *)memcpy( a2 + 1, (const void *)(*(_DWORD *)(a1 + 104) + 700), *(unsigned __int8 *)(*(_DWORD *)(a1 + 104) + 764)); memcpy( &v7[*(unsigned __int8 *)(*(_DWORD *)(a1 + 104) + 764)], (const void *)(*(_DWORD *)(a1 + 104) + 765), *(unsigned __int8 *)(*(_DWORD *)(a1 + 104) + 829)); LABEL_4: *a3 = *(unsigned __int8 *)(*(_DWORD *)(a1 + 104) + 764) + *(unsigned __int8 *)(*(_DWORD *)(a1 + 104) + 829) + 1; return 1; } ERR_put_error(20, 299, 335, "ssl/t1_reneg.c", 84); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source