//
// OPENSSL_memcmp from 0xa2f7c4 to 0xa2f814 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x7dcbc
//
// 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:03 +0000
//
int __fastcall OPENSSL_memcmp(unsigned __int8 *a1, unsigned __int8 *a2, int a3)
{
int result; // r0
unsigned __int8 *v5; // r2
unsigned __int8 *v6; // r12
int v7; // r3
int v8; // t1
int v9; // t1
int v10; // r3
if ( !a3 )
return 0;
result = *a1 - *a2;
if ( !result )
{
v5 = &a1[a3];
v6 = a1 + 1;
while ( v6 != v5 )
{
v8 = *v6++;
v7 = v8;
v9 = *++a2;
v10 = v7 - v9;
if ( v10 )
return v10;
}
}
return result;
}