//
// SliderTouchLogic::init from 0x6b56dc to 0x6b57fc (288 bytes)
//
// 2 xrefs:
// > SliderTouchLogic::create @ 0x6b58b8
// > ??> @ 0x6f358
//
// 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 SliderTouchLogic::init(cocos2d::CCMenu *a1, int a2, int a3, int a4, cocos2d::CCSprite *a5, float a6)
{
unsigned __int8 v12; // w0
unsigned int v13; // w21
__int64 v14; // x2
void (__fastcall *v15)(cocos2d::CCMenu *, _BYTE *); // x27
__int64 v16; // x0
__int64 v17; // x2
_BYTE v19[8]; // [xsp+70h] [xbp+70h] BYREF
v12 = cocos2d::CCMenu::init(a1);
v13 = v12;
if ( v12 )
{
v14 = *(_QWORD *)a1;
*((_BYTE *)a1 + 476) = 0;
*((float *)a1 + 111) = a6 * 200.0;
v15 = *(void (__fastcall **)(cocos2d::CCMenu *, _BYTE *))(v14 + 184);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, 0.0, 0.0);
v15(a1, v19);
v16 = SliderThumb::create(a2, a3, a4, a5);
v17 = *(_QWORD *)a1;
*((_QWORD *)a1 + 56) = v16;
(*(void (__fastcall **)(cocos2d::CCMenu *))(v17 + 456))(a1);
(*(void (__fastcall **)(__int64, float))(**((_QWORD **)a1 + 56) + 160LL))(*((_QWORD *)a1 + 56), a6);
*((_BYTE *)a1 + 464) = 0;
}
return v13;
}