I noticed that the current implementation of CCArray in cocos2d-x matches that of an old version of cocos2d-iphone rather than the current version.
The only difference I am aware of is that cocos2d-x’s ccArrayGetIndexOfObject compares the pointers to ascertain whether two objects are equal whereas cocos2d-iphone uses CCObject::isEqual(const CCObject* pObject).
Will it cause any problems if I modify CCArray to match the latter behaviour? Especially given that the default CCObject behaviour is to compare the pointers and the only class to override this is CCString.