//
// sub_A87510 from 0xa87510 to 0xa87568 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0xc80f48
//
// 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:08:52 +0000
//
int __fastcall sub_A87510(int a1, _DWORD *a2)
{
int *v4; // r0
int v5; // r5
v4 = CMAC_CTX_new();
v5 = (int)v4;
if ( !v4 )
return 0;
if ( CMAC_CTX_copy(v4, *(_DWORD **)(a1 + 20)) )
{
EVP_PKEY_assign(a2, 894, v5);
return 1;
}
CMAC_CTX_free(v5);
return 0;
}