// // EditorUI::scrollWheel from 0x696508 to 0x696610 (264 bytes) // // 3 xrefs: // > `non-virtual thunk to'EditorUI::scrollWheel @ 0x69661c // > @ 0x97950 // > @ 0x1156bc0 // // 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 EditorUI::scrollWheel(EditorUI *a1, float a2, float a3) { cocos2d::CCDirector *v5; // x0 cocos2d::CCDirector *v7[2]; // [xsp+48h] [xbp+48h] BYREF cocos2d::CCPoint v8; // 0:s0.4,4:s1.4 if ( a1->m_editorLayer->m_playbackMode != Playing ) { clock_gettime(0, (struct timespec *)v7); a1->m_keyTime = (double)(__int64)v7[0] + (double)(__int64)v7[1] / 1000000000.0; v5 = cocos2d::CCDirector::sharedDirector(); if ( v5->getKeyboardDispatcher(v5)->m_bControlPressed ) { if ( a2 <= 0.0 && a3 <= 0.0 ) EditorUI::zoomGameLayer(a1, 1); else EditorUI::zoomGameLayer(a1, 0); } else { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, a3, a2); EditorUI::moveGamelayer(a1, v8); EditorUI::updateSlider(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source