//
// cocos2d::CCTransitionProgressHorizontal::create from 0xd630c4 to 0xd63158 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0xef2f0
//
// This function is hookable on this platform (idp: arm, 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 13:07:52 +0000
//
void *__fastcall cocos2d::CCTransitionProgressHorizontal::create(
cocos2d::CCTransitionProgressHorizontal *this,
float a2,
cocos2d::CCScene *a3)
{
void *v4; // x19
v4 = (void *)operator new(0x170u);
memset(v4, 0, 0x170u);
cocos2d::CCTransitionProgress::CCTransitionProgress((cocos2d::CCTransitionProgress *)v4);
*(_QWORD *)v4 = &off_1523060;
if ( (unsigned __int8)cocos2d::CCTransitionScene::initWithDuration((cocos2d::CCTransitionScene *)v4, a2, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return v4;
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
}