; ; 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 ; push rbx ; +0x0, 0x1401b4c00 sub rsp, 30h ; +0x2, 0x1401b4c02 movaps [rsp+38h+var_18], xmm6 ; +0x6, 0x1401b4c06 mov rbx, rcx ; +0xb, 0x1401b4c0b movaps xmm6, xmm1 ; +0xe, 0x1401b4c0e call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x11, 0x1401b4c11 mov rcx, rax ; +0x17, 0x1401b4c17 lea rdx, [rsp+38h+arg_10] ; +0x1a, 0x1401b4c1a call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1f, 0x1401b4c1f movss xmm2, [rsp+38h+arg_14] ; +0x25, 0x1401b4c25 lea rcx, [rsp+38h+arg_18] ; +0x2b, 0x1401b4c2b movss xmm1, [rsp+38h+arg_10] ; +0x30, 0x1401b4c30 mulss xmm2, cs:dword_140834F20 ; +0x36, 0x1401b4c36 mulss xmm1, cs:dword_140834F20 ; +0x3e, 0x1401b4c3e call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x46, 0x1401b4c46 movaps xmm1, xmm6 ; +0x4c, 0x1401b4c4c mov rcx, rbx ; +0x4f, 0x1401b4c4f mov r8, rax ; +0x52, 0x1401b4c52 call EditorUI__updateZoom ; +0x55, 0x1401b4c55 movaps xmm6, [rsp+38h+var_18] ; +0x5a, 0x1401b4c5a add rsp, 30h ; +0x5f, 0x1401b4c5f pop rbx ; +0x63, 0x1401b4c63 retn ; +0x64, 0x1401b4c64