; ; cocos2d::extension::CCScrollView::relocateContainer from 0x1800128a0 to 0x18001299e (254 bytes) ; ; 3 xrefs: ; > cocos2d::extension::CCScrollView::deaccelerateScrolling @ 0x180012da7 ; > @ 0x180032408 ; > @ 0x18004c35c ; ; 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+arg_8], rbx ; +0x0, 0x1800128a0 push rdi ; +0x5, 0x1800128a5 sub rsp, 30h ; +0x6, 0x1800128a6 mov rbx, rcx ; +0xa, 0x1800128aa movzx edi, dl ; +0xd, 0x1800128ad lea rcx, [rsp+38h+arg_0] ; +0x10, 0x1800128b0 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x15, 0x1800128b5 lea rcx, [rsp+38h+arg_18] ; +0x1b, 0x1800128bb call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x20, 0x1800128c0 lea rcx, [rsp+38h+arg_10] ; +0x26, 0x1800128c6 call cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x2b, 0x1800128cb lea rdx, [rsp+38h+var_18] ; +0x31, 0x1800128d1 mov rcx, rbx ; +0x36, 0x1800128d6 call ?minContainerOffset@CCScrollView@extension@cocos2d@@QEAA?AVCCPoint@3@XZ; cocos2d::extension::CCScrollView::minContainerOffset(void) ; +0x39, 0x1800128d9 mov rdx, rax ; +0x3e, 0x1800128de lea rcx, [rsp+38h+arg_18] ; +0x41, 0x1800128e1 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x46, 0x1800128e6 xorps xmm2, xmm2 ; +0x4c, 0x1800128ec lea rcx, [rsp+38h+var_18] ; +0x4f, 0x1800128ef xorps xmm1, xmm1 ; +0x54, 0x1800128f4 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x57, 0x1800128f7 lea rdx, [rsp+38h+var_18] ; +0x5d, 0x1800128fd lea rcx, [rsp+38h+arg_10] ; +0x62, 0x180012902 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x67, 0x180012907 mov rcx, [rbx+1C0h] ; +0x6d, 0x18001290d mov rax, [rcx] ; +0x74, 0x180012914 call qword ptr [rax+0C8h] ; +0x77, 0x180012917 mov rdx, rax ; +0x7d, 0x18001291d lea rcx, [rsp+38h+arg_0] ; +0x80, 0x180012920 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x85, 0x180012925 movss xmm1, [rsp+38h+arg_0] ; +0x8b, 0x18001292b movss xmm2, [rsp+38h+arg_4] ; +0x91, 0x180012931 movaps xmm3, xmm1 ; +0x97, 0x180012937 mov eax, [rbx+1B0h] ; +0x9a, 0x18001293a movaps xmm0, xmm2 ; +0xa0, 0x180012940 cmp eax, 2 ; +0xa3, 0x180012943 jz short loc_18001294C ; +0xa6, 0x180012946 test eax, eax ; +0xa8, 0x180012948 jnz short loc_180012958 ; +0xaa, 0x18001294a maxss xmm1, [rsp+38h+arg_18] ; +0xac, 0x18001294c minss xmm1, [rsp+38h+arg_10] ; +0xb2, 0x180012952 dec eax ; +0xb8, 0x180012958 cmp eax, 1 ; +0xba, 0x18001295a ja short loc_18001296B ; +0xbd, 0x18001295d minss xmm2, [rsp+38h+arg_14] ; +0xbf, 0x18001295f maxss xmm2, [rsp+38h+arg_1C] ; +0xc5, 0x180012965 ucomiss xmm2, xmm0 ; +0xcb, 0x18001296b jp short loc_180012979 ; +0xce, 0x18001296e jnz short loc_180012979 ; +0xd0, 0x180012970 ucomiss xmm1, xmm3 ; +0xd2, 0x180012972 jp short loc_180012979 ; +0xd5, 0x180012975 jz short loc_180012993 ; +0xd7, 0x180012977 lea rcx, [rsp+38h+var_18] ; +0xd9, 0x180012979 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xde, 0x18001297e movzx r8d, dil ; +0xe4, 0x180012984 mov rcx, rbx ; +0xe8, 0x180012988 mov rdx, rax ; +0xeb, 0x18001298b call ?setContentOffset@CCScrollView@extension@cocos2d@@QEAAXVCCPoint@3@_N@Z; cocos2d::extension::CCScrollView::setContentOffset(cocos2d::CCPoint,bool) ; +0xee, 0x18001298e mov rbx, [rsp+38h+arg_8] ; +0xf3, 0x180012993 add rsp, 30h ; +0xf8, 0x180012998 pop rdi ; +0xfc, 0x18001299c retn ; +0xfd, 0x18001299d