// // cocos2d::CCAccelAmplitude::reverse from 0x10020a9f0 to 0x10020aaa2 (178 bytes) // // 1 xrefs: // > @ 0x1008dc270 // // 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::CCAccelAmplitude::reverse(cocos2d::CCAccelAmplitude *a1) { cocos2d::CCObject *v1; // r14 cocos2d::CCActionInterval *v2; // rbx float m_fDuration; // [rsp+Ch] [rbp-14h] v1 = (cocos2d::CCObject *)(*((__int64 (__fastcall **)(cocos2d::CCAccelAmplitude_vtbl *))a1[1].copyWithZone + 14))(a1[1].__vftable); m_fDuration = a1->m_fDuration; v2 = (cocos2d::CCActionInterval *)operator new(0x68u); *(_OWORD *)&v2->__vftable = 0; *(_OWORD *)&v2->cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = 0; *(_OWORD *)&v2->m_uIndexInArray = 0; *(_OWORD *)&v2->m_uOrderOfArrival = 0; *(_OWORD *)&v2->m_pTarget = 0; *(_OWORD *)&v2->m_fDuration = 0; v2[1].__vftable = nullptr; cocos2d::CCAction::CCAction(v2); v2->m_fDuration = 0.0; v2->__vftable = (cocos2d::CCActionInterval_vtbl *)off_1008DC200; if ( cocos2d::CCActionInterval::initWithDuration(v2, m_fDuration) ) { *((_DWORD *)&v2->m_bFirstTick + 1) = 1065353216; v2[1].__vftable = (cocos2d::CCActionInterval_vtbl *)v1; cocos2d::CCObject::retain(v1); cocos2d::CCObject::autorelease(v2); } else { ((void (__fastcall *)(cocos2d::CCActionInterval *))v2->~CCActionInterval_0)(v2); return nullptr; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source