//
// cocos2d::extension::CCControlStepper::setWraps from 0x18000b840 to 0x18000b8b5 (117 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800264d8
// > ??> @ 0x18002fdf8
// > ??> @ 0x180049cb4
//
// 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::setWraps(cocos2d::extension::CCControlStepper *this, char a2)
{
void (__fastcall ***v3)(_QWORD, _BYTE *); // rcx
void (__fastcall ***v4)(_QWORD, _BYTE *); // rcx
_BYTE v5[3]; // [rsp+38h] [rbp+10h] BYREF
*((_BYTE *)this + 514) = a2;
if ( a2 )
{
v3 = (void (__fastcall ***)(_QWORD, _BYTE *))(*((_QWORD *)this + 61) + 320LL);
memset(v5, 55, sizeof(v5));
(**v3)(v3, v5);
v4 = (void (__fastcall ***)(_QWORD, _BYTE *))(*((_QWORD *)this + 62) + 320LL);
memset(v5, 55, sizeof(v5));
(**v4)(v4, v5);
}
(*(void (__fastcall **)(cocos2d::extension::CCControlStepper *))(*(_QWORD *)this + 1136LL))(this);
}