// // cocos2d::CCAnimate::reverse from 0x10018d960 to 0x10018da10 (176 bytes) // // 1 xrefs: // > @ 0x1007a55e0 // // 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 // cocos2d::CCActionInterval *__fastcall cocos2d::CCAnimate::reverse(cocos2d::CCAnimate *a1) { std::__vector_base::pointer begin; // x21 __int64 v3; // x0 cocos2d::CCArray *v4; // x20 int v5; // w0 bool v6; // zf unsigned int *v7; // x8 __int64 v8; // x9 unsigned __int64 v9; // x21 __int64 (__fastcall ****v10)(_QWORD, _QWORD); // x22 cocos2d::CCObject *v11; // x0 cocos2d::CCObject *v12; // x0 cocos2d::CCAnimation *v13; // x0 begin = a1->m_pSplitTimes[3].__begin_; v3 = sub_10024A36C(begin); v4 = (cocos2d::CCArray *)sub_10024A300(v3); v5 = sub_10024A36C(begin); if ( begin ) v6 = v5 == 0; else v6 = 1; if ( !v6 ) { v7 = *((unsigned int **)begin + 7); v8 = *v7; if ( (_DWORD)v8 ) { v9 = *((_QWORD *)v7 + 2); v10 = (__int64 (__fastcall ****)(_QWORD, _QWORD))(v9 + 8 * v8 - 8); do { if ( !*v10 ) break; v11 = (cocos2d::CCObject *)sub_10008496C(*v10); v12 = cocos2d::CCObject::autorelease(v11); sub_10024A2D0(v4, v12); --v10; } while ( (unsigned __int64)v10 >= v9 ); } } v13 = cocos2d::CCAnimation::create( v4, *((float *)&a1->m_pSplitTimes[2].__end_ + 1), HIDWORD(a1->m_pSplitTimes[3].__end_)); v13->m_bRestoreOriginalFrame = (bool)a1->m_pSplitTimes[3].__end_; return cocos2d::CCAnimate::create(v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source