//
// cocos2d::CCRepeat::initWithAction from 0x10039f760 to 0x10039f7e3 (131 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:29:19 +0000
//
char __fastcall cocos2d::CCRepeat::initWithAction(__int64 a1, float *a2, int a3, __m128 a4)
{
__m128 v4; // xmm1
void *v5; // rax
a4.f32[0] = (float)a3 * a2[20];
v4 = _mm_cmpeq_ss((__m128)0LL, a4);
*(_QWORD *)(a1 + 80) = v4.i32[0] & 0x34000000 | _mm_andnot_ps(v4, a4).u32[0];
*(_BYTE *)(a1 + 88) = 1;
*(_DWORD *)(a1 + 92) = a3;
*(_QWORD *)(a1 + 112) = a2;
cocos2d::CCObject::retain(a2);
v5 = __dynamic_cast(
a2,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCFiniteTimeAction,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCActionInstant,
0);
*(_BYTE *)(a1 + 104) = v5 != nullptr;
if ( v5 )
--*(_DWORD *)(a1 + 92);
*(_DWORD *)(a1 + 96) = 0;
return 1;
}