// // cocos2d::extension::CCArrayForObjectSorting::removeSortedObject from 0x5aa8dc to 0x5aa94a (110 bytes) // // 1 xrefs: // > cocos2d::extension::CCTableView::_moveCellOutOfSight @ 0x5a9f42 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void cocos2d::extension::CCArrayForObjectSorting::removeSortedObject( cocos2d::extension::CCArrayForObjectSorting *a1, cocos2d::extension::CCSortableObject *a2) { unsigned int v4; // r4 const void *v5; // r0 void *v6; // r0 int v7; // r7 if ( cocos2d::CCArray::count(a1) ) { v4 = cocos2d::extension::CCArrayForObjectSorting::indexOfSortedObject(a1, a2); if ( v4 < cocos2d::CCArray::count(a1) && v4 != -1 ) { v5 = (const void *)cocos2d::CCArray::objectAtIndex(a1, v4); if ( !v5 ) __und(0xFFu); v6 = _dynamic_cast( v5, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::extension::CCSortableObject, -2); v7 = (*(int (__fastcall **)(void *))(*(_DWORD *)v6 + 12))(v6); if ( v7 == a2->getObjectID(a2) ) cocos2d::CCArray::removeObjectAtIndex(a1, v4, 1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source