//
// OPENSSL_INIT_set_config_appname from 0xd81dc0 to 0xd81e0c (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x6e6b8
//
// 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
//
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);
}