// // cocos2d::CCAnimate::reverse from 0x180035a00 to 0x180035afa (250 bytes) // // 3 xrefs: // > @ 0x1800e9f38 // > @ 0x1801438a8 // > @ 0x1801b07bc // // 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 // // Hidden C++ exception states: #wind=1 cocos2d::CCAnimate *__fastcall cocos2d::CCAnimate::reverse(cocos2d::CCAnimate *this) { cocos2d::CCArray *Myfirst; // rbx unsigned int v3; // eax cocos2d::CCArray *v4; // rsi cocos2d::ccArray *data; // rdi __int64 num; // rcx unsigned __int64 arr; // rdi cocos2d::CCObject **i; // rbx cocos2d::CCObject *v9; // rax struct cocos2d::CCObject *v10; // rax struct cocos2d::CCAnimation *v11; // rdi cocos2d::CCAnimate *v12; // rax cocos2d::CCAnimate *v13; // rbx Myfirst = (cocos2d::CCArray *)this->m_pSplitTimes[3]._Mypair._Myval2._Myfirst; v3 = cocos2d::CCArray::count(Myfirst); v4 = cocos2d::CCArray::createWithCapacity(v3); if ( (unsigned int)cocos2d::CCArray::count(Myfirst) ) { if ( Myfirst ) { data = Myfirst->data; num = data->num; if ( (_DWORD)num ) { arr = (unsigned __int64)data->arr; for ( i = (cocos2d::CCObject **)(arr + 8 * (num - 1)); (unsigned __int64)i >= arr; --i ) { if ( !*i ) break; v9 = cocos2d::CCObject::copy(*i); v10 = cocos2d::CCObject::autorelease(v9); cocos2d::CCArray::addObject(v4, v10); } } } } v11 = cocos2d::CCAnimation::create( v4, *((float *)&this->m_pSplitTimes[2]._Mypair._Myval2._Mylast + 1), HIDWORD(this->m_pSplitTimes[3]._Mypair._Myval2._Mylast)); v11->m_bRestoreOriginalFrame = (bool)this->m_pSplitTimes[3]._Mypair._Myval2._Mylast; v12 = (cocos2d::CCAnimate *)operator new(0x88u); if ( v12 ) v13 = cocos2d::CCAnimate::CCAnimate(v12); else v13 = nullptr; cocos2d::CCAnimate::initWithAnimation(v13, v11); cocos2d::CCObject::autorelease(v13); return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source