//
// cocos2d::extension::CCControlStepper::create from 0x1003a4090 to 0x1003a4179 (233 bytes)
//
// 0 xrefs:
//
// 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::extension::CCControlStepper *__fastcall cocos2d::extension::CCControlStepper::create(
cocos2d::CCSprite *a1,
cocos2d::CCSprite *a2)
{
char *v2; // rbx
v2 = (char *)operator new(0x230u);
cocos2d::extension::CCControl::CCControl((__int64)v2);
*(_QWORD *)v2 = off_100926AA8;
*((_QWORD *)v2 + 40) = off_100927038;
*((_QWORD *)v2 + 41) = &off_1009270A8;
*((_QWORD *)v2 + 42) = off_1009270C0;
*((_QWORD *)v2 + 43) = off_1009270E0;
*((_QWORD *)v2 + 44) = off_100927100;
*((_QWORD *)v2 + 51) = off_100927128;
*(_OWORD *)(v2 + 472) = 0;
*(_OWORD *)(v2 + 488) = 0;
*(_OWORD *)(v2 + 499) = 0;
*(_OWORD *)(v2 + 520) = 0;
*(_OWORD *)(v2 + 529) = 0;
*(_QWORD *)(v2 + 548) = 2;
if ( cocos2d::extension::CCControlStepper::initWithMinusSpriteAndPlusSprite(
(cocos2d::extension::CCControlStepper *)v2,
a1,
a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return (cocos2d::extension::CCControlStepper *)v2;
}