//
// cocos2d::CCTransitionProgressHorizontal::create from 0xaf1364 to 0xaf13f8 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0xb72e8
//
// 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::CCTransitionProgressHorizontal *cocos2d::CCTransitionProgressHorizontal::create(
float a1,
cocos2d::CCScene *a2)
{
cocos2d::CCTransitionProgressHorizontal *v3; // x19
v3 = (cocos2d::CCTransitionProgressHorizontal *)operator new(0x170u);
memset(v3, 0, 0x170u);
cocos2d::CCTransitionProgress::CCTransitionProgress(v3);
v3->__vftable = (cocos2d::CCTransitionProgressHorizontal_vtbl *)&off_120D410;
if ( cocos2d::CCTransitionScene::initWithDuration(v3, a1, a2) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
else
{
v3->~CCTransitionProgressHorizontal_0(v3);
return nullptr;
}
}