//
// Slider::create from 0x3dafe4 to 0x3db09a (182 bytes)
//
// 9 xrefs:
// > Slider::create @ 0x3db0c6
// > EditorUI::init @ 0x48a3dc
// > sub_601AE0 @ 0x601e14
// > sub_601AE0 @ 0x601efc
// > sub_601AE0 @ 0x601f96
// > sub_601AE0 @ 0x602030
// > GJScaleControl::init @ 0x6ef54e
// > GJScaleControl::init @ 0x6ef5b0
// > GJScaleControl::init @ 0x6ef630
//
// 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
//
int __fastcall Slider::create(
int a1,
int a2,
int a3,
cocos2d::CCSprite *a4,
cocos2d::CCSprite *a5,
int a6,
int a7,
float a8)
{
int v10; // r4
v10 = operator new(0x158u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v10);
*(_DWORD *)v10 = &off_C88900;
*(_DWORD *)(v10 + 264) = &off_C88B48;
*(_DWORD *)(v10 + 268) = &off_C88B80;
*(_DWORD *)(v10 + 272) = &off_C88B8C;
*(_DWORD *)(v10 + 280) = &off_C88BB0;
*(_DWORD *)(v10 + 316) = 0;
*(_DWORD *)(v10 + 320) = 0;
*(_DWORD *)(v10 + 324) = 0;
*(_DWORD *)(v10 + 336) = 0;
*(_BYTE *)(v10 + 340) = 1;
*(_DWORD *)(v10 + 276) = &off_C88B9C;
*(_DWORD *)(v10 + 328) = 0;
*(_DWORD *)(v10 + 332) = 0;
if ( Slider::init(v10, a1, a2, a3, a4, a5, a6, a7, a8) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
return v10;
}
else
{
(*(void (__fastcall **)(int))(*(_DWORD *)v10 + 8))(v10);
return 0;
}
}