//
// sub_107A8C0 from 0x107a8c0 to 0x107a900 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x140ecb0
//
// 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:17:06 +0000
//
__int64 __fastcall sub_107A8C0(int a1, __int64 *a2)
{
__int64 v2; // x1
v2 = *a2;
if ( a1 == 1 )
{
*(_QWORD *)(v2 + 16) = 0;
return 1;
}
else
{
if ( a1 == 3 )
X509_NAME_free(*(_QWORD *)(v2 + 16));
return 1;
}
}