; ; CCScrollLayerExt::updateScrollDecay from 0x14004b9a0 to 0x14004bae8 (328 bytes) ; ; 3 xrefs: ; > CCScrollLayerExt::updateScrollDecay @ 0x14004babc ; > TableView::scrollWheel @ 0x140088b2b ; > @ 0x14090fe90 ; ; 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:25:33 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x14004b9a0 mov [rsp+arg_18], rsi ; +0x5, 0x14004b9a5 push rdi ; +0xa, 0x14004b9aa sub rsp, 30h ; +0xb, 0x14004b9ab movss xmm3, dword ptr [rcx+200h] ; +0xf, 0x14004b9af mov rsi, rcx ; +0x17, 0x14004b9b7 movss xmm0, cs:dword_140834E00 ; +0x1a, 0x14004b9ba movaps xmm2, xmm3 ; +0x22, 0x14004b9c2 mulss xmm2, xmm1 ; +0x25, 0x14004b9c5 movaps [rsp+38h+var_18], xmm6 ; +0x29, 0x14004b9c9 mulss xmm2, cs:dword_14083555C ; +0x2e, 0x14004b9ce subss xmm3, xmm2 ; +0x36, 0x14004b9d6 movaps xmm1, xmm3 ; +0x3a, 0x14004b9da movss dword ptr [rcx+200h], xmm3 ; +0x3d, 0x14004b9dd andps xmm1, cs:xmmword_140836C90 ; +0x45, 0x14004b9e5 comiss xmm0, xmm1 ; +0x4c, 0x14004b9ec jbe short loc_14004B9FF ; +0x4f, 0x14004b9ef addss xmm2, xmm3 ; +0x51, 0x14004b9f1 mov dword ptr [rcx+200h], 0 ; +0x55, 0x14004b9f5 xorps xmm1, xmm1 ; +0x5f, 0x14004b9ff lea rcx, [rsp+38h+arg_10] ; +0x62, 0x14004ba02 xorps xmm6, xmm6 ; +0x67, 0x14004ba07 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x6a, 0x14004ba0a mov rcx, [rsi+1E0h] ; +0x70, 0x14004ba10 mov rbx, rax ; +0x77, 0x14004ba17 mov rdx, [rcx] ; +0x7a, 0x14004ba1a call qword ptr [rdx+0C8h] ; +0x7d, 0x14004ba1d mov r8, rbx ; +0x83, 0x14004ba23 lea rdx, [rsp+38h+arg_0] ; +0x86, 0x14004ba26 mov rcx, rax ; +0x8b, 0x14004ba2b call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x8e, 0x14004ba2e mov rax, [rsi] ; +0x94, 0x14004ba34 mov rcx, rsi ; +0x97, 0x14004ba37 mov rdi, [rsi+1E0h] ; +0x9a, 0x14004ba3a call qword ptr [rax+140h] ; +0xa1, 0x14004ba41 mov rdx, [rdi] ; +0xa7, 0x14004ba47 mov rcx, rdi ; +0xaa, 0x14004ba4a mov rbx, rax ; +0xad, 0x14004ba4d call qword ptr [rdx+140h] ; +0xb0, 0x14004ba50 movss xmm1, dword ptr [rbx+4] ; +0xb6, 0x14004ba56 movss xmm2, [rsp+38h+arg_4] ; +0xbb, 0x14004ba5b movss xmm0, dword ptr [rsi+1F4h] ; +0xc1, 0x14004ba61 subss xmm1, dword ptr [rax+4] ; +0xc9, 0x14004ba69 subss xmm1, dword ptr [rsi+1F0h] ; +0xce, 0x14004ba6e comiss xmm1, xmm2 ; +0xd6, 0x14004ba76 jbe short loc_14004BA83 ; +0xd9, 0x14004ba79 movss [rsp+38h+arg_4], xmm1 ; +0xdb, 0x14004ba7b jmp short loc_14004BA8E ; +0xe1, 0x14004ba81 comiss xmm2, xmm0 ; +0xe3, 0x14004ba83 jbe short loc_14004BA98 ; +0xe6, 0x14004ba86 movss [rsp+38h+arg_4], xmm0 ; +0xe8, 0x14004ba88 mov dword ptr [rsi+200h], 0 ; +0xee, 0x14004ba8e mov rcx, [rsi+1E0h] ; +0xf8, 0x14004ba98 lea rdx, [rsp+38h+arg_0] ; +0xff, 0x14004ba9f mov rax, [rcx] ; +0x104, 0x14004baa4 call qword ptr [rax+0B8h] ; +0x107, 0x14004baa7 movss xmm0, dword ptr [rsi+200h] ; +0x10d, 0x14004baad ucomiss xmm0, xmm6 ; +0x115, 0x14004bab5 jp short loc_14004BAD3 ; +0x118, 0x14004bab8 jnz short loc_14004BAD3 ; +0x11a, 0x14004baba lea rdx, CCScrollLayerExt__updateScrollDecay ; +0x11c, 0x14004babc mov rcx, rsi ; +0x123, 0x14004bac3 call cs:?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x126, 0x14004bac6 mov byte ptr [rsi+204h], 0 ; +0x12c, 0x14004bacc mov rbx, [rsp+38h+arg_8] ; +0x133, 0x14004bad3 mov rsi, [rsp+38h+arg_18] ; +0x138, 0x14004bad8 movaps xmm6, [rsp+38h+var_18] ; +0x13d, 0x14004badd add rsp, 30h ; +0x142, 0x14004bae2 pop rdi ; +0x146, 0x14004bae6 retn ; +0x147, 0x14004bae7