; ; BoomScrollLayer::instantMoveToPage from 0x14003de10 to 0x14003dee4 (212 bytes) ; ; 20 xrefs: ; > ListButtonBar::goToPage @ 0x14006b3f8 ; > ListButtonBar::goToPage @ 0x14006b406 ; > EditButtonBar::loadFromItems @ 0x1400d4e88 ; > EditButtonBar::loadFromItems @ 0x1400d4e96 ; > EditButtonBar::goToPage @ 0x1400d4f2f ; > EditButtonBar::goToPage @ 0x1400d4f47 ; > EditButtonBar::onRight @ 0x1400d4f97 ; > EditButtonBar::onRight @ 0x1400d4fb5 ; > EditButtonBar::onLeft @ 0x1400d5003 ; > EditButtonBar::onLeft @ 0x1400d501c ; > EditorUI::updateCreateMenu @ 0x14010f3b2 ; > EditorUI::updateCreateMenu @ 0x14010f3c0 ; > GauntletSelectLayer::goToPage @ 0x1401fa589 ; > GJShopLayer::init @ 0x1402ab6be ; > GJShopLayer::init @ 0x1402ab6cc ; > LevelSelectLayer::init @ 0x140318c48 ; > LevelSelectLayer::init @ 0x140318c57 ; > SecretRewardsLayer::init @ 0x1403d4c38 ; > SecretRewardsLayer::init @ 0x1403d4c46 ; > @ 0x1406c4038 ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x14003de10 push rdi ; +0x5, 0x14003de15 sub rsp, 20h ; +0x6, 0x14003de16 cmp byte ptr [rcx+1ACh], 0 ; +0xa, 0x14003de1a mov edi, edx ; +0x11, 0x14003de21 mov rbx, rcx ; +0x13, 0x14003de23 jnz short loc_14003DE57 ; +0x16, 0x14003de26 test edx, edx ; +0x18, 0x14003de28 js loc_14003DED9 ; +0x1a, 0x14003de2a cmp byte ptr [rcx+1C0h], 0 ; +0x20, 0x14003de30 jz short loc_14003DE42 ; +0x27, 0x14003de37 mov rcx, [rcx+1B8h] ; +0x29, 0x14003de39 jmp short loc_14003DE49 ; +0x30, 0x14003de40 mov rcx, [rcx+1D8h] ; +0x32, 0x14003de42 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x39, 0x14003de49 cmp edi, eax ; +0x3f, 0x14003de4f jge loc_14003DED9 ; +0x41, 0x14003de51 mov rcx, [rbx+1F0h] ; +0x47, 0x14003de57 mov edx, 2 ; +0x4e, 0x14003de5e call cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x53, 0x14003de63 mov rax, [rbx] ; +0x59, 0x14003de69 mov rcx, rbx ; +0x5c, 0x14003de6c mov byte ptr [rbx+220h], 0 ; +0x5f, 0x14003de6f call qword ptr [rax+130h] ; +0x66, 0x14003de76 xorps xmm2, xmm2 ; +0x6c, 0x14003de7c lea rcx, [rsp+28h+arg_0] ; +0x6f, 0x14003de7f movss xmm1, dword ptr [rax] ; +0x74, 0x14003de84 mov eax, edi ; +0x78, 0x14003de88 subss xmm1, dword ptr [rbx+248h] ; +0x7a, 0x14003de8a neg eax ; +0x82, 0x14003de92 movd xmm0, eax ; +0x84, 0x14003de94 cvtdq2ps xmm0, xmm0 ; +0x88, 0x14003de98 mulss xmm1, xmm0 ; +0x8b, 0x14003de9b call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x8f, 0x14003de9f mov rcx, [rbx+1F0h] ; +0x95, 0x14003dea5 lea rdx, [rsp+28h+arg_0] ; +0x9c, 0x14003deac mov rax, [rcx] ; +0xa1, 0x14003deb1 call qword ptr [rax+0B8h] ; +0xa4, 0x14003deb4 cmp byte ptr [rbx+1ACh], 0 ; +0xaa, 0x14003deba mov [rbx+244h], edi ; +0xb1, 0x14003dec1 jz short loc_14003DED1 ; +0xb7, 0x14003dec7 mov rcx, rbx ; +0xb9, 0x14003dec9 call BoomScrollLayer__repositionPagesLooped ; +0xbc, 0x14003decc mov rcx, rbx ; +0xc1, 0x14003ded1 call BoomScrollLayer__moveToPageEnded ; +0xc4, 0x14003ded4 mov rbx, [rsp+28h+arg_8] ; +0xc9, 0x14003ded9 add rsp, 20h ; +0xce, 0x14003dede pop rdi ; +0xd2, 0x14003dee2 retn ; +0xd3, 0x14003dee3