; ; EditorUI::updateZoom from 0x1401b4c70 to 0x1401b4f72 (770 bytes) ; ; 3 xrefs: ; > EditorUI::updateZoom_1 @ 0x1401b4c55 ; > EditorUI::ccTouchMoved @ 0x1401c07b7 ; > @ 0x14091a144 ; ; 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 ; mov rax, rsp ; +0x0, 0x1401b4c70 push rbx ; +0x3, 0x1401b4c73 push rsi ; +0x4, 0x1401b4c74 push rdi ; +0x5, 0x1401b4c75 sub rsp, 0A0h ; +0x6, 0x1401b4c76 movaps xmmword ptr [rax-28h], xmm6 ; +0xd, 0x1401b4c7d movaps xmmword ptr [rax-38h], xmm7 ; +0x11, 0x1401b4c81 movaps xmmword ptr [rax-48h], xmm8 ; +0x15, 0x1401b4c85 mov rax, cs:__security_cookie ; +0x1a, 0x1401b4c8a xor rax, rsp ; +0x21, 0x1401b4c91 mov [rsp+0B8h+var_58], rax ; +0x24, 0x1401b4c94 mov rbx, r8 ; +0x29, 0x1401b4c99 movaps xmm8, xmm1 ; +0x2c, 0x1401b4c9c mov rsi, rcx ; +0x30, 0x1401b4ca0 mov rcx, [rcx+5E8h] ; +0x33, 0x1401b4ca3 mov rdi, [rcx+10C8h] ; +0x3a, 0x1401b4caa mov rax, [rcx] ; +0x41, 0x1401b4cb1 call qword ptr [rax+1F8h] ; +0x44, 0x1401b4cb4 mov rcx, [rax] ; +0x4a, 0x1401b4cba mov rdx, [rcx+0A8h] ; +0x4d, 0x1401b4cbd mov rcx, rax ; +0x54, 0x1401b4cc4 call rdx ; +0x57, 0x1401b4cc7 movaps xmm6, xmm0 ; +0x59, 0x1401b4cc9 mov rcx, [rsi+5E8h] ; +0x5c, 0x1401b4ccc mov rax, [rcx] ; +0x63, 0x1401b4cd3 call qword ptr [rax+1F8h] ; +0x66, 0x1401b4cd6 mov rcx, [rax] ; +0x6c, 0x1401b4cdc mov rdx, [rcx+0A0h] ; +0x6f, 0x1401b4cdf movss xmm7, cs:flt_140835080 ; +0x76, 0x1401b4ce6 movaps xmm1, xmm7 ; +0x7e, 0x1401b4cee mov rcx, rax ; +0x81, 0x1401b4cf1 call rdx ; +0x84, 0x1401b4cf4 mov r8, rbx ; +0x86, 0x1401b4cf6 lea rdx, [rsp+0B8h+var_90] ; +0x89, 0x1401b4cf9 mov rcx, rdi ; +0x8e, 0x1401b4cfe call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x91, 0x1401b4d01 mov rax, [rdi] ; +0x97, 0x1401b4d07 movaps xmm1, xmm8 ; +0x9a, 0x1401b4d0a mov rcx, rdi ; +0x9e, 0x1401b4d0e call qword ptr [rax+0A0h] ; +0xa1, 0x1401b4d11 lea r8, [rsp+0B8h+var_90] ; +0xa7, 0x1401b4d17 lea rdx, [rsp+0B8h+var_88] ; +0xac, 0x1401b4d1c mov rcx, rdi ; +0xb1, 0x1401b4d21 call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0xb4, 0x1401b4d24 lea r8, [rsp+0B8h+var_88] ; +0xba, 0x1401b4d2a lea rdx, [rsp+0B8h+var_80] ; +0xbf, 0x1401b4d2f mov rcx, rbx ; +0xc4, 0x1401b4d34 call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0xc7, 0x1401b4d37 mov rax, [rdi] ; +0xcd, 0x1401b4d3d mov rcx, rdi ; +0xd0, 0x1401b4d40 call qword ptr [rax+0C8h] ; +0xd3, 0x1401b4d43 lea r8, [rsp+0B8h+var_80] ; +0xd9, 0x1401b4d49 lea rdx, [rsp+0B8h+var_98] ; +0xde, 0x1401b4d4e mov rcx, rax ; +0xe3, 0x1401b4d53 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0xe6, 0x1401b4d56 mov rax, [rdi] ; +0xec, 0x1401b4d5c lea rdx, [rsp+0B8h+var_98] ; +0xef, 0x1401b4d5f mov rcx, rdi ; +0xf4, 0x1401b4d64 call qword ptr [rax+0B8h] ; +0xf7, 0x1401b4d67 movss xmm1, cs:dword_140835FA8 ; +0xfd, 0x1401b4d6d movaps xmm2, xmm1 ; +0x105, 0x1401b4d75 mov rcx, rsi ; +0x108, 0x1401b4d78 call EditorUI__constrainGameLayerPosition ; +0x10b, 0x1401b4d7b mov rcx, [rsi+5E8h] ; +0x110, 0x1401b4d80 mov rax, [rcx] ; +0x117, 0x1401b4d87 call qword ptr [rax+1F8h] ; +0x11a, 0x1401b4d8a mov rcx, [rax] ; +0x120, 0x1401b4d90 mov rdx, [rcx+0A0h] ; +0x123, 0x1401b4d93 movaps xmm1, xmm6 ; +0x12a, 0x1401b4d9a mov rcx, rax ; +0x12d, 0x1401b4d9d call rdx ; +0x130, 0x1401b4da0 mov rcx, rsi ; +0x132, 0x1401b4da2 call EditorUI__updateSlider ; +0x135, 0x1401b4da5 mov rcx, [rsi+328h] ; +0x13a, 0x1401b4daa divss xmm7, xmm8 ; +0x141, 0x1401b4db1 mov rax, [rcx] ; +0x146, 0x1401b4db6 movaps xmm1, xmm7 ; +0x149, 0x1401b4db9 call qword ptr [rax+0A0h] ; +0x14c, 0x1401b4dbc movaps xmm1, xmm7 ; +0x152, 0x1401b4dc2 mov rcx, [rsi+348h] ; +0x155, 0x1401b4dc5 call GJTransformControl__scaleButtons ; +0x15c, 0x1401b4dcc cmp qword ptr [rsi+640h], 0 ; +0x161, 0x1401b4dd1 jz loc_1401B4F44 ; +0x169, 0x1401b4dd9 mov rcx, cs:qword_14090BFD0 ; +0x16f, 0x1401b4ddf test rcx, rcx ; +0x176, 0x1401b4de6 jnz short loc_1401B4E1D ; +0x179, 0x1401b4de9 mov ecx, 6E8h; Size ; +0x17b, 0x1401b4deb call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x180, 0x1401b4df0 mov [rsp+0B8h+var_98], rax ; +0x185, 0x1401b4df5 mov rcx, rax ; +0x18a, 0x1401b4dfa call GameManager__GameManager ; +0x18d, 0x1401b4dfd nop ; +0x192, 0x1401b4e02 mov cs:qword_14090BFD0, rax ; +0x193, 0x1401b4e03 mov rcx, [rax] ; +0x19a, 0x1401b4e0a mov rdx, [rcx+48h] ; +0x19d, 0x1401b4e0d mov rcx, rax ; +0x1a1, 0x1401b4e11 call rdx ; +0x1a4, 0x1401b4e14 mov rcx, cs:qword_14090BFD0 ; +0x1a6, 0x1401b4e16 lea rdx, a0195; "0195" ; +0x1ad, 0x1401b4e1d call GameManager__getGameVariable ; +0x1b4, 0x1401b4e24 test al, al ; +0x1b9, 0x1401b4e29 jnz loc_1401B4F44 ; +0x1bb, 0x1401b4e2b xorps xmm2, xmm2 ; +0x1c1, 0x1401b4e31 cvtss2sd xmm2, xmm8 ; +0x1c4, 0x1401b4e34 movq r8, xmm2 ; +0x1c9, 0x1401b4e39 lea rdx, aZoom02f; "Zoom: %.02f" ; +0x1ce, 0x1401b4e3e lea rcx, [rsp+0B8h+Buffer]; Buffer ; +0x1d5, 0x1401b4e45 call sub_1401A8CE0 ; +0x1da, 0x1401b4e4a mov rcx, [rsi+640h] ; +0x1df, 0x1401b4e4f add rcx, 168h ; +0x1e6, 0x1401b4e56 mov rax, [rcx] ; +0x1ed, 0x1401b4e5d lea rdx, [rsp+0B8h+Buffer] ; +0x1f0, 0x1401b4e60 call qword ptr [rax] ; +0x1f5, 0x1401b4e65 mov rcx, [rsi+640h] ; +0x1f7, 0x1401b4e67 mov rax, [rcx] ; +0x1fe, 0x1401b4e6e mov dl, 1 ; +0x201, 0x1401b4e71 call qword ptr [rax+150h] ; +0x203, 0x1401b4e73 mov rcx, [rsi+640h] ; +0x209, 0x1401b4e79 add rcx, 170h ; +0x210, 0x1401b4e80 mov rax, [rcx] ; +0x217, 0x1401b4e87 call qword ptr [rax+20h] ; +0x21a, 0x1401b4e8a cmp al, 0FFh ; +0x21d, 0x1401b4e8d jnb short loc_1401B4EDD ; +0x21f, 0x1401b4e8f mov edx, 81h ; +0x221, 0x1401b4e91 mov rcx, [rsi+640h] ; +0x226, 0x1401b4e96 call cs:?getActionByTag@CCNode@cocos2d@@QEAAPEAVCCAction@2@H@Z; cocos2d::CCNode::getActionByTag(int) ; +0x22d, 0x1401b4e9d test rax, rax ; +0x233, 0x1401b4ea3 jnz short loc_1401B4EDD ; +0x236, 0x1401b4ea6 mov dl, 0FFh ; +0x238, 0x1401b4ea8 movss xmm0, cs:dword_140834E00 ; +0x23a, 0x1401b4eaa call cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0x242, 0x1401b4eb2 mov rbx, rax ; +0x248, 0x1401b4eb8 mov rcx, [rax] ; +0x24b, 0x1401b4ebb mov r8, [rcx+40h] ; +0x24e, 0x1401b4ebe mov edx, 81h ; +0x252, 0x1401b4ec2 mov rcx, rax ; +0x257, 0x1401b4ec7 call r8 ; +0x25a, 0x1401b4eca mov rdx, rbx ; +0x25d, 0x1401b4ecd mov rcx, [rsi+640h] ; +0x260, 0x1401b4ed0 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x267, 0x1401b4ed7 mov edx, 82h ; +0x26d, 0x1401b4edd mov rcx, [rsi+640h] ; +0x272, 0x1401b4ee2 call cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x279, 0x1401b4ee9 movss xmm0, cs:dword_14083502C ; +0x27f, 0x1401b4eef call cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0x287, 0x1401b4ef7 mov rbx, rax ; +0x28d, 0x1401b4efd xor edx, edx ; +0x290, 0x1401b4f00 movss xmm0, cs:dword_140834EA0 ; +0x292, 0x1401b4f02 call cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0x29a, 0x1401b4f0a xor r8d, r8d ; +0x2a0, 0x1401b4f10 mov rdx, rax ; +0x2a3, 0x1401b4f13 mov rcx, rbx ; +0x2a6, 0x1401b4f16 call cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x2a9, 0x1401b4f19 mov rbx, rax ; +0x2af, 0x1401b4f1f mov rcx, [rax] ; +0x2b2, 0x1401b4f22 mov r8, [rcx+40h] ; +0x2b5, 0x1401b4f25 mov edx, 82h ; +0x2b9, 0x1401b4f29 mov rcx, rax ; +0x2be, 0x1401b4f2e call r8 ; +0x2c1, 0x1401b4f31 mov rdx, rbx ; +0x2c4, 0x1401b4f34 mov rcx, [rsi+640h] ; +0x2c7, 0x1401b4f37 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x2ce, 0x1401b4f3e mov rcx, [rsp+0B8h+var_58] ; +0x2d4, 0x1401b4f44 xor rcx, rsp; StackCookie ; +0x2d9, 0x1401b4f49 call __security_check_cookie ; +0x2dc, 0x1401b4f4c movaps xmm6, [rsp+0B8h+var_28] ; +0x2e1, 0x1401b4f51 movaps xmm7, [rsp+0B8h+var_38] ; +0x2e9, 0x1401b4f59 movaps xmm8, [rsp+0B8h+var_48] ; +0x2f1, 0x1401b4f61 add rsp, 0A0h ; +0x2f7, 0x1401b4f67 pop rdi ; +0x2fe, 0x1401b4f6e pop rsi ; +0x2ff, 0x1401b4f6f pop rbx ; +0x300, 0x1401b4f70 retn ; +0x301, 0x1401b4f71