//
// Slider::create from 0x6b5bc4 to 0x6b5d08 (324 bytes)
//
// 10 xrefs:
// > Slider::create @ 0x6b5d28
// > EditorUI::init @ 0x7cede4
// > ColorSelectLiveOverlay::init @ 0xa65e4c
// > ColorSelectLiveOverlay::init @ 0xa65f18
// > ColorSelectLiveOverlay::init @ 0xa65fe8
// > ColorSelectLiveOverlay::init @ 0xa660b8
// > GJScaleControl::init @ 0xbd4308
// > GJScaleControl::init @ 0xbd4390
// > GJScaleControl::init @ 0xbd4450
// > ??> @ 0xb2c78
//
// 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
//
__int64 __fastcall Slider::create(
int a1,
int a2,
int a3,
cocos2d::CCSprite *a4,
cocos2d::CCSprite *a5,
cocos2d::CCSprite *a6,
float a7)
{
__int64 v14; // x19
v14 = operator new(0x1C8u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v14);
*(_QWORD *)(v14 + 408) = 0;
*(_QWORD *)(v14 + 320) = off_141E880;
*(_QWORD *)(v14 + 328) = &off_141E8F0;
*(_QWORD *)(v14 + 352) = off_141E950;
*(_QWORD *)v14 = &off_141E3F0;
*(_QWORD *)(v14 + 336) = off_141E908;
*(_QWORD *)(v14 + 344) = off_141E928;
*(_QWORD *)(v14 + 416) = 0;
*(_QWORD *)(v14 + 424) = 0;
*(_QWORD *)(v14 + 440) = 0;
*(_BYTE *)(v14 + 448) = 1;
*(_DWORD *)(v14 + 432) = 0;
*(_DWORD *)(v14 + 436) = 0;
if ( (unsigned __int8)Slider::init(v14, a1, a2, a3, a4, a5, a6, a7) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v14);
return v14;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v14 + 16LL))(v14);
return 0;
}
}