{"type": "func", "start": 5368962176, "end": 5368962306, "name": "BoomScrollLayer::moveToPageEnded", "pseudocode": "// \n// BoomScrollLayer::moveToPageEnded from 0x14003dc80 to 0x14003dd02 (130 bytes)\n// \n// 6 xrefs:\n// > BoomScrollLayer::instantMoveToPage @ 0x14003ded4\n// > GauntletSelectLayer::goToPage @ 0x1401fa576\n// > LevelSelectLayer::onNext @ 0x140319980\n// > LevelSelectLayer::onPrev @ 0x140319a00\n// > BoomScrollLayer::moveToPage @ 0x14003e01e\n// > <???> @ 0x1406c4020\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; // rcx\n  const struct cocos2d::CCPoint *v3; // rax\n  cocos2d::CCPoint v4; // rdx\n  int v5; // eax\n  cocos2d::CCPoint v6; // [rsp+30h] [rbp+8h] BYREF\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_0(a1->m_extendedLayer);\n  cocos2d::CCPoint::CCPoint(&v6, v3);\n  v5 = BoomScrollLayer::pageNumberForPosition(a1, v4);\n  a1->m_page = v5;\n  a1->m_slowPage = v5;\n  BoomScrollLayer::updateDots(a1, 0.0);\n}", "assembly": "; \n; BoomScrollLayer::moveToPageEnded from 0x14003dc80 to 0x14003dd02 (130 bytes)\n; \n; 6 xrefs:\n; > BoomScrollLayer::instantMoveToPage @ 0x14003ded4\n; > GauntletSelectLayer::goToPage @ 0x1401fa576\n; > LevelSelectLayer::onNext @ 0x140319980\n; > LevelSelectLayer::onPrev @ 0x140319a00\n; > BoomScrollLayer::moveToPage @ 0x14003e01e\n; > <???> @ 0x1406c4020\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\npush    rbx                                                            ; +0x0, 0x14003dc80\nsub     rsp, 20h                                                       ; +0x2, 0x14003dc82\nmov     r8d, [rcx+244h]                                                ; +0x6, 0x14003dc86\nmov     rbx, rcx                                                       ; +0xd, 0x14003dc8d\ncmp     [rcx+1A0h], r8d                                                ; +0x10, 0x14003dc90\njz      short loc_14003DCAE                                            ; +0x17, 0x14003dc97\nmov     rcx, [rcx+218h]                                                ; +0x19, 0x14003dc99\ntest    rcx, rcx                                                       ; +0x20, 0x14003dca0\njz      short loc_14003DCAE                                            ; +0x23, 0x14003dca3\nmov     rax, [rcx]                                                     ; +0x25, 0x14003dca5\nmov     rdx, rbx                                                       ; +0x28, 0x14003dca8\ncall    qword ptr [rax+8]                                              ; +0x2b, 0x14003dcab\nmov     rcx, [rbx+1F0h]                                                ; +0x2e, 0x14003dcae\nmov     edx, 2                                                         ; +0x35, 0x14003dcb5\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x3a, 0x14003dcba\nmov     rcx, [rbx+1F0h]                                                ; +0x40, 0x14003dcc0\nmov     rax, [rcx]                                                     ; +0x47, 0x14003dcc7\ncall    qword ptr [rax+0C8h]                                           ; +0x4a, 0x14003dcca\nmov     rdx, rax                                                       ; +0x50, 0x14003dcd0\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x53, 0x14003dcd3\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x58, 0x14003dcd8\nmov     rcx, rbx                                                       ; +0x5e, 0x14003dcde\ncall    BoomScrollLayer__pageNumberForPosition                         ; +0x61, 0x14003dce1\nxorps   xmm1, xmm1                                                     ; +0x66, 0x14003dce6\nmov     [rbx+244h], eax                                                ; +0x69, 0x14003dce9\nmov     rcx, rbx                                                       ; +0x6f, 0x14003dcef\nmov     [rbx+1A0h], eax                                                ; +0x72, 0x14003dcf2\nadd     rsp, 20h                                                       ; +0x78, 0x14003dcf8\npop     rbx                                                            ; +0x7c, 0x14003dcfc\njmp     BoomScrollLayer__updateDots                                    ; +0x7d, 0x14003dcfd", "xrefs": ["BoomScrollLayer::instantMoveToPage @ 0x14003ded4", "GauntletSelectLayer::goToPage @ 0x1401fa576", "LevelSelectLayer::onNext @ 0x140319980", "LevelSelectLayer::onPrev @ 0x140319a00", "BoomScrollLayer::moveToPage @ 0x14003e01e", "<???> @ 0x1406c4020"], "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"}