//
// cocos2d::extension::CCControlStepper::setWraps from 0xaa3f74 to 0xaa4030 (188 bytes)
//
// 2 xrefs:
// > ??> @ 0x42b70
// > ??> @ 0x11f8f70
//
// 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 cocos2d::extension::CCControlStepper::setWraps(cocos2d::extension::CCControlStepper *a1, bool a2)
{
__int64 v3; // x0
void (__fastcall *v4)(__int64, _BYTE *); // x2
__int64 v5; // x0
void (__fastcall *v6)(__int64, _BYTE *); // x2
_BYTE v7[8]; // [xsp+30h] [xbp+30h] BYREF
BYTE2(a1[1].m_unknown2) = a2;
if ( a2 )
{
v3 = *(_QWORD *)&a1[1].m_nTag;
v4 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v3 + 944LL);
memset(v7, 55, 3);
v4(v3, v7);
v5 = *(_QWORD *)&a1[1].m_uAutoReleaseCount;
v6 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 944LL);
memset(v7, 55, 3);
v6(v5, v7);
}
a1->setValue(a1, *(double *)&a1[1].m_uIndexInArray);
}