//
// CRYPTO_ocb128_new from 0x817e9c to 0x817f20 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x6421c
//
// 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
//
void *__fastcall CRYPTO_ocb128_new(int a1, int a2, void (__fastcall *a3)(_DWORD *, _DWORD *, int), int a4, int a5)
{
_DWORD *v9; // r0
void *v10; // r4
void *v11; // r6
void *result; // r0
v9 = CRYPTO_malloc(&dword_A8, (int)"crypto/modes/ocb128.c", 146);
v10 = v9;
if ( !v9 )
return nullptr;
v11 = CRYPTO_ocb128_init(v9, a1, a2, a3, a4, a5);
result = v10;
if ( !v11 )
{
CRYPTO_free(v10, (int)"crypto/modes/ocb128.c", 151);
return nullptr;
}
return result;
}