// // cocos2d::CCAnimate::reverse from 0xd36824 to 0xd368e4 (192 bytes) // // 2 xrefs: // > @ 0x871a8 // > @ 0x1514780 // // 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 13:07:23 +0000 // cocos2d::CCAnimate *__fastcall cocos2d::CCAnimate::reverse(cocos2d::CCAnimate *this) { cocos2d::CCArray *v2; // x19 cocos2d::CCArray *v3; // x0 unsigned int v4; // w1 cocos2d::CCArray *v5; // x21 unsigned int v6; // w2 unsigned int *v7; // x1 unsigned __int64 v8; // x22 __int64 v9; // x0 cocos2d::CCObject **v10; // x19 cocos2d::CCObject *v11; // x0 cocos2d::CCObject *v12; // x0 cocos2d::CCObject *v13; // x0 cocos2d::CCAnimate *v14; // x0 cocos2d::CCAnimation *v15; // x1 v2 = *(cocos2d::CCArray **)(*((_QWORD *)this + 12) + 72LL); v3 = (cocos2d::CCArray *)cocos2d::CCArray::count(v2); v5 = (cocos2d::CCArray *)cocos2d::CCArray::createWithCapacity(v3, v4); if ( (unsigned int)cocos2d::CCArray::count(v2) ) { if ( v2 ) { v7 = *((unsigned int **)v2 + 7); if ( *v7 ) { v8 = *((_QWORD *)v7 + 2); v9 = 8LL * *v7 - 8; v10 = (cocos2d::CCObject **)(v8 + v9); if ( v8 <= v8 + v9 ) { v11 = *(cocos2d::CCObject **)(v8 + v9); if ( v11 ) { do { v12 = (cocos2d::CCObject *)cocos2d::CCObject::copy(v11); --v10; v13 = (cocos2d::CCObject *)cocos2d::CCObject::autorelease(v12); cocos2d::CCArray::addObject(v5, v13); if ( v8 > (unsigned __int64)v10 ) break; v11 = *v10; } while ( *v10 ); } } } } } v14 = (cocos2d::CCAnimate *)cocos2d::CCAnimation::create( v5, (cocos2d::CCArray *)*(unsigned int *)(*((_QWORD *)this + 12) + 84LL), *(float *)(*((_QWORD *)this + 12) + 60LL), v6); v15 = (cocos2d::CCAnimation *)*(unsigned __int8 *)(*((_QWORD *)this + 12) + 80LL); *((_BYTE *)v14 + 80) = (_BYTE)v15; return cocos2d::CCAnimate::create(v14, v15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source