//
// EditorUI::zoomGameLayer from 0x696478 to 0x6964f4 (124 bytes)
//
// 5 xrefs:
// > EditorUI::zoomIn @ 0x6964fc
// > EditorUI::zoomOut @ 0x696504
// > EditorUI::scrollWheel @ 0x6965ac
// > EditorUI::scrollWheel @ 0x696604
// > ??> @ 0x4a400
//
// 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::zoomGameLayer(EditorUI *a1, bool a2)
{
_BOOL4 v3; // w20
float v4; // s0
float v5; // s0
v3 = a2;
a1->m_editorLayer->m_objectLayer->getScale(a1->m_editorLayer->m_objectLayer);
if ( v3 )
v5 = v4 + 0.1;
else
v5 = v4 - 0.1;
if ( v5 <= 4.0 )
{
if ( v5 < 0.1 )
{
EditorUI::updateZoom(a1, 0.1);
return;
}
}
else
{
v5 = 4.0;
}
EditorUI::updateZoom(a1, v5);
}