//
// cocos2d::CCGridAction::create from 0x5b3368 to 0x5b33bc (84 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::CCGridAction *cocos2d::CCGridAction::create(float a1, const cocos2d::CCSize *a2)
{
int *v4; // r4
int v5; // r3
int *v6; // r0
v4 = (int *)operator new(0x58u);
memset(v4, 0, 0x58u);
cocos2d::CCActionInterval::CCActionInterval((cocos2d::CCActionInterval *)v4);
*v4 = (int)&off_A9F778;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v4 + 10);
if ( (*(int (__fastcall **)(int *, _DWORD, const cocos2d::CCSize *))(*v4 + 60))(v4, LODWORD(a1), a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
v5 = *v4;
v6 = v4;
v4 = nullptr;
(*(void (__fastcall **)(int *))(v5 + 8))(v6);
}
return (cocos2d::CCGridAction *)v4;
}