//
// ECDSA_SIG_set0 from 0x7e7ec0 to 0x7e7f04 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x6159c
//
// 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 ECDSA_SIG_set0(_BYTE **a1, _BYTE *a2, _BYTE *a3)
{
bool v3; // zf
v3 = a3 == nullptr;
if ( a3 )
v3 = a2 == nullptr;
if ( v3 )
return 0;
BN_clear_free(*a1);
BN_clear_free(a1[1]);
*a1 = a2;
a1[1] = a3;
return 1;
}