//
// cocos2d::CCActionTween::initWithDuration from 0x18003d7c0 to 0x18003d83c (124 bytes)
//
// 3 xrefs:
// > cocos2d::CCActionTween::create @ 0x18003d767
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bb23c
//
// 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 11:21:37 +0000
//
char __fastcall cocos2d::CCActionTween::initWithDuration(void **this, float a2, char *a3, float a4, float a5)
{
size_t v7; // rax
if ( !cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)this, a2) )
return 0;
v7 = strlen(a3);
sub_1800101E0(this + 12, a3, v7);
*((float *)this + 34) = a5;
*((float *)this + 33) = a4;
*((_DWORD *)this + 32) = 0;
return 1;
}