//
// cocos2d::CCLiquid::create from 0x10027ee60 to 0x10027ef23 (195 bytes)
//
// 0 xrefs:
//
// 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::CCLiquid *__fastcall cocos2d::CCLiquid::create(float a1, const cocos2d::CCSize *a2, unsigned int a3, float a4)
{
_OWORD *v4; // rbx
v4 = operator new(0x70u);
*v4 = 0;
v4[1] = 0;
v4[2] = 0;
v4[3] = 0;
v4[4] = 0;
v4[5] = 0;
v4[6] = 0;
cocos2d::CCAction::CCAction(v4);
*((_DWORD *)v4 + 20) = 0;
*(_QWORD *)v4 = off_1008DC310;
sub_10028CF90((char *)v4 + 92);
*(_QWORD *)v4 = off_1008F0E48;
if ( cocos2d::CCGridAction::initWithDuration((cocos2d::CCGridAction *)v4, a1, a2) )
{
*((_DWORD *)v4 + 25) = a3;
*((float *)v4 + 26) = a4;
*((_DWORD *)v4 + 27) = 1065353216;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v4);
return nullptr;
}
return (cocos2d::CCLiquid *)v4;
}