//
// cocos2d::CCActionTween::create_1 from 0x10044fd4c to 0x10044fe18 (204 bytes)
//
// 13 xrefs:
// > sub_100034D98 @ 0x100034e44
// > sub_100034FE8 @ 0x100035070
// > sub_100034FE8 @ 0x100035094
// > CCCircleWave::init @ 0x1001fa5f4
// > CCCircleWave::init @ 0x1001fa624
// > CCCircleWave::init @ 0x1001fa63c
// > CCCircleWave::init @ 0x1001fa684
// > CCCircleWave::init @ 0x1001fa6b4
// > CCCircleWave::init @ 0x1001fa6d8
// > cocos2d::CCActionTween::create @ 0x10044fd38
// > cocos2d::CCActionTween::reverse @ 0x10044febc
// > sub_10046DFCC @ 0x10046e09c
// > sub_10046DFCC @ 0x10046e0b8
//
// 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 11:05:20 +0000
//
void *__fastcall cocos2d::CCActionTween::create_1(const std::string::value_type *a1, float a2, float a3, float a4)
{
void *v8; // x19
v8 = operator new(0x88u);
*(_OWORD *)v8 = 0u;
*((_OWORD *)v8 + 1) = 0u;
*((_OWORD *)v8 + 2) = 0u;
*((_OWORD *)v8 + 3) = 0u;
*((_OWORD *)v8 + 4) = 0u;
*((_OWORD *)v8 + 5) = 0u;
*((_OWORD *)v8 + 6) = 0u;
*((_OWORD *)v8 + 7) = 0u;
*((_QWORD *)v8 + 16) = 0;
cocos2d::CCAction::CCAction((__int64)v8);
*((_DWORD *)v8 + 20) = 0;
*(_QWORD *)v8 = off_100965DE0;
*((_QWORD *)v8 + 12) = 0;
*((_QWORD *)v8 + 13) = 0;
*((_QWORD *)v8 + 14) = 0;
if ( (unsigned int)cocos2d::CCActionInterval::initWithDuration((__int64)v8, a2) )
{
std::string::assign((std::string *)v8 + 4, a1);
*((float *)v8 + 31) = a3;
*((float *)v8 + 32) = a4;
*((_DWORD *)v8 + 30) = 0;
cocos2d::CCObject::autorelease((__int64)v8);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v8 + 16LL))(v8);
return nullptr;
}
return v8;
}