//
// cocos2d::extension::CCControlStepper::create from 0x18000b7b0 to 0x18000b832 (130 bytes)
//
// 2 xrefs:
// > ??> @ 0x18002fdf8
// > ??> @ 0x180049ca8
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::extension::CCControlStepper *__fastcall cocos2d::extension::CCControlStepper::create(
struct cocos2d::CCSprite *a1,
struct cocos2d::CCSprite *a2)
{
cocos2d::extension::CCControlStepper *v4; // rax
cocos2d::CCObject *v5; // rbx
cocos2d::extension::CCControlStepper *v7; // [rsp+40h] [rbp+18h]
v7 = (cocos2d::extension::CCControlStepper *)operator new(0x230u);
v4 = cocos2d::extension::CCControlStepper::CCControlStepper(v7);
v5 = v4;
if ( v4 )
{
if ( cocos2d::extension::CCControlStepper::initWithMinusSpriteAndPlusSprite(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v5);
return v5;
}
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v5 + 8LL))(v5, 1);
return nullptr;
}
return v5;
}