//
// cocos2d::extension::CCControlStepper::ccTouchMoved from 0x7adb10 to 0x7adbb0 (160 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::extension::CCControlStepper::ccTouchMoved @ 0x7adbbc
//
// 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 12:00:04 +0000
//
int __fastcall cocos2d::extension::CCControlStepper::ccTouchMoved(cocos2d::extension::CCControlStepper *a1, int a2)
{
int result; // r0
int v5; // r0
_BYTE v6[8]; // [sp+4h] [bp-18h] BYREF
float v7[2]; // [sp+Ch] [bp-10h] BYREF
if ( (*(int (__fastcall **)(cocos2d::extension::CCControlStepper *))(*(_DWORD *)a1 + 676))(a1) )
{
(*(void (__fastcall **)(_BYTE *, cocos2d::extension::CCControlStepper *, int))(*(_DWORD *)a1 + 672))(v6, a1, a2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, (const cocos2d::CCPoint *)v6);
result = cocos2d::extension::CCControlStepper::updateLayoutUsingTouchLocation((int)a1, v7);
if ( !*((_BYTE *)a1 + 416) )
{
*((_BYTE *)a1 + 416) = 1;
if ( *((_BYTE *)a1 + 385) )
return cocos2d::extension::CCControlStepper::startAutorepeat(a1);
}
}
else
{
*((_BYTE *)a1 + 416) = 0;
v5 = *((_DWORD *)a1 + 89);
*((_DWORD *)a1 + 105) = 2;
(*(void (__fastcall **)(int, void *))(*(_DWORD *)v5 + 480))(v5, &unk_BF16B0);
result = (*(int (__fastcall **)(_DWORD, void *))(**((_DWORD **)a1 + 90) + 480))(*((_DWORD *)a1 + 90), &unk_BF16B0);
if ( *((_BYTE *)a1 + 385) )
return cocos2d::extension::CCControlStepper::stopAutorepeat(a1);
}
return result;
}