//
// cocos2d::extension::CCControlStepper::update from 0x18000b5d0 to 0x18000b642 (114 bytes)
//
// 2 xrefs:
// > ??> @ 0x180028698
// > ??> @ 0x180032408
//
// 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::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 + 1176LL))(
this,
v2,
*((unsigned __int8 *)this + 512));
}
}