//
// Slider::create from 0x1002ef630 to 0x1002ef738 (264 bytes)
//
// 8 xrefs:
// > EditorUI::init @ 0x100005463
// > ColorSelectLiveOverlay::init @ 0x100595cef
// > ColorSelectLiveOverlay::init @ 0x100595dd1
// > ColorSelectLiveOverlay::init @ 0x100595eac
// > ColorSelectLiveOverlay::init @ 0x100595f87
// > GJScaleControl::init @ 0x100641a6e
// > GJScaleControl::init @ 0x100641afc
// > GJScaleControl::init @ 0x100641bbc
//
// This function is hookable on this platform (idp: pc, 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:28:25 +0000
//
char *__fastcall Slider::create(int a1, int a2, int a3, int a4, int a5, __int64 a6, float a7, __int64 a8)
{
char *v10; // rbx
v10 = (char *)operator new(0x1C8u);
cocos2d::CCLayer::CCLayer(v10);
*(_QWORD *)v10 = off_100B13600;
*((_QWORD *)v10 + 40) = off_100B13A90;
*((_QWORD *)v10 + 41) = &off_100B13B00;
*((_QWORD *)v10 + 42) = off_100B13B18;
*((_QWORD *)v10 + 43) = off_100B13B38;
*((_QWORD *)v10 + 44) = off_100B13B60;
*(_OWORD *)(v10 + 408) = 0;
*(_OWORD *)(v10 + 424) = 0;
*((_QWORD *)v10 + 55) = 0;
v10[448] = 1;
if ( (unsigned __int8)Slider::init((_DWORD)v10, a1, a2, a3, a4, a5, a6, a8) )
{
cocos2d::CCObject::autorelease(v10);
}
else
{
(*(void (__fastcall **)(char *, float))(*(_QWORD *)v10 + 16LL))(v10, a7);
return nullptr;
}
return v10;
}