//
// cocos2d::CCTransitionProgress::create from 0x100278a50 to 0x100278ac1 (113 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:27:40 +0000
//
_OWORD *__fastcall cocos2d::CCTransitionProgress::create(__int64 a1, float a2)
{
_OWORD *v2; // rbx
v2 = operator new(0x170u);
cocos2d::CCTransitionScene::CCTransitionScene(v2);
*(_QWORD *)v2 = off_100AFAC70;
v2[22] = 0;
if ( (unsigned __int8)cocos2d::CCTransitionScene::initWithDuration((__int64)v2, a1, a2) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
(*(void (__fastcall **)(_OWORD *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}