//
// cocos2d::CCRepeat::startWithTarget from 0x1800362b0 to 0x180036302 (82 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800e9440
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b08ac
//
// 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
//
void __fastcall cocos2d::CCRepeat::startWithTarget(cocos2d::CCRepeat *this, struct cocos2d::CCNode *a2)
{
__int64 v2; // rax
__int64 v5; // rcx
v2 = *((_QWORD *)this + 14);
*((_DWORD *)this + 25) = 0;
*((float *)this + 26) = *(float *)(v2 + 80) / this->m_fDuration;
cocos2d::CCAction::startWithTarget(this, a2);
v5 = *((_QWORD *)this + 14);
this->m_elapsed = 0.0;
this->m_bFirstTick = 1;
(*(void (__fastcall **)(__int64, struct cocos2d::CCNode *))(*(_QWORD *)v5 + 80LL))(v5, a2);
}