//
// cocos2d::CCRipple3D::create from 0xd2dfd8 to 0xd2e0d0 (248 bytes)
//
// 1 xrefs:
// > ??> @ 0x90b98
//
// 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:18 +0000
//
_DWORD *__fastcall cocos2d::CCRipple3D::create(
cocos2d::CCRipple3D *this,
float a2,
const cocos2d::CCSize *a3,
const cocos2d::CCPoint *a4,
float a5,
float a6)
{
_QWORD *v8; // x0
_DWORD *v9; // x19
int v13; // [xsp+58h] [xbp+58h]
v13 = (int)a4;
v8 = (_QWORD *)operator new(0x80u);
*v8 = 0;
v8[1] = 0;
v8[2] = 0;
v8[3] = 0;
v8[4] = 0;
v8[5] = 0;
v8[6] = 0;
v8[7] = 0;
v8[8] = 0;
v8[9] = 0;
v8[10] = 0;
v8[11] = 0;
v8[12] = 0;
v8[13] = 0;
v8[14] = 0;
v8[15] = 0;
v9 = v8;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v8);
v9[20] = 0;
*(_QWORD *)v9 = &off_1512180;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v9 + 23));
*(_QWORD *)v9 = &off_15129B0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v9 + 25));
if ( (unsigned __int8)cocos2d::CCRipple3D::initWithDuration((cocos2d::CCRipple3D *)v9, a2, this, a3, a5, v13, a6) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9);
return v9;
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v9);
return nullptr;
}
}