//
// cocos2d::extension::CCControlStepper::update from 0x18000bac0 to 0x18000bb32 (114 bytes)
//
// 2 xrefs:
// > ??> @ 0x1800260a0
// > ??> @ 0x18002fdf8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::extension::CCControlStepper::update(cocos2d::extension::CCControlStepper *this, float a2)
{
__int64 v2; // rdx
int v3; // r8d
v3 = *((_DWORD *)this + 138) + 1;
*((_DWORD *)this + 138) = v3;
if ( v3 >= 12 || (v2 = (unsigned int)(v3 / 3), v3 == 3 * (_DWORD)v2) )
{
if ( *((_DWORD *)this + 137) <= 1u )
(*(void (__fastcall **)(cocos2d::extension::CCControlStepper *, __int64, _QWORD))(*(_QWORD *)this + 1160LL))(
this,
v2,
*((unsigned __int8 *)this + 512));
}
}