//
// sub_1004C3200 from 0x1004c3200 to 0x1004c3264 (100 bytes)
//
// 1 xrefs:
// > UILayer::announceLevelControls @ 0x1004c3137
//
// This function is hookable on this platform (idp: pc, 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 12:31:06 +0000
//
bool __fastcall sub_1004C3200(unsigned __int8 *a1, unsigned __int8 *a2)
{
unsigned int v2; // eax
size_t v3; // rdx
unsigned int v4; // ecx
const void *v6; // rdi
const void *v7; // rsi
v2 = *a1;
if ( (v2 & 1) != 0 )
{
v3 = *((_QWORD *)a1 + 1);
v4 = *a2;
if ( (v4 & 1) == 0 )
goto LABEL_3;
LABEL_6:
if ( v3 != *((_QWORD *)a2 + 1) )
return 0;
goto LABEL_7;
}
v3 = v2 >> 1;
v4 = *a2;
if ( (v4 & 1) != 0 )
goto LABEL_6;
LABEL_3:
if ( v3 != v4 >> 1 )
return 0;
LABEL_7:
if ( (v2 & 1) == 0 )
{
v6 = a1 + 1;
if ( (v4 & 1) == 0 )
goto LABEL_9;
LABEL_11:
v7 = *((const void **)a2 + 2);
return memcmp(v6, v7, v3) == 0;
}
v6 = *((const void **)a1 + 2);
if ( (v4 & 1) != 0 )
goto LABEL_11;
LABEL_9:
v7 = a2 + 1;
return memcmp(v6, v7, v3) == 0;
}