//
// cocos2d::CCShaky3D::create from 0x10027ea90 to 0x10027eb4b (187 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::CCShaky3D *__fastcall cocos2d::CCShaky3D::create(float a1, const cocos2d::CCSize *a2, int a3, bool a4)
{
_OWORD *v5; // rbx
v5 = operator new(0x70u);
*v5 = 0;
v5[1] = 0;
v5[2] = 0;
v5[3] = 0;
v5[4] = 0;
v5[5] = 0;
v5[6] = 0;
cocos2d::CCAction::CCAction(v5);
*((_DWORD *)v5 + 20) = 0;
*(_QWORD *)v5 = off_1008DC310;
sub_10028CF90((char *)v5 + 92);
*(_QWORD *)v5 = off_1008F0D98;
if ( cocos2d::CCGridAction::initWithDuration((cocos2d::CCGridAction *)v5, a1, a2) )
{
*((_DWORD *)v5 + 25) = a3;
*((_BYTE *)v5 + 104) = a4;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v5);
return nullptr;
}
return (cocos2d::CCShaky3D *)v5;
}