//
// EVP_DecodeFinal from 0xacc33c to 0xacc394 (88 bytes)
//
// 2 xrefs:
// > PEM_read_bio @ 0xa37808
// > ??> @ 0x7ee5c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:09:21 +0000
//
int __fastcall EVP_DecodeFinal(int a1, int a2, int *a3)
{
int v6; // r3
*a3 = 0;
if ( !*(_DWORD *)a1 )
return 1;
v6 = EVP_DecodeBlock(a2, (unsigned __int8 *)(a1 + 8), *(_DWORD *)a1);
if ( v6 < 0 )
return -1;
*(_DWORD *)a1 = 0;
*a3 = v6;
return 1;
}