; ; cocos2d::extension::CCScrollView::setZoomScale from 0x1800124b0 to 0x1800126bd (525 bytes) ; ; 7 xrefs: ; > cocos2d::extension::CCScrollView::setZoomScale @ 0x1800126f2 ; > cocos2d::extension::CCScrollView::setZoomScaleInDuration @ 0x18001277a ; > cocos2d::extension::CCScrollView::ccTouchMoved @ 0x180013b0f ; > @ 0x180030e30 ; > @ 0x180030e40 ; > @ 0x180032408 ; > @ 0x18004c2fc ; ; 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 12:15:40 +0000 ; mov [rsp-8+arg_8], rbx ; +0x0, 0x1800124b0 push rbp ; +0x5, 0x1800124b5 mov rbp, rsp ; +0x6, 0x1800124b6 sub rsp, 60h ; +0x9, 0x1800124b9 mov rbx, rcx ; +0xd, 0x1800124bd movaps [rsp+60h+var_20], xmm7 ; +0x10, 0x1800124c0 mov rcx, [rcx+1C0h] ; +0x15, 0x1800124c5 movaps xmm7, xmm1 ; +0x1c, 0x1800124cc mov rax, [rcx] ; +0x1f, 0x1800124cf call qword ptr [rax+0A8h] ; +0x22, 0x1800124d2 ucomiss xmm0, xmm7 ; +0x28, 0x1800124d8 jp short loc_1800124E3 ; +0x2b, 0x1800124db jz loc_1800126AD ; +0x2d, 0x1800124dd lea rcx, [rbp+arg_18] ; +0x33, 0x1800124e3 movaps [rsp+60h+var_10], xmm6 ; +0x37, 0x1800124e7 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x3c, 0x1800124ec lea rcx, [rbp+var_40] ; +0x42, 0x1800124f2 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x46, 0x1800124f6 lea rcx, [rbp+arg_0] ; +0x4c, 0x1800124fc call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x50, 0x180012500 movss xmm0, dword ptr [rbx+1F0h] ; +0x56, 0x180012506 xorps xmm6, xmm6 ; +0x5e, 0x18001250e ucomiss xmm0, xmm6 ; +0x61, 0x180012511 jp short loc_180012565 ; +0x64, 0x180012514 jnz short loc_180012565 ; +0x66, 0x180012516 movss xmm2, dword ptr [rbx+204h] ; +0x68, 0x180012518 lea rcx, [rbp+arg_10] ; +0x70, 0x180012520 movss xmm1, dword ptr [rbx+200h] ; +0x74, 0x180012524 mulss xmm2, cs:dword_18002BBD8 ; +0x7c, 0x18001252c mulss xmm1, cs:dword_18002BBD8 ; +0x84, 0x180012534 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x8c, 0x18001253c mov rdx, rax ; +0x92, 0x180012542 lea rcx, [rbp+arg_0] ; +0x95, 0x180012545 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x99, 0x180012549 lea r8, [rbp+arg_0] ; +0x9f, 0x18001254f mov rcx, rbx ; +0xa3, 0x180012553 lea rdx, [rbp+arg_10] ; +0xa6, 0x180012556 call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0xaa, 0x18001255a mov rdx, rax ; +0xb0, 0x180012560 jmp short loc_18001256C ; +0xb3, 0x180012563 lea rdx, [rbx+1E8h] ; +0xb5, 0x180012565 lea rcx, [rbp+arg_0] ; +0xbc, 0x18001256c call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc0, 0x180012570 mov rcx, [rbx+1C0h] ; +0xc6, 0x180012576 lea r8, [rbp+arg_0] ; +0xcd, 0x18001257d lea rdx, [rbp+arg_10] ; +0xd1, 0x180012581 call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0xd5, 0x180012585 mov rdx, rax ; +0xdb, 0x18001258b lea rcx, [rbp+arg_18] ; +0xde, 0x18001258e call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xe2, 0x180012592 movss xmm0, dword ptr [rbx+20Ch] ; +0xe8, 0x180012598 mov rcx, [rbx+1C0h] ; +0xf0, 0x1800125a0 minss xmm0, xmm7 ; +0xf7, 0x1800125a7 movss xmm1, dword ptr [rbx+208h] ; +0xfb, 0x1800125ab mov rax, [rcx] ; +0x103, 0x1800125b3 maxss xmm1, xmm0 ; +0x106, 0x1800125b6 call qword ptr [rax+0A0h] ; +0x10a, 0x1800125ba mov rcx, [rbx+1C0h] ; +0x110, 0x1800125c0 lea r8, [rbp+arg_18] ; +0x117, 0x1800125c7 lea rdx, [rbp+arg_10] ; +0x11b, 0x1800125cb call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x11f, 0x1800125cf mov rdx, rax ; +0x125, 0x1800125d5 lea rcx, [rbp+var_40] ; +0x128, 0x1800125d8 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x12c, 0x1800125dc lea r8, [rbp+var_40] ; +0x132, 0x1800125e2 lea rdx, [rbp+var_28] ; +0x136, 0x1800125e6 lea rcx, [rbp+arg_0] ; +0x13a, 0x1800125ea call cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x13e, 0x1800125ee mov rcx, [rbx+1A8h] ; +0x144, 0x1800125f4 test rcx, rcx ; +0x14b, 0x1800125fb jz short loc_180012609 ; +0x14e, 0x1800125fe mov rax, [rcx] ; +0x150, 0x180012600 mov rdx, rbx ; +0x153, 0x180012603 call qword ptr [rax+10h] ; +0x156, 0x180012606 mov rcx, [rbx+1C0h] ; +0x159, 0x180012609 mov rax, [rcx] ; +0x160, 0x180012610 call qword ptr [rax+0C8h] ; +0x163, 0x180012613 mov rcx, rax ; +0x169, 0x180012619 lea r8, [rbp+var_28] ; +0x16c, 0x18001261c lea rdx, [rbp+arg_10] ; +0x170, 0x180012620 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x174, 0x180012624 cmp byte ptr [rbx+1DCh], 0 ; +0x17a, 0x18001262a jnz short loc_18001267F ; +0x181, 0x180012631 lea rdx, [rbp+var_30] ; +0x183, 0x180012633 mov rcx, rbx ; +0x187, 0x180012637 call ?minContainerOffset@CCScrollView@extension@cocos2d@@QEAA?AVCCPoint@3@XZ; cocos2d::extension::CCScrollView::minContainerOffset(void) ; +0x18a, 0x18001263a xorps xmm2, xmm2 ; +0x18f, 0x18001263f lea rcx, [rbp+var_38] ; +0x192, 0x180012642 xorps xmm1, xmm1 ; +0x196, 0x180012646 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x199, 0x180012649 movss xmm0, [rbp+var_30] ; +0x19f, 0x18001264f movss xmm1, [rbp+var_38] ; +0x1a4, 0x180012654 minss xmm1, [rbp+arg_10] ; +0x1a9, 0x180012659 movss xmm2, [rbp+var_34] ; +0x1ae, 0x18001265e minss xmm2, [rbp+arg_14] ; +0x1b3, 0x180012663 maxss xmm0, xmm1 ; +0x1b8, 0x180012668 movss [rbp+arg_10], xmm0 ; +0x1bc, 0x18001266c movss xmm0, [rbp+var_2C] ; +0x1c1, 0x180012671 maxss xmm0, xmm2 ; +0x1c6, 0x180012676 movss [rbp+arg_14], xmm0 ; +0x1ca, 0x18001267a mov rcx, [rbx+1C0h] ; +0x1cf, 0x18001267f lea rdx, [rbp+arg_10] ; +0x1d6, 0x180012686 mov rax, [rcx] ; +0x1da, 0x18001268a call qword ptr [rax+0B8h] ; +0x1dd, 0x18001268d mov rcx, [rbx+1A8h] ; +0x1e3, 0x180012693 movaps xmm6, [rsp+60h+var_10] ; +0x1ea, 0x18001269a test rcx, rcx ; +0x1ef, 0x18001269f jz short loc_1800126AD ; +0x1f2, 0x1800126a2 mov rax, [rcx] ; +0x1f4, 0x1800126a4 mov rdx, rbx ; +0x1f7, 0x1800126a7 call qword ptr [rax+8] ; +0x1fa, 0x1800126aa mov rbx, [rsp+60h+arg_8] ; +0x1fd, 0x1800126ad movaps xmm7, [rsp+60h+var_20] ; +0x202, 0x1800126b2 add rsp, 60h ; +0x207, 0x1800126b7 pop rbp ; +0x20b, 0x1800126bb retn ; +0x20c, 0x1800126bc