// // cocos2d::CCRepeat::initWithAction from 0x5b7b70 to 0x5b7bd0 (96 bytes) // // 2 xrefs: // > cocos2d::CCRepeat::create @ 0x5b7c04 // > cocos2d::CCRepeat::copyWithZone @ 0x5b7c88 // // 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 // bool cocos2d::CCRepeat::initWithAction(cocos2d::CCRepeat *a1, cocos2d::CCFiniteTimeAction *a2, unsigned int a3) { _BOOL4 v5; // r0 bool v6; // r6 _BOOL4 v7; // r0 v5 = cocos2d::CCActionInterval::initWithDuration(a1, (float)a3 * a2->m_fDuration); v6 = v5; if ( v5 ) { a1[1].__vftable = (cocos2d::CCRepeat_vtbl *)a3; a1[1].m_uReference = (unsigned int)a2; cocos2d::CCObject::retain(a2); v7 = _dynamic_cast( a2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCFiniteTimeAction, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCActionInstant, 0) != nullptr; LOBYTE(a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag) = v7; if ( v7 ) --a1[1].__vftable; a1[1].m_uID = 0; } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source