// // cocos2d::CCString::isEqual from 0x100306414 to 0x1003064ac (152 bytes) // // 1 xrefs: // > @ 0x10092b2f0 // // 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 11:03:08 +0000 // _QWORD *__fastcall cocos2d::CCString::isEqual(__int64 a1, void *lpsrc) { _QWORD *result; // x0 char *v4; // x0 const void *v5; // x9 const void *v6; // t1 size_t v7; // x10 size_t v8; // x11 const void *v9; // x8 int v10; // w13 const void *v11; // x1 size_t v12; // x2 _BOOL4 v13; // w19 if ( !lpsrc ) return nullptr; result = __dynamic_cast( lpsrc, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCString, 0); if ( result ) { v6 = (const void *)result[7]; v4 = (char *)(result + 7); v5 = v6; v7 = (unsigned __int8)v4[23]; v8 = *(char *)(a1 + 79); if ( (v8 & 0x8000000000000000LL) != 0 ) { v9 = *(const void **)(a1 + 56); v8 = *(_QWORD *)(a1 + 64); } else { v9 = (const void *)(a1 + 56); } v10 = (char)v7; if ( (v7 & 0x80u) != 0LL ) v7 = *((_QWORD *)v4 + 1); if ( v10 >= 0 ) v11 = v4; else v11 = v5; if ( v7 >= v8 ) v12 = v8; else v12 = v7; v13 = v7 == v8; if ( !memcmp(v9, v11, v12) ) return (_QWORD *)v13; else return nullptr; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source