//
// EditorUI::updateZoom from 0x7c71ac to 0x7c7240 (148 bytes)
//
// 4 xrefs:
// > EditorUI::zoomGameLayer @ 0x7c72a8
// > EditorUI::zoomGameLayer @ 0x7c72c4
// > EditorUI::playtestStopped @ 0x7ce93c
// > ??> @ 0xdf1f8
//
// This function is hookable on this platform (idp: arm, 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 12:54:09 +0000
//
__int64 __fastcall EditorUI::updateZoom(EditorUI *this, float a2)
{
cocos2d::CCDirector *v4; // x0
__int64 v6; // [xsp+48h] [xbp+48h] BYREF
_BYTE v7[8]; // [xsp+50h] [xbp+50h] BYREF
v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v6, v4);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, *(float *)&v6 * 0.5, *((float *)&v6 + 1) * 0.5);
EditorUI::updateZoom((__int64)this, (const cocos2d::CCPoint *)v7, a2);
return _stack_chk_guard;
}