//
// OPENSSL_INIT_set_config_appname from 0x1000120 to 0x100016c (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x94f30
//
// 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:53 +0000
//
char *__fastcall OPENSSL_INIT_set_config_appname(void **a1, char *a2)
{
char *result; // x0
char *v4; // x19
if ( a2 )
{
result = strdup(a2);
v4 = result;
if ( !result )
return result;
}
else
{
v4 = nullptr;
}
free(*a1);
*a1 = v4;
return (_BYTE *)(dword_0 + 1);
}