//
// cocos2d::CCFadeOutDownTiles::create from 0x1007b6b00 to 0x1007b6ba9 (169 bytes)
//
// 1 xrefs:
// > cocos2d::CCTransitionFadeDown::actionWithSize @ 0x1000da350
//
// 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::CCFadeOutDownTiles *__fastcall cocos2d::CCFadeOutDownTiles::create(float a1, const cocos2d::CCSize *a2)
{
_OWORD *v2; // rbx
v2 = operator new(0x68u);
*v2 = 0;
v2[1] = 0;
v2[2] = 0;
v2[3] = 0;
v2[4] = 0;
v2[5] = 0;
*((_QWORD *)v2 + 12) = 0;
cocos2d::CCAction::CCAction((__int64)v2);
*((_DWORD *)v2 + 20) = 0;
*(_QWORD *)v2 = off_1008DC310;
sub_10028CF90((_OWORD *)((char *)v2 + 92));
*(_QWORD *)v2 = off_1009939D8;
if ( cocos2d::CCGridAction::initWithDuration((cocos2d::CCGridAction *)v2, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v2);
return nullptr;
}
return (cocos2d::CCFadeOutDownTiles *)v2;
}