//
// EditorUI::zoomGameLayer from 0x10003dc70 to 0x10003dccf (95 bytes)
//
// 0 xrefs:
//
// 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 EditorUI::zoomGameLayer(EditorUI *a1, bool a2)
{
double v2; // xmm0_8
float v3; // xmm2_4
v2 = ((double (__fastcall *)(cocos2d::CCLayer *))a1->m_editorLayer->m_objectLayer->getScale)(a1->m_editorLayer->m_objectLayer);
v3 = 0.1;
if ( !a2 )
v3 = -0.1;
EditorUI::updateZoom(a1, fmaxf(0.1, fminf(4.0, v3 + *(float *)&v2)));
}