// // cocos2d::CCRepeat::initWithAction from 0xac19e0 to 0xac1a90 (176 bytes) // // 4 xrefs: // > cocos2d::CCRepeat::create @ 0xac1afc // > cocos2d::CCRepeat::copyWithZone @ 0xac1b88 // > cocos2d::CCRepeat::copyWithZone @ 0xac1c20 // > @ 0x927c0 // // 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) { bool v5; // w21 bool v6; // w22 v5 = cocos2d::CCActionInterval::initWithDuration(a1, (float)a3 * a2->m_fDuration); v6 = v5; if ( !v5 ) return 0; *((_DWORD *)&a1->m_bFirstTick + 1) = a3; *(_QWORD *)&a1[1].cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = a2; cocos2d::CCObject::retain(a2); if ( _dynamic_cast( a2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCFiniteTimeAction, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCActionInstant, 0) ) { --*((_DWORD *)&a1->m_bFirstTick + 1); } else { v5 = 0; } LOBYTE(a1[1].m_uID) = v5; LODWORD(a1[1].__vftable) = 0; return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source