//
// cocos2d::CCRepeat::initWithAction from 0x7be398 to 0x7be3f8 (96 bytes)
//
// 2 xrefs:
// > cocos2d::CCRepeat::create @ 0x7be42c
// > cocos2d::CCRepeat::copyWithZone @ 0x7be4b0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:18 +0000
//
int __fastcall cocos2d::CCRepeat::initWithAction(
cocos2d::CCRepeat *this,
cocos2d::CCFiniteTimeAction *a2,
unsigned int a3)
{
int v5; // r6
_BOOL4 v6; // r0
v5 = cocos2d::CCActionInterval::initWithDuration(this, (float)a3 * *((float *)a2 + 17));
if ( v5 )
{
*((_DWORD *)this + 20) = a3;
*((_DWORD *)this + 24) = a2;
cocos2d::CCObject::retain(a2);
v6 = _dynamic_cast(
a2,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCFiniteTimeAction,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCActionInstant,
0) != nullptr;
*((_BYTE *)this + 92) = v6;
if ( v6 )
--*((_DWORD *)this + 20);
*((_DWORD *)this + 21) = 0;
}
return v5;
}