//
// cocos2d::CCString::isEqual from 0xd45f80 to 0xd46074 (244 bytes)
//
// 2 xrefs:
// > ??> @ 0xefea8
// > ??> @ 0x15164c8
//
// 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 13:07:34 +0000
//
bool __fastcall cocos2d::CCString::isEqual(cocos2d::CCString *this, const cocos2d::CCObject *lpsrc)
{
char *v3; // x0
unsigned __int8 v4; // w1
char *v5; // x4
int v6; // w5
size_t v7; // x21
unsigned __int8 v8; // w1
int v9; // w3
size_t v10; // x20
char *v11; // x19
const void *v12; // x1
size_t v13; // x2
if ( lpsrc )
{
v3 = (char *)_dynamic_cast(
lpsrc,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCString,
0);
if ( !v3 )
return 0;
v4 = *((_BYTE *)this + 56);
v5 = (char *)this + 56;
v6 = v4 & 1;
v7 = v4 >> 1;
if ( (v4 & 1) != 0 )
v7 = *((_QWORD *)this + 8);
v8 = v3[56];
v9 = v8 & 1;
v10 = v8 >> 1;
if ( (v8 & 1) != 0 )
v10 = *((_QWORD *)v3 + 8);
v11 = (char *)this + 57;
if ( v6 )
v11 = *((char **)v5 + 2);
v12 = v3 + 57;
if ( v9 )
{
v12 = *((const void **)v3 + 9);
if ( v10 > v7 )
v13 = v7;
else
v13 = v10;
if ( v13 )
{
LABEL_14:
if ( memcmp(v11, v12, v13) )
return 0;
}
}
else
{
if ( v10 > v7 )
v13 = v7;
else
v13 = v10;
if ( v13 )
goto LABEL_14;
}
return v7 == v10;
}
return 0;
}