//
// cocos2d::CCActionTween::initWithDuration from 0x1007a5590 to 0x1007a55ed (93 bytes)
//
// 0 xrefs:
//
// 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 __fastcall cocos2d::CCActionTween::initWithDuration(
cocos2d::CCActionTween *a1,
float a2,
const char *a3,
float a4,
float a5)
{
bool result; // al
bool v6; // r14
result = cocos2d::CCActionInterval::initWithDuration(a1, a2);
if ( result )
{
v6 = result;
std::string::assign((std::string *)&a1->m_strKey, a3);
a1->m_fTo = a5;
a1->m_fFrom = a4;
a1->m_nIntTag = 0;
return v6;
}
return result;
}