//
// cocos2d::CCReuseGrid::create from 0xd2c110 to 0xd2c1ac (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x1026e8
//
// 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:17 +0000
//
cocos2d::CCObject *__fastcall cocos2d::CCReuseGrid::create(cocos2d::CCReuseGrid *this)
{
cocos2d::CCObject *v1; // x0
cocos2d::CCObject *v2; // x19
int v4; // [xsp+28h] [xbp+28h]
v4 = (int)this;
v1 = (cocos2d::CCObject *)operator new(0x58u);
*(_QWORD *)v1 = 0;
*((_QWORD *)v1 + 1) = 0;
*((_QWORD *)v1 + 2) = 0;
*((_QWORD *)v1 + 3) = 0;
*((_QWORD *)v1 + 4) = 0;
*((_QWORD *)v1 + 5) = 0;
*((_QWORD *)v1 + 6) = 0;
*((_QWORD *)v1 + 7) = 0;
*((_QWORD *)v1 + 8) = 0;
*((_QWORD *)v1 + 9) = 0;
*((_QWORD *)v1 + 10) = 0;
v2 = v1;
cocos2d::CCActionInstant::CCActionInstant(v1);
*(_QWORD *)v2 = &off_15125A0;
if ( (unsigned __int8)cocos2d::CCReuseGrid::initWithTimes(v2, v4) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}