//
// gzdopen from 0xf3ea04 to 0xf3ea8c (136 bytes)
//
// 1 xrefs:
// > ??> @ 0xf2890
//
// 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:13:06 +0000
//
void **__fastcall gzdopen(int a1, unsigned __int8 *a2)
{
char *v4; // x0
char *v5; // x21
void **v6; // x19
if ( a1 == -1 )
return nullptr;
v4 = (char *)malloc(0x13u);
v5 = v4;
if ( !v4 )
return nullptr;
snprintf(v4, 0x13u, "", a1);
v6 = sub_F3E724(v5, a1, a2);
free(v5);
return v6;
}