{"type": "func", "start": 6856788, "end": 6856996, "name": "BoomScrollLayer::instantMoveToPage", "pseudocode": "// \n// BoomScrollLayer::instantMoveToPage from 0x68a054 to 0x68a124 (208 bytes)\n// \n// 14 xrefs:\n// > ListButtonBar::goToPage @ 0x6c8c64\n// > ListButtonBar::goToPage @ 0x6c8c70\n// > EditButtonBar::goToPage @ 0x86132c\n// > EditButtonBar::goToPage @ 0x861338\n// > EditButtonBar::loadFromItems @ 0x861d50\n// > EditButtonBar::loadFromItems @ 0x861d5c\n// > LevelSelectLayer::init @ 0x8c5548\n// > LevelSelectLayer::init @ 0x8c5924\n// > LevelSelectLayer::init @ 0x8c5930\n// > GauntletSelectLayer::goToPage @ 0xa71fc4\n// > WorldSelectLayer::goToPage @ 0xaa6030\n// > SecretRewardsLayer::init @ 0xba0584\n// > SecretRewardsLayer::init @ 0xba0590\n// > <???> @ 0xc43a8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:50:32 +0000\n// \n\n__int64 __fastcall BoomScrollLayer::instantMoveToPage(cocos2d::CCNode **this, int a2)\n{\n  _BYTE v5[8]; // [xsp+30h] [xbp+30h] BYREF\n\n  if ( *((_BYTE *)this + 436) || (a2 & 0x80000000) == 0 && a2 < (int)BoomScrollLayer::getTotalPages(this) )\n  {\n    cocos2d::CCNode::stopActionByTag(*(this + 63), 2);\n    *((_BYTE *)this + 552) = 0;\n    BoomScrollLayer::positionForPageWithNumber((BoomScrollLayer *)this, a2, (cocos2d::CCPoint *)v5);\n    (*(void (__fastcall **)(_QWORD, _BYTE *))(*(_QWORD *)*(this + 63) + 184LL))(*(this + 63), v5);\n    *((_DWORD *)this + 147) = a2;\n    if ( *((_BYTE *)this + 436) )\n      BoomScrollLayer::repositionPagesLooped((BoomScrollLayer *)this);\n    BoomScrollLayer::moveToPageEnded((BoomScrollLayer *)this);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; BoomScrollLayer::instantMoveToPage from 0x68a054 to 0x68a124 (208 bytes)\n; \n; 14 xrefs:\n; > ListButtonBar::goToPage @ 0x6c8c64\n; > ListButtonBar::goToPage @ 0x6c8c70\n; > EditButtonBar::goToPage @ 0x86132c\n; > EditButtonBar::goToPage @ 0x861338\n; > EditButtonBar::loadFromItems @ 0x861d50\n; > EditButtonBar::loadFromItems @ 0x861d5c\n; > LevelSelectLayer::init @ 0x8c5548\n; > LevelSelectLayer::init @ 0x8c5924\n; > LevelSelectLayer::init @ 0x8c5930\n; > GauntletSelectLayer::goToPage @ 0xa71fc4\n; > WorldSelectLayer::goToPage @ 0xaa6030\n; > SecretRewardsLayer::init @ 0xba0584\n; > SecretRewardsLayer::init @ 0xba0590\n; > <???> @ 0xc43a8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:50:32 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x68a054\nMOV             X29, SP                                                ; +0x4, 0x68a058\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x68a05c\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x68a060\nMOV             X19, X0                                                ; +0x10, 0x68a064\nSTP             X21, X22, [SP,#0x40+var_20]                            ; +0x14, 0x68a068\nMOV             W22, W1                                                ; +0x18, 0x68a06c\nLDR             X2, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x68a070\nLDRB            W1, [X0,#0x1B4]                                        ; +0x20, 0x68a074\nLDR             X2, [X2]                                               ; +0x24, 0x68a078\nSTR             X2, [X29,#0x40+var_8]                                  ; +0x28, 0x68a07c\nCBNZ            W1, loc_68A0B8                                         ; +0x2c, 0x68a080\nTBNZ            W22, #0x1F, loc_68A094                                 ; +0x30, 0x68a084\nBL              _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x34, 0x68a088\nCMP             W22, W0                                                ; +0x38, 0x68a08c\nB.LT            loc_68A0B8                                             ; +0x3c, 0x68a090\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x40, 0x68a094\nLDR             X1, [X29,#0x40+var_8]                                  ; +0x44, 0x68a098\nLDR             X0, [X20]                                              ; +0x48, 0x68a09c\nCMP             X1, X0                                                 ; +0x4c, 0x68a0a0\nB.NE            loc_68A120                                             ; +0x50, 0x68a0a4\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x54, 0x68a0a8\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0x58, 0x68a0ac\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x5c, 0x68a0b0\nRET                                                                    ; +0x60, 0x68a0b4\nLDR             X0, [X19,#0x1F8]; this                                 ; +0x64, 0x68a0b8\nMOV             W1, #2; int                                            ; +0x68, 0x68a0bc\nADD             X21, X29, #0x40+var_10                                 ; +0x6c, 0x68a0c0\nBL              _ZN7cocos2d6CCNode15stopActionByTagEi; cocos2d::CCNode::stopActionByTag(int) ; +0x70, 0x68a0c4\nSTRB            WZR, [X19,#0x228]                                      ; +0x74, 0x68a0c8\nMOV             X8, X21                                                ; +0x78, 0x68a0cc\nMOV             X0, X19; this                                          ; +0x7c, 0x68a0d0\nMOV             W1, W22; int                                           ; +0x80, 0x68a0d4\nBL              _ZN15BoomScrollLayer25positionForPageWithNumberEi; BoomScrollLayer::positionForPageWithNumber(int) ; +0x84, 0x68a0d8\nLDR             X2, [X19,#0x1F8]                                       ; +0x88, 0x68a0dc\nMOV             X1, X21                                                ; +0x8c, 0x68a0e0\nMOV             X0, X2                                                 ; +0x90, 0x68a0e4\nLDR             X2, [X2]                                               ; +0x94, 0x68a0e8\nLDR             X2, [X2,#0xB8]                                         ; +0x98, 0x68a0ec\nBLR             X2                                                     ; +0x9c, 0x68a0f0\nSTR             W22, [X19,#0x24C]                                      ; +0xa0, 0x68a0f4\nLDRB            W0, [X19,#0x1B4]                                       ; +0xa4, 0x68a0f8\nCBNZ            W0, loc_68A10C                                         ; +0xa8, 0x68a0fc\nMOV             X0, X19; this                                          ; +0xac, 0x68a100\nBL              _ZN15BoomScrollLayer15moveToPageEndedEv; BoomScrollLayer::moveToPageEnded(void) ; +0xb0, 0x68a104\nB               loc_68A094                                             ; +0xb4, 0x68a108\nMOV             X0, X19; this                                          ; +0xb8, 0x68a10c\nBL              _ZN15BoomScrollLayer21repositionPagesLoopedEv; BoomScrollLayer::repositionPagesLooped(void) ; +0xbc, 0x68a110\nMOV             X0, X19; this                                          ; +0xc0, 0x68a114\nBL              _ZN15BoomScrollLayer15moveToPageEndedEv; BoomScrollLayer::moveToPageEnded(void) ; +0xc4, 0x68a118\nB               loc_68A094                                             ; +0xc8, 0x68a11c\nBL              .__stack_chk_fail                                      ; +0xcc, 0x68a120", "xrefs": ["ListButtonBar::goToPage @ 0x6c8c64", "ListButtonBar::goToPage @ 0x6c8c70", "EditButtonBar::goToPage @ 0x86132c", "EditButtonBar::goToPage @ 0x861338", "EditButtonBar::loadFromItems @ 0x861d50", "EditButtonBar::loadFromItems @ 0x861d5c", "LevelSelectLayer::init @ 0x8c5548", "LevelSelectLayer::init @ 0x8c5924", "LevelSelectLayer::init @ 0x8c5930", "GauntletSelectLayer::goToPage @ 0xa71fc4", "WorldSelectLayer::goToPage @ 0xaa6030", "SecretRewardsLayer::init @ 0xba0584", "SecretRewardsLayer::init @ 0xba0590", "<???> @ 0xc43a8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}