//
// CRYPTO_ocb128_new from 0x103c4e8 to 0x103c584 (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x950e0
//
// 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:16:27 +0000
//
void *__fastcall CRYPTO_ocb128_new(
__int64 a1,
__int64 a2,
void (__fastcall *a3)(__int64, __int64, __int64),
__int64 a4,
__int64 a5)
{
void *v10; // x0
void *v11; // x19
void *v13; // x0
v10 = CRYPTO_malloc(off_C0, (__int64)"crypto/modes/ocb128.c", 146);
v11 = v10;
if ( v10 && !(unsigned int)CRYPTO_ocb128_init((__int64)v10, a1, a2, a3, a4, a5) )
{
v13 = v11;
v11 = nullptr;
CRYPTO_free(v13, (__int64)"crypto/modes/ocb128.c", 151);
}
return v11;
}