//
// Slider::create from 0x10038a6b0 to 0x10038a7ac (252 bytes)
//
// 10 xrefs:
// > ColorSelectLiveOverlay::init @ 0x100119cd0
// > ColorSelectLiveOverlay::init @ 0x100119d84
// > ColorSelectLiveOverlay::init @ 0x100119e38
// > ColorSelectLiveOverlay::init @ 0x100119eec
// > GJScaleControl::init @ 0x100157da0
// > GJScaleControl::init @ 0x100157e18
// > GJScaleControl::init @ 0x100157eb4
// > Slider::create_2 @ 0x10038a688
// > Slider::create_1 @ 0x10038a6ac
// > EditorUI::init @ 0x10046e648
//
// 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 11:03:34 +0000
//
char *__fastcall Slider::create(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
__int64 a7,
float a8)
{
char *v16; // x19
v16 = (char *)operator new(0x1C8u);
cocos2d::CCLayer::CCLayer((__int64)v16);
*(_QWORD *)v16 = &off_10093DEC0;
*((_QWORD *)v16 + 40) = off_10093E350;
*((_QWORD *)v16 + 41) = &off_10093E3C0;
*((_QWORD *)v16 + 42) = off_10093E3D8;
*((_QWORD *)v16 + 43) = &off_10093E3F8;
*((_QWORD *)v16 + 44) = off_10093E420;
*((_QWORD *)v16 + 55) = 0;
*(_OWORD *)(v16 + 408) = 0u;
*(_OWORD *)(v16 + 424) = 0u;
v16[448] = 1;
if ( (unsigned int)Slider::init(v16, a1, a2, a3, a4, a5, a6, a7, a8) )
{
cocos2d::CCObject::autorelease((__int64)v16);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v16 + 16LL))(v16);
return nullptr;
}
return v16;
}