//
// cocos2d::extension::CCControlStepper::ccTouchMoved from 0x18000b850 to 0x18000b984 (308 bytes)
//
// 3 xrefs:
// > ??> @ 0x180028628
// > ??> @ 0x180032408
// > ??> @ 0x18004bbd0
//
// 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:15:37 +0000
//
void __fastcall cocos2d::extension::CCControlStepper::ccTouchMoved(
cocos2d::extension::CCControlStepper *this,
struct cocos2d::CCTouch *a2,
struct cocos2d::CCEvent *a3)
{
char *v3; // rbx
float *v6; // rax
__int64 v7; // r8
bool v8; // zf
void (__fastcall ***v9)(_QWORD, void *); // rcx
char v10; // [rsp+40h] [rbp+8h] BYREF
char v11; // [rsp+58h] [rbp+20h] BYREF
v3 = (char *)this - 320;
if ( (*(unsigned __int8 (__fastcall **)(char *, struct cocos2d::CCTouch *, struct cocos2d::CCEvent *))(*((_QWORD *)this - 40) + 1120LL))(
(char *)this - 320,
a2,
a3) )
{
(*(void (__fastcall **)(char *, char *, struct cocos2d::CCTouch *))(*(_QWORD *)v3 + 1112LL))(v3, &v10, a2);
v6 = (float *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, (const struct cocos2d::CCPoint *)&v10);
cocos2d::extension::CCControlStepper::updateLayoutUsingTouchLocation((__int64)v3, v6);
if ( !v3[544] )
{
v8 = *((_BYTE *)this + 193) == 0;
*((_BYTE *)this + 224) = 1;
if ( !v8 )
{
*((_DWORD *)v3 + 138) = -1;
cocos2d::CCNode::schedule(v3, sub_18000BA74, v7, 4294967294LL, 1055286887);
}
}
}
else
{
v9 = (void (__fastcall ***)(_QWORD, void *))(*((_QWORD *)v3 + 59) + 320LL);
v3[544] = 0;
*((_DWORD *)v3 + 137) = 2;
(**v9)(v9, &unk_180025A20);
(**(void (__fastcall ***)(__int64, void *))(*((_QWORD *)this + 20) + 320LL))(
*((_QWORD *)this + 20) + 320LL,
&unk_180025A20);
if ( *((_BYTE *)this + 193) )
cocos2d::CCNode::unschedule(v3, sub_18000BA74);
}
}