//
// cocos2d::CCReuseGrid::create from 0x18002afc0 to 0x18002b031 (113 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801afac0
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCReuseGrid *__fastcall cocos2d::CCReuseGrid::create(int a1)
{
cocos2d::CCActionInstant *v2; // rax
cocos2d::CCObject *v3; // rbx
v2 = (cocos2d::CCActionInstant *)operator new(0x60u);
v3 = v2;
if ( v2 )
{
*(_OWORD *)&v2->__vftable = 0;
*(_OWORD *)&v2->cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = 0;
*(_OWORD *)&v2->m_uIndexInArray = 0;
*(_OWORD *)&v2->m_uOrderOfArrival = 0;
*(_OWORD *)&v2->m_pTarget = 0;
*(_OWORD *)&v2->m_fDuration = 0;
cocos2d::CCActionInstant::CCActionInstant(v2);
v3->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCReuseGrid::`vftable';
}
else
{
v3 = nullptr;
}
if ( v3 )
{
v3[1].m_uIndexInArray = a1;
cocos2d::CCObject::autorelease(v3);
}
return (struct cocos2d::CCReuseGrid *)v3;
}