// // cocos2d::extension::CCControlStepper::update from 0x1003a4410 to 0x1003a4493 (131 bytes) // // 1 xrefs: // > @ 0x100926ad0 // // 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::update(cocos2d::extension::CCControlStepper *a1, float a2) { float y; // eax float x; // eax double v4; // xmm0_8 y = a1[1].m_obPosition.y; LODWORD(a1[1].m_obPosition.y) = LODWORD(y) + 1; if ( SLODWORD(y) > 10 || -3 * ((LODWORD(y) + 1) / 3) + LODWORD(y) == -1 ) { x = a1[1].m_obPosition.x; if ( LODWORD(x) == 1 ) { v4 = *(double *)&a1[1].m_uIndexInArray + *(double *)&a1[1].m_fScaleX; goto LABEL_8; } if ( x == 0.0 ) { v4 = *(double *)&a1[1].m_uIndexInArray - *(double *)&a1[1].m_fScaleX; LABEL_8: ((void (__fastcall *)(cocos2d::extension::CCControlStepper *, _QWORD, double))a1->setValueWithSendingEvent)( a1, LOBYTE(a1[1].m_unknown2), v4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source