//
// OPENSSL_INIT_set_config_appname from 0x7da228 to 0x7da26c (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x6027c
//
// 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
//
int __fastcall OPENSSL_INIT_set_config_appname(void **a1, char *a2)
{
char *v3; // r4
if ( !a2 )
{
v3 = nullptr;
goto LABEL_3;
}
v3 = strdup(a2);
if ( v3 )
{
LABEL_3:
free(*a1);
*a1 = v3;
return 1;
}
return 0;
}