// // cocos2d::CCString::isEqual from 0x10088e560 to 0x10088e5f4 (148 bytes) // // 1 xrefs: // > @ 0x100ba7330 // // 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:37:03 +0000 // __int64 __fastcall cocos2d::CCString::isEqual(__int64 a1, const void *a2) { unsigned int v2; // ebx _QWORD *v3; // rax unsigned int v4; // r8d size_t v5; // rdx const void *v6; // rsi unsigned int v7; // ecx size_t v8; // rcx const void *v9; // rdi char *v10; // rax bool v11; // zf if ( a2 ) { v2 = 0; v3 = __dynamic_cast( a2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCString, 0); if ( v3 ) { v4 = *((unsigned __int8 *)v3 + 56); v5 = v3[8]; v6 = (const void *)v3[9]; v7 = *(unsigned __int8 *)(a1 + 56); if ( (v7 & 1) != 0 ) { v8 = *(_QWORD *)(a1 + 64); v9 = *(const void **)(a1 + 72); } else { v8 = v7 >> 1; v9 = (const void *)(a1 + 57); } v10 = (char *)v3 + 57; if ( (v4 & 1) == 0 ) { v5 = v4 >> 1; v6 = v10; } v11 = v5 == v8; if ( v5 >= v8 ) v5 = v8; LOBYTE(v2) = v11 & (memcmp(v9, v6, v5) == 0); } } else { return 0; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source