//
// cocos2d::extension::CCControlStepper::setWraps from 0x18000b350 to 0x18000b3c5 (117 bytes)
//
// 3 xrefs:
// > ??> @ 0x180028ae0
// > ??> @ 0x180032408
// > ??> @ 0x18004bb7c
//
// 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::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 + 1152LL))(this);
}