// // cocos2d::extension::CCControlStepper::setValueWithSendingEvent from 0x5a7574 to 0x5a764a (214 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::setValueWithSendingEvent( cocos2d::extension::CCControlStepper *a1, double a2, bool a3) { int v5; // r3 v5 = BYTE2(a1[1].m_eObjType); if ( a2 >= *(double *)&a1[1].m_uUnknown ) { if ( a2 > *(double *)&a1[1].m_nZOrder ) { if ( BYTE2(a1[1].m_eObjType) ) a2 = *(double *)&a1[1].m_uUnknown; else a2 = *(double *)&a1[1].m_nZOrder; } } else if ( BYTE2(a1[1].m_eObjType) ) { a2 = *(double *)&a1[1].m_nZOrder; } else { a2 = *(double *)&a1[1].m_uUnknown; } *(double *)&a1[1].m_uReference = a2; if ( !v5 ) { (*(void (__fastcall **)(int))(*(_DWORD *)a1[1].m_nLuaID + 472))(a1[1].m_nLuaID); (*(void (__fastcall **)(int))(*(_DWORD *)a1[1].m_nTag + 472))(a1[1].m_nTag); } if ( a3 ) a1->sendActionsForControlEvents(a1, 256); }
GD Web Decomp Icon

GD Web Decomp

Raw Source