//
// cocos2d::CCAnimate::reverse from 0x7bfac2 to 0x7bfb32 (112 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:19 +0000
//
cocos2d::CCAnimate *__fastcall cocos2d::CCAnimate::reverse(cocos2d::CCAnimate *this)
{
cocos2d::CCArray *v2; // r4
cocos2d::CCArray *v3; // r0
unsigned int v4; // r1
cocos2d::CCArray *v5; // r6
cocos2d::CCAnimate *v6; // r0
cocos2d::CCAnimation *v7; // r1
_DWORD *v9; // r3
unsigned int v10; // r7
cocos2d::CCObject **v11; // r4
cocos2d::CCObject *v12; // r0
cocos2d::CCObject *v13; // t1
cocos2d::CCObject *v14; // r0
cocos2d::CCObject *v15; // r0
v2 = *(cocos2d::CCArray **)(*((_DWORD *)this + 20) + 64);
v3 = (cocos2d::CCArray *)cocos2d::CCArray::count(v2);
v5 = (cocos2d::CCArray *)cocos2d::CCArray::createWithCapacity(v3, v4);
if ( cocos2d::CCArray::count(v2) )
{
if ( v2 )
{
v9 = *((_DWORD **)v2 + 13);
if ( *v9 )
{
v10 = v9[3];
v11 = (cocos2d::CCObject **)(v10 + 4 * (*v9 + 0x3FFFFFFF));
while ( (unsigned int)v11 >= v10 )
{
v13 = *v11--;
v12 = v13;
if ( !v13 )
break;
v14 = (cocos2d::CCObject *)cocos2d::CCObject::copy(v12);
v15 = (cocos2d::CCObject *)cocos2d::CCObject::autorelease(v14);
cocos2d::CCArray::addObject(v5, v15);
}
}
}
}
v6 = (cocos2d::CCAnimate *)cocos2d::CCAnimation::create(
v5,
*(cocos2d::CCArray **)(*((_DWORD *)this + 20) + 56),
*(float *)(*((_DWORD *)this + 20) + 72),
*((_DWORD *)this + 20));
*((_BYTE *)v6 + 68) = *(_BYTE *)(*((_DWORD *)this + 20) + 68);
return cocos2d::CCAnimate::create(v6, v7);
}