//
// EditorUI::updateZoom_1 from 0x1401b4c00 to 0x1401b4c65 (101 bytes)
//
// 5 xrefs:
// > EditorUI::playtestStopped @ 0x1401b4aa4
// > EditorUI::zoomIn @ 0x1401b4b75
// > EditorUI::zoomOut @ 0x1401b4bf5
// > EditorUI::scrollWheel @ 0x1401c5198
// > ??> @ 0x14091a138
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:27:57 +0000
//
__int64 __fastcall EditorUI::updateZoom_1(__int64 a1)
{
__int64 v2; // rax
__int64 v3; // rax
__int64 v4; // rdx
float v6; // [rsp+50h] [rbp+18h] BYREF
float v7; // [rsp+54h] [rbp+1Ch]
char v8; // [rsp+58h] [rbp+20h] BYREF
v2 = cocos2d::CCDirector::sharedDirector(a1);
cocos2d::CCDirector::getWinSize(v2, &v6);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, v6 * 0.5, v7 * 0.5);
return EditorUI::updateZoom(a1, v4, v3);
}