//
// SliderTouchLogic::create from 0x3dad94 to 0x3dae4c (184 bytes)
//
// 1 xrefs:
// > Slider::init @ 0x3daee0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:47 +0000
//
_DWORD *__fastcall SliderTouchLogic::create(int a1, int a2, int a3, int a4, int a5, float a6)
{
_DWORD *v8; // r4
v8 = (_DWORD *)operator new(0x174u);
memset(v8, 0, 0x174u);
cocos2d::CCLayerRGBA::CCLayerRGBA((cocos2d::CCLayerRGBA *)v8);
v8[84] = 0;
*v8 = &off_C88BC8;
v8[66] = &off_C88E50;
v8[67] = &off_C88E88;
v8[68] = &off_C88E94;
v8[69] = &off_C88EA4;
v8[70] = &off_C88EB8;
v8[79] = &off_C88ED0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v8 + 90));
if ( SliderTouchLogic::init((cocos2d::CCMenu *)v8, a1, a2, a3, a4, a5, a6) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
return v8;
}
else
{
(*(void (__fastcall **)(_DWORD *))(*v8 + 8))(v8);
return nullptr;
}
}