//
// cocos2d::CCActionTween::initWithDuration from 0xd3bc1c to 0xd3bc88 (108 bytes)
//
// 2 xrefs:
// > cocos2d::CCActionTween::create @ 0xd3bd14
// > ??> @ 0xcc478
//
// This function is hookable on this platform (idp: arm, 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 13:07:26 +0000
//
__int64 __fastcall cocos2d::CCActionTween::initWithDuration(
cocos2d::CCActionTween *this,
float a2,
const char *a3,
float a4,
float a5)
{
unsigned __int8 v8; // w0
unsigned int v9; // w19
size_t v10; // x0
v8 = cocos2d::CCActionInterval::initWithDuration(this, a2);
v9 = v8;
if ( v8 )
{
v10 = strlen(a3);
std::string::assign((__int64 *)this + 12, a3, v10);
*((_DWORD *)this + 30) = 0;
*((float *)this + 32) = a5;
*((float *)this + 31) = a4;
}
return v9;
}