{"type": "func", "start": 5691596, "end": 5691792, "name": "BoomScrollLayer::moveToPageEnded", "pseudocode": "// \n// BoomScrollLayer::moveToPageEnded from 0x56d8cc to 0x56d990 (196 bytes)\n// \n// 6 xrefs:\n// > BoomScrollLayer::instantMoveToPage @ 0x56df7c\n// > BoomScrollLayer::instantMoveToPage @ 0x56df90\n// > BoomScrollLayer::quickUpdate @ 0x56e428\n// > <???> @ 0xb2680\n// > BoomScrollLayer::moveToPage @ 0x56e08c\n// > <???> @ 0x122e300\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid BoomScrollLayer::moveToPageEnded(BoomScrollLayer *a1)\n{\n  BoomScrollLayerDelegate *m_delegate; // x0\n  const cocos2d::CCPoint *v3; // x0\n  int v4; // w0\n  cocos2d::CCPoint v5; // [xsp+30h] [xbp+30h] BYREF\n  cocos2d::CCPoint v6; // 0:s0.4,4:s1.4\n\n  if ( a1->m_slowPage != a1->m_page )\n  {\n    m_delegate = a1->m_delegate;\n    if ( m_delegate )\n      ((void (__fastcall *)(BoomScrollLayerDelegate *, BoomScrollLayer *))m_delegate->scrollLayerScrolledToPage)(\n        m_delegate,\n        a1);\n  }\n  cocos2d::CCNode::stopActionByTag(a1->m_extendedLayer, 2);\n  v3 = a1->m_extendedLayer->getPosition(a1->m_extendedLayer);\n  cocos2d::CCPoint::CCPoint(&v5, v3);\n  v4 = BoomScrollLayer::pageNumberForPosition(a1, v6);\n  a1->m_page = v4;\n  a1->m_slowPage = v4;\n  BoomScrollLayer::updateDots(a1, 0.0);\n}", "assembly": "; \n; BoomScrollLayer::moveToPageEnded from 0x56d8cc to 0x56d990 (196 bytes)\n; \n; 6 xrefs:\n; > BoomScrollLayer::instantMoveToPage @ 0x56df7c\n; > BoomScrollLayer::instantMoveToPage @ 0x56df90\n; > BoomScrollLayer::quickUpdate @ 0x56e428\n; > <???> @ 0xb2680\n; > BoomScrollLayer::moveToPage @ 0x56e08c\n; > <???> @ 0x122e300\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x56d8cc\nMOV             X29, SP                                                ; +0x4, 0x56d8d0\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x56d8d4\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x56d8d8\nLDR             W2, [X0,#0x244]                                        ; +0x10, 0x56d8dc\nMOV             X19, X0                                                ; +0x14, 0x56d8e0\nLDR             W0, [X0,#0x1A0]                                        ; +0x18, 0x56d8e4\nSTR             X21, [SP,#0x40+var_20]                                 ; +0x1c, 0x56d8e8\nLDR             X1, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x56d8ec\nCMP             W0, W2                                                 ; +0x24, 0x56d8f0\nLDR             X1, [X1]                                               ; +0x28, 0x56d8f4\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x2c, 0x56d8f8\nB.EQ            loc_56D918                                             ; +0x30, 0x56d8fc\nLDR             X0, [X19,#0x218]                                       ; +0x34, 0x56d900\nCBZ             X0, loc_56D918                                         ; +0x38, 0x56d904\nLDR             X3, [X0]                                               ; +0x3c, 0x56d908\nMOV             X1, X19                                                ; +0x40, 0x56d90c\nLDR             X3, [X3,#8]                                            ; +0x44, 0x56d910\nBLR             X3                                                     ; +0x48, 0x56d914\nLDR             X0, [X19,#0x1F0]; this                                 ; +0x4c, 0x56d918\nMOV             W1, #2; int                                            ; +0x50, 0x56d91c\nADD             X21, X29, #0x40+var_10                                 ; +0x54, 0x56d920\nBL              _ZN7cocos2d6CCNode15stopActionByTagEi; cocos2d::CCNode::stopActionByTag(int) ; +0x58, 0x56d924\nLDR             X1, [X19,#0x1F0]                                       ; +0x5c, 0x56d928\nMOV             X0, X1                                                 ; +0x60, 0x56d92c\nLDR             X1, [X1]                                               ; +0x64, 0x56d930\nLDR             X1, [X1,#0xC0]                                         ; +0x68, 0x56d934\nBLR             X1                                                     ; +0x6c, 0x56d938\nMOV             X1, X0; cocos2d::CCPoint *                             ; +0x70, 0x56d93c\nMOV             X0, X21; this                                          ; +0x74, 0x56d940\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x78, 0x56d944\nMOV             X1, X21                                                ; +0x7c, 0x56d948\nMOV             X0, X19                                                ; +0x80, 0x56d94c\nBL              _ZN15BoomScrollLayer21pageNumberForPositionEN7cocos2d7CCPointE; BoomScrollLayer::pageNumberForPosition(cocos2d::CCPoint) ; +0x84, 0x56d950\nSTR             W0, [X19,#0x244]                                       ; +0x88, 0x56d954\nFMOV            S0, WZR; float                                         ; +0x8c, 0x56d958\nSTR             W0, [X19,#0x1A0]                                       ; +0x90, 0x56d95c\nMOV             X0, X19; this                                          ; +0x94, 0x56d960\nBL              _ZN15BoomScrollLayer10updateDotsEf; BoomScrollLayer::updateDots(float) ; +0x98, 0x56d964\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x9c, 0x56d968\nLDR             X1, [X29,#0x40+var_8]                                  ; +0xa0, 0x56d96c\nLDR             X0, [X20]                                              ; +0xa4, 0x56d970\nCMP             X1, X0                                                 ; +0xa8, 0x56d974\nB.NE            loc_56D98C                                             ; +0xac, 0x56d978\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xb0, 0x56d97c\nLDR             X21, [SP,#0x40+var_20]                                 ; +0xb4, 0x56d980\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xb8, 0x56d984\nRET                                                                    ; +0xbc, 0x56d988\nBL              .__stack_chk_fail                                      ; +0xc0, 0x56d98c", "xrefs": ["BoomScrollLayer::instantMoveToPage @ 0x56df7c", "BoomScrollLayer::instantMoveToPage @ 0x56df90", "BoomScrollLayer::quickUpdate @ 0x56e428", "<???> @ 0xb2680", "BoomScrollLayer::moveToPage @ 0x56e08c", "<???> @ 0x122e300"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}