; ; BoomScrollLayer::moveToPage from 0x1003a6610 to 0x1003a67bb (427 bytes) ; ; 16 xrefs: ; > BoomScrollLayer::addPage_1 @ 0x1003a6942 ; > BoomScrollLayer::addPage @ 0x1003a69b6 ; > BoomScrollLayer::removePage @ 0x1003a6a40 ; > BoomScrollLayer::removePageWithNumber @ 0x1003a6b03 ; > BoomScrollLayer::ccTouchEnded @ 0x1003a74fb ; > WorldSelectLayer::goToPage @ 0x1003c2c53 ; > ListButtonBar::onLeft @ 0x1003f0377 ; > ListButtonBar::onRight @ 0x1003f0417 ; > ListButtonBar::goToPage @ 0x1003f04bb ; > LevelSelectLayer::onPrev @ 0x1004329ba ; > LevelSelectLayer::onNext @ 0x1004329ea ; > LevelSelectLayer::keyDown @ 0x1004347f4 ; > LevelSelectLayer::keyDown @ 0x100434820 ; > GauntletSelectLayer::goToPage @ 0x100572f61 ; > SecretRewardsLayer::onSwitchPage @ 0x1006329e4 ; > SecretRewardsLayer::goToPage @ 0x100632a21 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbp ; +0x0, 0x1003a6610 mov rbp, rsp ; +0x1, 0x1003a6611 push r15 ; +0x4, 0x1003a6614 push r14 ; +0x6, 0x1003a6616 push r12 ; +0x8, 0x1003a6618 push rbx ; +0xa, 0x1003a661a sub rsp, 10h ; +0xb, 0x1003a661b mov r14d, esi ; +0xf, 0x1003a661f mov rbx, rdi ; +0x12, 0x1003a6622 cmp byte ptr [rdi+1ACh], 0 ; +0x15, 0x1003a6625 jnz short loc_1003A665A ; +0x1c, 0x1003a662c test r14d, r14d ; +0x1e, 0x1003a662e js loc_1003A67AE ; +0x21, 0x1003a6631 movzx eax, byte ptr [rbx+1C0h] ; +0x27, 0x1003a6637 xor eax, 1 ; +0x2e, 0x1003a663e shl eax, 5 ; +0x31, 0x1003a6641 mov rdi, [rax+rbx+1B8h] ; +0x34, 0x1003a6644 call sub_100720070 ; +0x3c, 0x1003a664c cmp eax, r14d ; +0x41, 0x1003a6651 jle loc_1003A67AE ; +0x44, 0x1003a6654 mov byte ptr [rbx+220h], 1 ; +0x4a, 0x1003a665a mov eax, r14d ; +0x51, 0x1003a6661 neg eax ; +0x54, 0x1003a6664 cvtsi2ss xmm0, eax ; +0x56, 0x1003a6666 movss [rbp+var_24], xmm0 ; +0x5a, 0x1003a666a mov rax, [rbx] ; +0x5f, 0x1003a666f mov rdi, rbx ; +0x62, 0x1003a6672 call qword ptr [rax+138h] ; +0x65, 0x1003a6675 movss xmm0, dword ptr [rax] ; +0x6b, 0x1003a667b subss xmm0, dword ptr [rbx+248h] ; +0x6f, 0x1003a667f mulss xmm0, [rbp+var_24] ; +0x77, 0x1003a6687 lea r12, [rbp+var_2C] ; +0x7c, 0x1003a668c xorps xmm1, xmm1 ; +0x80, 0x1003a6690 mov rdi, r12 ; +0x83, 0x1003a6693 call sub_10028CBE0 ; +0x86, 0x1003a6696 lea r15, [rbx+1E8h] ; +0x8b, 0x1003a669b mov rdi, r15 ; +0x92, 0x1003a66a2 mov rsi, r12 ; +0x95, 0x1003a66a5 call sub_10028CC90 ; +0x98, 0x1003a66a8 mov rdi, [rbx+1F0h] ; +0x9d, 0x1003a66ad mov esi, 2 ; +0xa4, 0x1003a66b4 call cocos2d__CCNode__stopActionByTag ; +0xa9, 0x1003a66b9 movss xmm0, dword ptr [rbx+1A8h] ; +0xae, 0x1003a66be ucomiss xmm0, dword ptr [rbx+20Ch] ; +0xb6, 0x1003a66c6 jbe short loc_1003A66D9 ; +0xbd, 0x1003a66cd movss xmm3, cs:dword_100817FB4 ; +0xbf, 0x1003a66cf jmp short loc_1003A66F4 ; +0xc7, 0x1003a66d7 ucomiss xmm0, dword ptr [rbx+210h] ; +0xc9, 0x1003a66d9 jbe short loc_1003A66EC ; +0xd0, 0x1003a66e0 movss xmm3, cs:dword_1008178E0 ; +0xd2, 0x1003a66e2 jmp short loc_1003A66F4 ; +0xda, 0x1003a66ea movss xmm3, cs:dword_1008178E8 ; +0xdc, 0x1003a66ec movss xmm1, dword ptr [rbx+214h] ; +0xe4, 0x1003a66f4 xorps xmm0, xmm0 ; +0xec, 0x1003a66fc cmpltss xmm0, xmm1 ; +0xef, 0x1003a66ff andps xmm1, xmm0 ; +0xf4, 0x1003a6704 movss xmm2, cs:alpha ; +0xf7, 0x1003a6707 andnps xmm0, xmm2 ; +0xff, 0x1003a670f orps xmm0, xmm1 ; +0x102, 0x1003a6712 mulss xmm0, xmm3 ; +0x105, 0x1003a6715 mov dword ptr [rbx+1A8h], 0 ; +0x109, 0x1003a6719 mov rdi, r15 ; +0x113, 0x1003a6723 call cocos2d__CCMoveTo__create ; +0x116, 0x1003a6726 movss xmm0, cs:dword_100814FA8 ; +0x11b, 0x1003a672b mov rdi, rax ; +0x123, 0x1003a6733 call cocos2d__CCEaseElasticOut__create ; +0x126, 0x1003a6736 mov r15, rax ; +0x12b, 0x1003a673b lea rsi, BoomScrollLayer__moveToPageEnded ; +0x12e, 0x1003a673e mov rdi, rbx ; +0x135, 0x1003a6745 xor edx, edx ; +0x138, 0x1003a6748 call cocos2d__CCCallFunc__create ; +0x13a, 0x1003a674a mov rdi, r15 ; +0x13f, 0x1003a674f mov rsi, rax ; +0x142, 0x1003a6752 xor edx, edx ; +0x145, 0x1003a6755 xor eax, eax ; +0x147, 0x1003a6757 call sub_1003B5760 ; +0x149, 0x1003a6759 mov r15, rax ; +0x14e, 0x1003a675e mov rdi, [rbx+1F0h] ; +0x151, 0x1003a6761 mov rsi, rax ; +0x158, 0x1003a6768 call cocos2d__CCNode__runAction ; +0x15b, 0x1003a676b mov rax, [r15] ; +0x160, 0x1003a6770 mov rdi, r15 ; +0x163, 0x1003a6773 mov esi, 2 ; +0x166, 0x1003a6776 call qword ptr [rax+48h] ; +0x16b, 0x1003a677b mov [rbx+244h], r14d ; +0x16e, 0x1003a677e mov rdi, [rbx+218h] ; +0x175, 0x1003a6785 test rdi, rdi ; +0x17c, 0x1003a678c jz short loc_1003A679D ; +0x17f, 0x1003a678f mov rax, [rdi] ; +0x181, 0x1003a6791 mov rsi, rbx ; +0x184, 0x1003a6794 mov edx, r14d ; +0x187, 0x1003a6797 call qword ptr [rax+18h] ; +0x18a, 0x1003a679a cmp byte ptr [rbx+1ACh], 1 ; +0x18d, 0x1003a679d jnz short loc_1003A67AE ; +0x194, 0x1003a67a4 mov rdi, rbx ; +0x196, 0x1003a67a6 call BoomScrollLayer__repositionPagesLooped ; +0x199, 0x1003a67a9 add rsp, 10h ; +0x19e, 0x1003a67ae pop rbx ; +0x1a2, 0x1003a67b2 pop r12 ; +0x1a3, 0x1003a67b3 pop r14 ; +0x1a5, 0x1003a67b5 pop r15 ; +0x1a7, 0x1003a67b7 pop rbp ; +0x1a9, 0x1003a67b9 retn ; +0x1aa, 0x1003a67ba