//
// cocos2d::extension::CCControlStepper::setWraps from 0x1003a4190 to 0x1003a41fb (107 bytes)
//
// 1 xrefs:
// > ??> @ 0x100926fe8
//
// 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 *a1, bool a2)
{
__int64 v2; // rax
__int64 v4; // rdi
__int64 v5; // rdi
_QWORD v6[2]; // [rsp+0h] [rbp-10h] BYREF
v6[0] = v2;
BYTE2(a1[1].m_unknown2) = a2;
if ( a2 )
{
v4 = *(_QWORD *)&a1[1].m_nTag;
memset(v6, 55, 3);
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v4 + 944LL))(v4, v6);
v5 = *(_QWORD *)&a1[1].m_uAutoReleaseCount;
memset((char *)v6 + 4, 55, 3);
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v5 + 944LL))(v5, (char *)v6 + 4);
}
((void (__fastcall *)(cocos2d::extension::CCControlStepper *, double))a1->setValue)(
a1,
*(double *)&a1[1].m_uIndexInArray);
}