{"type": "func", "start": 4296195964, "end": 4296196104, "name": "BoomScrollLayer::moveToPageEnded", "pseudocode": "// \n// BoomScrollLayer::moveToPageEnded from 0x10012bf7c to 0x10012c008 (140 bytes)\n// \n// 3 xrefs:\n// > BoomScrollLayer::instantMoveToPage @ 0x10012c0c8\n// > BoomScrollLayer::quickUpdate @ 0x10012c380\n// > BoomScrollLayer::moveToPage @ 0x10012c1ec\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 __fastcall BoomScrollLayer::moveToPageEnded(BoomScrollLayer *a1)\n{\n  BoomScrollLayerDelegate *m_delegate; // x0\n  __int64 *v3; // x0\n  int v4; // w0\n  float v5; // s0\n  __int64 v6; // [xsp+8h] [xbp-18h] BYREF\n  cocos2d::CCPoint v7; // 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 = (__int64 *)((__int64 (__fastcall *)(ExtendedLayer *))a1->m_extendedLayer->getPosition)(a1->m_extendedLayer);\n  v7.x = sub_1000229B8(&v6, v3);\n  v4 = BoomScrollLayer::pageNumberForPosition(a1, v7);\n  a1->m_page = v4;\n  a1->m_slowPage = v4;\n  BoomScrollLayer::updateDots(a1, v5);\n}", "assembly": "; \n; BoomScrollLayer::moveToPageEnded from 0x10012bf7c to 0x10012c008 (140 bytes)\n; \n; 3 xrefs:\n; > BoomScrollLayer::instantMoveToPage @ 0x10012c0c8\n; > BoomScrollLayer::quickUpdate @ 0x10012c380\n; > BoomScrollLayer::moveToPage @ 0x10012c1ec\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x10012bf7c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10012bf80\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10012bf84\nADD             X29, SP, #0x20                                         ; +0xc, 0x10012bf88\nMOV             X19, X0                                                ; +0x10, 0x10012bf8c\nLDR             W8, [X0,#0x1A0]                                        ; +0x14, 0x10012bf90\nLDR             W2, [X0,#0x244]                                        ; +0x18, 0x10012bf94\nCMP             W8, W2                                                 ; +0x1c, 0x10012bf98\nB.EQ            loc_10012BFB8                                          ; +0x20, 0x10012bf9c\nLDR             X0, [X19,#0x218]                                       ; +0x24, 0x10012bfa0\nCBZ             X0, loc_10012BFB8                                      ; +0x28, 0x10012bfa4\nLDR             X8, [X0]                                               ; +0x2c, 0x10012bfa8\nLDR             X8, [X8,#8]                                            ; +0x30, 0x10012bfac\nMOV             X1, X19                                                ; +0x34, 0x10012bfb0\nBLR             X8                                                     ; +0x38, 0x10012bfb4\nLDR             X0, [X19,#0x1F0]                                       ; +0x3c, 0x10012bfb8\nMOV             W1, #2                                                 ; +0x40, 0x10012bfbc\nBL              cocos2d__CCNode__stopActionByTag                       ; +0x44, 0x10012bfc0\nLDR             X0, [X19,#0x1F0]                                       ; +0x48, 0x10012bfc4\nLDR             X8, [X0]                                               ; +0x4c, 0x10012bfc8\nLDR             X8, [X8,#0xC0]                                         ; +0x50, 0x10012bfcc\nBLR             X8                                                     ; +0x54, 0x10012bfd0\nMOV             X1, X0                                                 ; +0x58, 0x10012bfd4\nADD             X0, SP, #0x20+var_18                                   ; +0x5c, 0x10012bfd8\nBL              sub_1000229B8                                          ; +0x60, 0x10012bfdc\nMOV             X0, X19                                                ; +0x64, 0x10012bfe0\nBL              BoomScrollLayer__pageNumberForPosition                 ; +0x68, 0x10012bfe4\nSTR             W0, [X19,#0x244]                                       ; +0x6c, 0x10012bfe8\nSTR             W0, [X19,#0x1A0]                                       ; +0x70, 0x10012bfec\nMOV             X0, X19                                                ; +0x74, 0x10012bff0\nBL              BoomScrollLayer__updateDots                            ; +0x78, 0x10012bff4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x7c, 0x10012bff8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x80, 0x10012bffc\nADD             SP, SP, #0x30 ; '0'                                    ; +0x84, 0x10012c000\nRET                                                                    ; +0x88, 0x10012c004", "xrefs": ["BoomScrollLayer::instantMoveToPage @ 0x10012c0c8", "BoomScrollLayer::quickUpdate @ 0x10012c380", "BoomScrollLayer::moveToPage @ 0x10012c1ec"], "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"}