; ; BoomScrollLayer::instantMoveToPage from 0x1003a6530 to 0x1003a6608 (216 bytes) ; ; 20 xrefs: ; > WorldSelectLayer::goToPage @ 0x1003c2c24 ; > ListButtonBar::onLeft @ 0x1003f03a7 ; > ListButtonBar::onLeft @ 0x1003f03b6 ; > ListButtonBar::onRight @ 0x1003f0443 ; > ListButtonBar::onRight @ 0x1003f0452 ; > ListButtonBar::goToPage @ 0x1003f04e0 ; > ListButtonBar::goToPage @ 0x1003f04ee ; > LevelSelectLayer::init @ 0x100432430 ; > LevelSelectLayer::init @ 0x10043246a ; > GauntletSelectLayer::goToPage @ 0x100572f5a ; > EditButtonBar::loadFromItems @ 0x1005e2367 ; > EditButtonBar::loadFromItems @ 0x1005e2375 ; > EditButtonBar::onLeft @ 0x1005e24d2 ; > EditButtonBar::onLeft @ 0x1005e24eb ; > EditButtonBar::onRight @ 0x1005e251e ; > EditButtonBar::onRight @ 0x1005e2537 ; > EditButtonBar::goToPage @ 0x1005e2582 ; > EditButtonBar::goToPage @ 0x1005e2594 ; > SecretRewardsLayer::init @ 0x100631f9c ; > SecretRewardsLayer::init @ 0x100631faa ; ; 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, 0x1003a6530 mov rbp, rsp ; +0x1, 0x1003a6531 push r15 ; +0x4, 0x1003a6534 push r14 ; +0x6, 0x1003a6536 push rbx ; +0x8, 0x1003a6538 sub rsp, 18h ; +0x9, 0x1003a6539 mov r14d, esi ; +0xd, 0x1003a653d mov rbx, rdi ; +0x10, 0x1003a6540 cmp byte ptr [rdi+1ACh], 0 ; +0x13, 0x1003a6543 jnz short loc_1003A6578 ; +0x1a, 0x1003a654a test r14d, r14d ; +0x1c, 0x1003a654c js loc_1003A65FD ; +0x1f, 0x1003a654f movzx eax, byte ptr [rbx+1C0h] ; +0x25, 0x1003a6555 xor eax, 1 ; +0x2c, 0x1003a655c shl eax, 5 ; +0x2f, 0x1003a655f mov rdi, [rax+rbx+1B8h] ; +0x32, 0x1003a6562 call sub_100720070 ; +0x3a, 0x1003a656a cmp eax, r14d ; +0x3f, 0x1003a656f jle loc_1003A65FD ; +0x42, 0x1003a6572 mov rdi, [rbx+1F0h] ; +0x48, 0x1003a6578 mov esi, 2 ; +0x4f, 0x1003a657f call cocos2d__CCNode__stopActionByTag ; +0x54, 0x1003a6584 mov byte ptr [rbx+220h], 0 ; +0x59, 0x1003a6589 mov eax, r14d ; +0x60, 0x1003a6590 neg eax ; +0x63, 0x1003a6593 cvtsi2ss xmm0, eax ; +0x65, 0x1003a6595 movss [rbp+var_1C], xmm0 ; +0x69, 0x1003a6599 mov rax, [rbx] ; +0x6e, 0x1003a659e mov rdi, rbx ; +0x71, 0x1003a65a1 call qword ptr [rax+138h] ; +0x74, 0x1003a65a4 movss xmm0, dword ptr [rax] ; +0x7a, 0x1003a65aa subss xmm0, dword ptr [rbx+248h] ; +0x7e, 0x1003a65ae mulss xmm0, [rbp+var_1C] ; +0x86, 0x1003a65b6 lea r15, [rbp+var_24] ; +0x8b, 0x1003a65bb xorps xmm1, xmm1 ; +0x8f, 0x1003a65bf mov rdi, r15 ; +0x92, 0x1003a65c2 call sub_10028CBE0 ; +0x95, 0x1003a65c5 mov rdi, [rbx+1F0h] ; +0x9a, 0x1003a65ca mov rax, [rdi] ; +0xa1, 0x1003a65d1 mov rsi, r15 ; +0xa4, 0x1003a65d4 call qword ptr [rax+0B8h] ; +0xa7, 0x1003a65d7 mov [rbx+244h], r14d ; +0xad, 0x1003a65dd cmp byte ptr [rbx+1ACh], 1 ; +0xb4, 0x1003a65e4 jnz short loc_1003A65F5 ; +0xbb, 0x1003a65eb mov rdi, rbx ; +0xbd, 0x1003a65ed call BoomScrollLayer__repositionPagesLooped ; +0xc0, 0x1003a65f0 mov rdi, rbx ; +0xc5, 0x1003a65f5 call BoomScrollLayer__moveToPageEnded ; +0xc8, 0x1003a65f8 add rsp, 18h ; +0xcd, 0x1003a65fd pop rbx ; +0xd1, 0x1003a6601 pop r14 ; +0xd2, 0x1003a6602 pop r15 ; +0xd4, 0x1003a6604 pop rbp ; +0xd6, 0x1003a6606 retn ; +0xd7, 0x1003a6607