//
// Slider::create_1 from 0x1002ef510 to 0x1002ef619 (265 bytes)
//
// 27 xrefs:
// > SetupOpacityPopup::init @ 0x10001cf6e
// > CustomizeObjectLayer::init @ 0x1001d8bf2
// > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x10021f3ef
// > EditorPauseLayer::customSetup @ 0x10027def3
// > EditorPauseLayer::customSetup @ 0x10027e015
// > EditorPauseLayer::customSetup @ 0x10027e137
// > SetupPulsePopup::init @ 0x100393f31
// > SetupPulsePopup::init @ 0x10039433a
// > SetupPulsePopup::init @ 0x100394731
// > PauseLayer::customSetup @ 0x1003c02dd
// > PauseLayer::customSetup @ 0x1003c037d
// > CreateParticlePopup::createParticleSlider @ 0x1004685ca
// > sub_1004B59F0 @ 0x1004b5f59
// > sub_1004B59F0 @ 0x1004b678b
// > sub_100509EF0 @ 0x10050a461
// > sub_100509EF0 @ 0x10050acb9
// > SetupRandTriggerPopup::init @ 0x1006b9534
// > sub_1006E8FF0 @ 0x1006e900e
// > ConfigureValuePopup::init @ 0x100701a35
// > SetupCameraOffsetTrigger::init @ 0x100741054
// > SetupCameraOffsetTrigger::init @ 0x10074195f
// > SetupShakePopup::init @ 0x100743d03
// > ColorSelectPopup::init @ 0x10080420d
// > ColorSelectPopup::init @ 0x1008043e8
// > DeathMarkerSettingsPopup::init @ 0x1008c6db2
// > DeathMarkerSettingsPopup::init @ 0x1008c7179
// > TimeSpeedControl::init @ 0x10097787d
//
// 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_1(int a1, int a2, int a3, float a4)
{
char *v5; // rbx
v5 = (char *)operator new(0x1C8u);
cocos2d::CCLayer::CCLayer(v5);
*(_QWORD *)v5 = off_100B13600;
*((_QWORD *)v5 + 40) = off_100B13A90;
*((_QWORD *)v5 + 41) = &off_100B13B00;
*((_QWORD *)v5 + 42) = off_100B13B18;
*((_QWORD *)v5 + 43) = off_100B13B38;
*((_QWORD *)v5 + 44) = off_100B13B60;
*(_OWORD *)(v5 + 408) = 0;
*(_OWORD *)(v5 + 424) = 0;
*((_QWORD *)v5 + 55) = 0;
v5[448] = 1;
if ( (unsigned __int8)Slider::init(
(_DWORD)v5,
a1,
a2,
a3,
(unsigned int)"sliderBar.png",
(unsigned int)"slidergroove.png",
(__int64)"sliderthumb.png",
(__int64)"sliderthumbsel.png") )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
(*(void (__fastcall **)(char *, float))(*(_QWORD *)v5 + 16LL))(v5, a4);
return nullptr;
}
return v5;
}