//
// cocos2d::CCShuffleTiles::create from 0x1007b59b0 to 0x1007b5a68 (184 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::CCShuffleTiles *__fastcall cocos2d::CCShuffleTiles::create(
float a1,
const cocos2d::CCSize *a2,
unsigned int a3)
{
_OWORD *v3; // rbx
v3 = operator new(0x80u);
*v3 = 0;
v3[1] = 0;
v3[2] = 0;
v3[3] = 0;
v3[4] = 0;
v3[5] = 0;
v3[6] = 0;
v3[7] = 0;
cocos2d::CCAction::CCAction((__int64)v3);
*((_DWORD *)v3 + 20) = 0;
*(_QWORD *)v3 = off_1008DC310;
sub_10028CF90((_OWORD *)((char *)v3 + 92));
*(_QWORD *)v3 = off_1009934D0;
if ( cocos2d::CCGridAction::initWithDuration((cocos2d::CCGridAction *)v3, a1, a2) )
{
*((_DWORD *)v3 + 25) = a3;
v3[7] = 0;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v3);
return nullptr;
}
return (cocos2d::CCShuffleTiles *)v3;
}