//
// cocos2d::CCWaves::create from 0xabc970 to 0xabca68 (248 bytes)
//
// 1 xrefs:
// > ??> @ 0x3e9b8
//
// 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::CCWaves *cocos2d::CCWaves::create(
float a1,
const cocos2d::CCSize *a2,
unsigned int a3,
float a4,
bool a5,
bool a6)
{
__int64 v10; // x0
__int64 v11; // x19
v10 = operator new(0x78u);
*(_QWORD *)v10 = 0;
*(_QWORD *)(v10 + 8) = 0;
*(_QWORD *)(v10 + 16) = 0;
*(_QWORD *)(v10 + 24) = 0;
*(_QWORD *)(v10 + 32) = 0;
*(_QWORD *)(v10 + 40) = 0;
*(_QWORD *)(v10 + 48) = 0;
*(_QWORD *)(v10 + 56) = 0;
*(_QWORD *)(v10 + 64) = 0;
*(_QWORD *)(v10 + 72) = 0;
*(_QWORD *)(v10 + 80) = 0;
*(_QWORD *)(v10 + 88) = 0;
*(_QWORD *)(v10 + 96) = 0;
*(_QWORD *)(v10 + 104) = 0;
*(_QWORD *)(v10 + 112) = 0;
v11 = v10;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v10);
*(_DWORD *)(v11 + 80) = 0;
*(_QWORD *)v11 = &off_11FC870;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v11 + 92));
*(_QWORD *)v11 = &off_11FD280;
if ( cocos2d::CCWaves::initWithDuration((cocos2d::CCWaves *)v11, a1, a2, a3, a4, a5, a6) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v11);
return (cocos2d::CCWaves *)v11;
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v11);
return nullptr;
}
}