//
// SliderTouchLogic::create from 0x6b5800 to 0x6b5978 (376 bytes)
//
// 2 xrefs:
// > Slider::init @ 0x6b5a64
// > ??> @ 0x92f98
//
// 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 12:50:52 +0000
//
_QWORD *__fastcall SliderTouchLogic::create(int a1, int a2, int a3, cocos2d::CCSprite *a4, float a5)
{
_QWORD *v10; // x19
v10 = (_QWORD *)operator new(0x1E0u);
memset(v10, 0, 0x1E0u);
cocos2d::CCLayerRGBA::CCLayerRGBA((cocos2d::CCLayerRGBA *)v10);
v10[54] = 0;
*v10 = &off_141DD60;
v10[40] = off_141E270;
v10[41] = &off_141E2E0;
v10[42] = off_141E2F8;
v10[43] = off_141E318;
v10[44] = off_141E340;
v10[51] = &off_141E370;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)((char *)v10 + 468));
if ( (unsigned __int8)SliderTouchLogic::init((cocos2d::CCMenu *)v10, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
return v10;
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v10 + 16LL))(v10);
return nullptr;
}
}