// // SetupTimeWarpPopup::sliderChanged from 0x1404639e0 to 0x140463ab0 (208 bytes) // // 4 xrefs: // > SetupTimeWarpPopup::init @ 0x140463801 // > @ 0x1406a46c0 // > @ 0x1406a46d0 // > @ 0x1406daf4c // // 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 SetupTimeWarpPopup::sliderChanged(SetupTimeWarpPopup *a1, cocos2d::CCObject *a2) { float v3; // xmm0_4 float v4; // xmm0_4 EffectGameObject *m_gameObject; // rax cocos2d::CCArray *m_gameObjects; // rcx unsigned int v7; // ebx struct cocos2d::CCObject *v8; // rax v3 = (float)(SliderThumb::getValue((SliderThumb *)a2) * 1.9) + 0.1; a1->m_timeWarpMod = v3; v4 = roundf(v3 * 100.0) / 100.0; m_gameObject = a1->m_gameObject; a1->m_timeWarpMod = v4; if ( m_gameObject ) { m_gameObject->m_timeWarpTimeMod = v4; SetupTimeWarpPopup::updateTimeWarpLabel(a1); } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { v7 = 0; if ( cocos2d::CCArray::count(m_gameObjects) ) { do { v8 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v7++); v8[31].m_nZOrder = LODWORD(a1->m_timeWarpMod); } while ( v7 < cocos2d::CCArray::count(a1->m_gameObjects) ); } } SetupTimeWarpPopup::updateTimeWarpLabel(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source