//
// cocos2d::CCActionTween::initWithDuration from 0x18003d0b0 to 0x18003d13a (138 bytes)
//
// 3 xrefs:
// > cocos2d::CCActionTween::create @ 0x18003d057
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b111c
//
// 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
//
char __fastcall cocos2d::CCActionTween::initWithDuration(
cocos2d::CCActionTween *this,
float a2,
char *a3,
float a4,
float a5)
{
size_t v7; // r8
if ( !cocos2d::CCActionInterval::initWithDuration(this, a2) )
return 0;
v7 = -1;
do
++v7;
while ( a3[v7] );
sub_180010050((void **)&this->m_strKey, a3, v7);
this->m_fTo = a5;
this->m_fFrom = a4;
this->m_nIntTag = 0;
return 1;
}