//
// cocos2d::CCFadeOutBLTiles::create from 0x18003a3b0 to 0x18003a477 (199 bytes)
//
// 3 xrefs:
// > cocos2d::CCTransitionFadeBL::actionWithSize @ 0x180052c78
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0e10
//
// 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
//
struct cocos2d::CCFadeOutBLTiles *__fastcall cocos2d::CCFadeOutBLTiles::create(
float a1,
const struct cocos2d::CCSize *a2)
{
_QWORD *v3; // rbx
v3 = operator new(0x68u);
if ( v3 )
{
*(_OWORD *)v3 = 0;
*((_OWORD *)v3 + 1) = 0;
*((_OWORD *)v3 + 2) = 0;
*((_OWORD *)v3 + 3) = 0;
*((_OWORD *)v3 + 4) = 0;
*((_OWORD *)v3 + 5) = 0;
v3[12] = 0;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v3);
*((_DWORD *)v3 + 20) = 0;
*v3 = &cocos2d::CCGridAction::`vftable';
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v3 + 12);
*v3 = &cocos2d::CCFadeOutBLTiles::`vftable';
}
else
{
v3 = nullptr;
}
if ( !v3 )
return (struct cocos2d::CCFadeOutBLTiles *)v3;
if ( (*(unsigned __int8 (__fastcall **)(_QWORD *, _QWORD, const struct cocos2d::CCSize *))(*v3 + 112LL))(v3, *v3, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return (struct cocos2d::CCFadeOutBLTiles *)v3;
}
cocos2d::CCObject::release((cocos2d::CCObject *)v3);
return nullptr;
}