// // cocos2d::CCString::isEqual from 0x7c8910 to 0x7c8986 (118 bytes) // // 0 xrefs: // // 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:00:27 +0000 // const cocos2d::CCObject *__fastcall cocos2d::CCString::isEqual(cocos2d::CCString *this, const cocos2d::CCObject *lpsrc) { const cocos2d::CCObject *result; // r0 int v4; // r5 int v5; // r4 int v6; // r2 unsigned int v7; // r5 int v8; // r3 unsigned int v9; // r4 char *v10; // r6 const void *v11; // r1 size_t v12; // r2 int v13; // r0 result = lpsrc; if ( lpsrc ) { result = (const cocos2d::CCObject *)_dynamic_cast( lpsrc, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCString, 0); if ( result ) { v4 = *((unsigned __int8 *)this + 52); v5 = *((unsigned __int8 *)result + 52); v6 = v4 & 1; if ( (v4 & 1) != 0 ) v7 = *((_DWORD *)this + 14); else v7 = v4 >> 1; v8 = v5 & 1; if ( (v5 & 1) != 0 ) v9 = *((_DWORD *)result + 14); else v9 = v5 >> 1; if ( v6 ) v10 = *((char **)this + 15); else v10 = (char *)this + 53; if ( v8 ) v11 = *((const void **)result + 15); else v11 = (char *)result + 53; v12 = v9; if ( v9 >= v7 ) v12 = v7; if ( !v12 || (v13 = memcmp(v10, v11, v12)) == 0 ) { if ( v7 < v9 ) v13 = -1; else v13 = v7 > v9; } return (const cocos2d::CCObject *)(v13 == 0); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source