// // cocos2d::CCAnimation::copyWithZone from 0x1001a4498 to 0x1001a4540 (168 bytes) // // 1 xrefs: // > @ 0x1007ad5e8 // // 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::CCObject *__fastcall cocos2d::CCAnimation::copyWithZone(cocos2d::CCAnimation *a1, cocos2d::CCZone *a2) { cocos2d::CCAnimation *v3; // x19 void *v4; // x21 if ( a2 && (v3 = *(cocos2d::CCAnimation **)a2) != nullptr ) { v4 = nullptr; } else { v3 = (cocos2d::CCAnimation *)operator new(0x58u); cocos2d::CCObject::CCObject((__int64)v3); v3->__vftable = (cocos2d::CCAnimation_vtbl *)off_1007AD5E8; *(_QWORD *)&v3->m_fTotalDelayUnits = 0; v3->m_fDuration = 0.0; v3->m_pFrames = nullptr; v3->m_bRestoreOriginalFrame = 0; v3->m_uLoops = 0; v4 = operator new(8u); cocos2d::CCZone::CCZone(v4, v3); } cocos2d::CCAnimation::initWithAnimationFrames(v3, a1->m_pFrames, a1->m_fDelayPerUnit, a1->m_uLoops); v3->m_bRestoreOriginalFrame = a1->m_bRestoreOriginalFrame; if ( v4 ) operator delete(v4); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source