//
// EditorUI::zoomGameLayer from 0x484da4 to 0x484e24 (128 bytes)
//
// 3 xrefs:
// > EditorUI::zoomIn @ 0x484e42
// > EditorUI::zoomOut @ 0x484e5c
// > EditorUI::scrollWheel @ 0x6f1352
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:49:24 +0000
//
GameManager *__fastcall EditorUI::zoomGameLayer(EditorUI *this, int a2)
{
float v3; // s15
(*(void (__fastcall **)(_DWORD))(**(_DWORD **)(*((_DWORD *)this + 236) + 2436) + 84))(*(_DWORD *)(*((_DWORD *)this + 236)
+ 2436));
v3 = COERCE_FLOAT(roundf()) * 0.1;
if ( v3 > 10.0 )
{
v3 = 10.0;
}
else if ( v3 < 0.1 )
{
v3 = 0.1;
}
return EditorUI::updateZoom(this, v3);
}