//
// custom_ext_init from 0xfd29a4 to 0xfd29cc (40 bytes)
//
// 3 xrefs:
// > ssl_add_clienthello_tlsext @ 0xfd71b4
// > ssl_parse_clienthello_tlsext @ 0xfd8470
// > ??> @ 0x99280
//
// 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:30 +0000
//
__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;
}