//
// cocos2d::extension::CCControlStepper::setWraps from 0x5a74b0 to 0x5a751a (106 bytes)
//
// 0 xrefs:
//
// 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)
{
int m_nLuaID; // r0
void (__fastcall *v4)(int, _DWORD *); // r3
int m_nTag; // r0
void (__fastcall *v6)(int, _DWORD *); // r3
_DWORD v7[3]; // [sp+0h] [bp-Ch] BYREF
v7[0] = a1;
v7[1] = a2;
BYTE2(a1[1].m_eObjType) = a2;
if ( a2 )
{
m_nLuaID = a1[1].m_nLuaID;
v4 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)m_nLuaID + 472);
memset(v7, 55, 3);
v4(m_nLuaID, v7);
m_nTag = a1[1].m_nTag;
v6 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)m_nTag + 472);
memset(v7, 55, 3);
v6(m_nTag, v7);
}
((void (__fastcall *)(cocos2d::extension::CCControlStepper *, void (__fastcall *)(cocos2d::extension::CCControlStepper *__hidden, double), unsigned int, unsigned int))a1->setValue)(
a1,
a1->setValue,
a1[1].m_uReference,
a1[1].m_uAutoReleaseCount);
}