; ; EditorUI::updatePanDecay from 0x1401c5260 to 0x1401c5354 (244 bytes) ; ; 3 xrefs: ; > EditorUI::scrollWheel @ 0x1401c5230 ; > EditorUI::updatePanDecay @ 0x1401c5332 ; > @ 0x14091a714 ; ; 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:28:04 +0000 ; push rbx ; +0x0, 0x1401c5260 sub rsp, 30h ; +0x2, 0x1401c5262 movss xmm5, dword ptr [rcx+6ACh] ; +0x6, 0x1401c5266 xor eax, eax ; +0xe, 0x1401c526e movss xmm4, dword ptr [rcx+6B0h] ; +0x10, 0x1401c5270 movaps xmm3, xmm5 ; +0x18, 0x1401c5278 mulss xmm3, xmm1 ; +0x1b, 0x1401c527b movaps xmm2, xmm4 ; +0x1f, 0x1401c527f mov rbx, rcx ; +0x22, 0x1401c5282 mulss xmm2, xmm1 ; +0x25, 0x1401c5285 mulss xmm3, cs:dword_14083555C ; +0x29, 0x1401c5289 mulss xmm2, cs:dword_14083555C ; +0x31, 0x1401c5291 movdqa xmm1, cs:xmmword_140836C90 ; +0x39, 0x1401c5299 subss xmm5, xmm3 ; +0x41, 0x1401c52a1 movaps [rsp+38h+var_18], xmm6 ; +0x45, 0x1401c52a5 movss xmm6, cs:dword_140834E00 ; +0x4a, 0x1401c52aa subss xmm4, xmm2 ; +0x52, 0x1401c52b2 movaps xmm0, xmm5 ; +0x56, 0x1401c52b6 movss dword ptr [rcx+6ACh], xmm5 ; +0x59, 0x1401c52b9 andps xmm0, xmm1 ; +0x61, 0x1401c52c1 comiss xmm6, xmm0 ; +0x64, 0x1401c52c4 movss dword ptr [rcx+6B0h], xmm4 ; +0x67, 0x1401c52c7 jbe short loc_1401C52DB ; +0x6f, 0x1401c52cf addss xmm3, xmm5 ; +0x71, 0x1401c52d1 mov [rcx+6ACh], eax ; +0x75, 0x1401c52d5 movaps xmm0, xmm4 ; +0x7b, 0x1401c52db andps xmm0, xmm1 ; +0x7e, 0x1401c52de comiss xmm6, xmm0 ; +0x81, 0x1401c52e1 jbe short loc_1401C52F0 ; +0x84, 0x1401c52e4 addss xmm2, xmm4 ; +0x86, 0x1401c52e6 mov [rcx+6B0h], eax ; +0x8a, 0x1401c52ea movaps xmm1, xmm3 ; +0x90, 0x1401c52f0 lea rcx, [rsp+38h+arg_0] ; +0x93, 0x1401c52f3 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x98, 0x1401c52f8 mov rdx, rax ; +0x9e, 0x1401c52fe mov rcx, rbx ; +0xa1, 0x1401c5301 call EditorUI__moveGamelayer ; +0xa4, 0x1401c5304 mov rcx, rbx ; +0xa9, 0x1401c5309 call EditorUI__updateSlider ; +0xac, 0x1401c530c movss xmm0, dword ptr [rbx+6ACh] ; +0xb1, 0x1401c5311 xorps xmm1, xmm1 ; +0xb9, 0x1401c5319 ucomiss xmm0, xmm1 ; +0xbc, 0x1401c531c jp short loc_1401C5349 ; +0xbf, 0x1401c531f jnz short loc_1401C5349 ; +0xc1, 0x1401c5321 movss xmm0, dword ptr [rbx+6B0h] ; +0xc3, 0x1401c5323 ucomiss xmm0, xmm1 ; +0xcb, 0x1401c532b jp short loc_1401C5349 ; +0xce, 0x1401c532e jnz short loc_1401C5349 ; +0xd0, 0x1401c5330 lea rdx, EditorUI__updatePanDecay ; +0xd2, 0x1401c5332 mov rcx, rbx ; +0xd9, 0x1401c5339 call cs:?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0xdc, 0x1401c533c mov byte ptr [rbx+6B4h], 0 ; +0xe2, 0x1401c5342 movaps xmm6, [rsp+38h+var_18] ; +0xe9, 0x1401c5349 add rsp, 30h ; +0xee, 0x1401c534e pop rbx ; +0xf2, 0x1401c5352 retn ; +0xf3, 0x1401c5353