//
// sub_1004EAC08 from 0x1004eac08 to 0x1004eac78 (112 bytes)
//
// 1 xrefs:
// > sub_1004E8694 @ 0x1004e8bd8
//
// 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
//
__int64 __fastcall sub_1004EAC08(__int64 a1, void *__s2)
{
__int64 v2; // x8
__int64 v3; // x22
char *i; // x20
v2 = *(_QWORD *)(a1 + 8);
v3 = *(_QWORD *)(v2 + 1352);
if ( !v3 )
return 0;
for ( i = *(char **)(v2 + 1344); memcmp(i, __s2, 4u); i += 4 )
{
if ( !--v3 )
return 0;
}
return 1;
}