//
// custom_ext_init from 0xd54650 to 0xd54678 (40 bytes)
//
// 3 xrefs:
// > ssl_add_clienthello_tlsext @ 0xd58e60
// > ssl_parse_clienthello_tlsext @ 0xd5a11c
// > ??> @ 0x71e08
//
// 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
//
__int64 __fastcall custom_ext_init(__int64 *a1)
{
__int64 v1; // x2
__int64 v2; // x1
__int64 result; // x0
v1 = a1[1];
v2 = 0;
result = *a1;
if ( v1 )
{
do
{
++v2;
*(_DWORD *)(result + 4) = 0;
result += 48;
}
while ( v2 != v1 );
}
return result;
}