//
// cocos2d::CCActionTween::create_1 from 0x1003a8d8c to 0x1003a8e58 (204 bytes)
//
// 13 xrefs:
// > CCLightFlash::fadeAndRemove @ 0x1000313a0
// > CCLightStrip::init @ 0x1000315cc
// > CCLightStrip::init @ 0x1000315f0
// > CCCircleWave::init @ 0x10016c100
// > CCCircleWave::init @ 0x10016c130
// > CCCircleWave::init @ 0x10016c148
// > CCCircleWave::init @ 0x10016c190
// > CCCircleWave::init @ 0x10016c1c0
// > CCCircleWave::init @ 0x10016c1e4
// > cocos2d::CCActionTween::create @ 0x1003a8d78
// > cocos2d::CCActionTween::reverse @ 0x1003a8efc
// > AudioEffectsLayer::triggerEffect @ 0x1003c4898
// > AudioEffectsLayer::triggerEffect @ 0x1003c48b4
//
// 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
//
cocos2d::CCActionTween *__fastcall cocos2d::CCActionTween::create_1(float a1, const char *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_10080CF30;
*((_QWORD *)v8 + 12) = 0;
*((_QWORD *)v8 + 13) = 0;
*((_QWORD *)v8 + 14) = 0;
if ( cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)v8, a1) )
{
std::string::assign((std::string *)v8 + 4, a2);
*((float *)v8 + 31) = a3;
*((float *)v8 + 32) = a4;
*((_DWORD *)v8 + 30) = 0;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v8 + 16LL))(v8);
return nullptr;
}
return (cocos2d::CCActionTween *)v8;
}