//
// sub_10008E0B4 from 0x10008e0b4 to 0x10008e124 (112 bytes)
//
// 9 xrefs:
// > sub_10008DE14 @ 0x10008debc
// > sub_10008E5E0 @ 0x10008e678
// > sub_1001BC594 @ 0x1001bc648
// > sub_1001BD28C @ 0x1001bd338
// > sub_1001BD5E0 @ 0x1001bd694
// > sub_1001BD934 @ 0x1001bd9cc
// > sub_1001E7F3C @ 0x1001e7fe4
// > sub_1003E07B4 @ 0x1003e0868
// > sub_10041167C @ 0x100411730
//
// 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 10:58:22 +0000
//
bool __fastcall sub_10008E0B4(__int64 a1, const void **a2, const void **a3)
{
size_t v3; // x8
int v4; // w9
const void *v5; // x11
int v6; // w10
const void *v7; // x0
const void *v8; // x1
v3 = *((unsigned __int8 *)a2 + 23);
v4 = (char)v3;
if ( (v3 & 0x80u) != 0LL )
v3 = (size_t)a2[1];
v5 = (const void *)*((unsigned __int8 *)a3 + 23);
v6 = (char)v5;
if ( (char)v5 < 0 )
v5 = a3[1];
if ( (const void *)v3 != v5 )
return 0;
if ( v4 >= 0 )
v7 = a2;
else
v7 = *a2;
if ( v6 >= 0 )
v8 = a3;
else
v8 = *a3;
return memcmp(v7, v8, v3) == 0;
}