//
// custom_ext_init from 0x9c1bc8 to 0x9c1bf8 (48 bytes)
//
// 3 xrefs:
// > ssl_add_clienthello_tlsext @ 0x9c67dc
// > ssl_parse_clienthello_tlsext @ 0x9c7bf0
// > ??> @ 0x7722c
//
// 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:04 +0000
//
int *__fastcall custom_ext_init(int *result)
{
int v1; // r1
int v2; // r2
int v3; // r3
v1 = result[1];
v2 = *result;
if ( v1 )
{
v3 = 0;
result = nullptr;
do
{
++v3;
*(_DWORD *)(v2 + 4) = 0;
v2 += 28;
}
while ( v3 != v1 );
}
return result;
}