; ; BoomScrollLayer::instantMoveToPage from 0x140041750 to 0x140041824 (212 bytes) ; ; 16 xrefs: ; > ListButtonBar::goToPage @ 0x140078328 ; > ListButtonBar::goToPage @ 0x140078336 ; > EditButtonBar::loadFromItems @ 0x1401778ed ; > EditButtonBar::loadFromItems @ 0x1401778fb ; > EditButtonBar::goToPage @ 0x140177adf ; > EditButtonBar::goToPage @ 0x140177aed ; > EditorUI::updateCreateMenu @ 0x1401b240f ; > EditorUI::updateCreateMenu @ 0x1401b241d ; > GauntletSelectLayer::goToPage @ 0x1402ff489 ; > GJShopLayer::init @ 0x1403b1a0e ; > GJShopLayer::init @ 0x1403b1a1c ; > LevelSelectLayer::init @ 0x140441f13 ; > LevelSelectLayer::init @ 0x140441f21 ; > SecretRewardsLayer::init @ 0x14056a68a ; > SecretRewardsLayer::init @ 0x14056a698 ; > @ 0x14090f530 ; ; 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:29 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x140041750 push rdi ; +0x5, 0x140041755 sub rsp, 20h ; +0x6, 0x140041756 cmp byte ptr [rcx+1B4h], 0 ; +0xa, 0x14004175a mov edi, edx ; +0x11, 0x140041761 mov rbx, rcx ; +0x13, 0x140041763 jnz short loc_140041797 ; +0x16, 0x140041766 test edx, edx ; +0x18, 0x140041768 js loc_140041819 ; +0x1a, 0x14004176a cmp byte ptr [rcx+1C8h], 0 ; +0x20, 0x140041770 jz short loc_140041782 ; +0x27, 0x140041777 mov rcx, [rcx+1C0h] ; +0x29, 0x140041779 jmp short loc_140041789 ; +0x30, 0x140041780 mov rcx, [rcx+1E0h] ; +0x32, 0x140041782 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x39, 0x140041789 cmp edi, eax ; +0x3f, 0x14004178f jge loc_140041819 ; +0x41, 0x140041791 mov rcx, [rbx+1F8h] ; +0x47, 0x140041797 mov edx, 2 ; +0x4e, 0x14004179e call cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x53, 0x1400417a3 mov rax, [rbx] ; +0x59, 0x1400417a9 mov rcx, rbx ; +0x5c, 0x1400417ac mov byte ptr [rbx+228h], 0 ; +0x5f, 0x1400417af call qword ptr [rax+140h] ; +0x66, 0x1400417b6 xorps xmm2, xmm2 ; +0x6c, 0x1400417bc lea rcx, [rsp+28h+arg_0] ; +0x6f, 0x1400417bf movss xmm1, dword ptr [rax] ; +0x74, 0x1400417c4 mov eax, edi ; +0x78, 0x1400417c8 subss xmm1, dword ptr [rbx+250h] ; +0x7a, 0x1400417ca neg eax ; +0x82, 0x1400417d2 movd xmm0, eax ; +0x84, 0x1400417d4 cvtdq2ps xmm0, xmm0 ; +0x88, 0x1400417d8 mulss xmm1, xmm0 ; +0x8b, 0x1400417db call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x8f, 0x1400417df mov rcx, [rbx+1F8h] ; +0x95, 0x1400417e5 lea rdx, [rsp+28h+arg_0] ; +0x9c, 0x1400417ec mov rax, [rcx] ; +0xa1, 0x1400417f1 call qword ptr [rax+0B8h] ; +0xa4, 0x1400417f4 cmp byte ptr [rbx+1B4h], 0 ; +0xaa, 0x1400417fa mov [rbx+24Ch], edi ; +0xb1, 0x140041801 jz short loc_140041811 ; +0xb7, 0x140041807 mov rcx, rbx ; +0xb9, 0x140041809 call BoomScrollLayer__repositionPagesLooped ; +0xbc, 0x14004180c mov rcx, rbx ; +0xc1, 0x140041811 call BoomScrollLayer__moveToPageEnded ; +0xc4, 0x140041814 mov rbx, [rsp+28h+arg_8] ; +0xc9, 0x140041819 add rsp, 20h ; +0xce, 0x14004181e pop rdi ; +0xd2, 0x140041822 retn ; +0xd3, 0x140041823