// // EditorUI::scrollWheel from 0x38767c to 0x387712 (150 bytes) // // 1 xrefs: // > `non-virtual thunk to'EditorUI::scrollWheel @ 0x38771c // // 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) { double v3; // d0 float v7; // r2 cocos2d::CCDirector *v8; // r0 bool v9; // r1 cocos2d::CCPoint v10; // r1 cocos2d::CCPoint v11; // [sp+4h] [bp-Ch] BYREF v7 = *(float *)&a1->m_editorLayer->m_playbackMode; if ( LODWORD(v7) != 1 ) { sub_37B740((int)a1, a2, v7, (int)&_stack_chk_guard); a1->m_keyTime = v3; v8 = cocos2d::CCDirector::sharedDirector(); if ( v8->getKeyboardDispatcher(v8)->m_bControlPressed ) { v9 = a2 <= 0.0 && a3 <= 0.0; EditorUI::zoomGameLayer(a1, v9); } else { cocos2d::CCPoint::CCPoint(&v11, a3, a2); LODWORD(v10.x) = &v11; EditorUI::moveGamelayer(a1, v10); EditorUI::updateSlider(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source