//
// cocos2d::CCWaves::create from 0xd2e678 to 0xd2e770 (248 bytes)
//
// 1 xrefs:
// > ??> @ 0x5a538
//
// 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:19 +0000
//
_DWORD *__fastcall cocos2d::CCWaves::create(
cocos2d::CCWaves *this,
float a2,
const cocos2d::CCSize *a3,
char a4,
float a5,
char a6)
{
int v9; // w22
_QWORD *v10; // x0
_DWORD *v11; // x19
char v12; // w0
v9 = (int)a3;
v10 = (_QWORD *)operator new(0x78u);
*v10 = 0;
v10[1] = 0;
v10[2] = 0;
v10[3] = 0;
v10[4] = 0;
v10[5] = 0;
v10[6] = 0;
v10[7] = 0;
v10[8] = 0;
v10[9] = 0;
v10[10] = 0;
v10[11] = 0;
v10[12] = 0;
v10[13] = 0;
v10[14] = 0;
v11 = v10;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v10);
v11[20] = 0;
*(_QWORD *)v11 = &off_1512180;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v11 + 23));
*(_QWORD *)v11 = &off_1512B90;
cocos2d::CCWaves::initWithDuration((cocos2d::CCWaves *)v11, a2, this, v9, a5, a4, a6);
if ( v12 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v11);
return v11;
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v11);
return nullptr;
}
}