//
// sub_8557F0 from 0x8557f0 to 0x855828 (56 bytes)
//
// 1 xrefs:
// > ??> @ 0xa39578
//
// 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 sub_8557F0(int a1, int *a2)
{
int v2; // r3
v2 = *a2;
if ( a1 == 1 )
{
*(_DWORD *)(v2 + 8) = 0;
return 1;
}
else
{
if ( a1 == 3 )
X509_NAME_free(*(_DWORD **)(v2 + 8));
return 1;
}
}