{"type": "func", "start": 5368976832, "end": 5368976962, "name": "BoomScrollLayer::moveToPageEnded", "pseudocode": "// \n// BoomScrollLayer::moveToPageEnded from 0x1400415c0 to 0x140041642 (130 bytes)\n// \n// 7 xrefs:\n// > BoomScrollLayer::instantMoveToPage @ 0x140041814\n// > GauntletSelectLayer::goToPage @ 0x1402ff476\n// > LevelSelectLayer::onNext @ 0x140442d70\n// > LevelSelectLayer::onPrev @ 0x140442df0\n// > BoomScrollLayer::moveToPage @ 0x14004195e\n// > <???> @ 0x14090f50c\n// > <???> @ 0x14090f518\n// \n// This function is hookable on this platform (idp: pc, 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 11:25:29 +0000\n// \n\nvoid __fastcall BoomScrollLayer::moveToPageEnded(__int64 a1)\n{\n  __int64 v2; // rcx\n  const struct cocos2d::CCPoint *v3; // rax\n  int v4; // eax\n  char v5; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( *(_DWORD *)(a1 + 424) != *(_DWORD *)(a1 + 588) )\n  {\n    v2 = *(_QWORD *)(a1 + 544);\n    if ( v2 )\n      (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 8LL))(v2, a1);\n  }\n  cocos2d::CCNode::stopActionByTag(*(cocos2d::CCNode **)(a1 + 504), 2);\n  v3 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 504) + 200LL))(*(_QWORD *)(a1 + 504));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v5, v3);\n  BoomScrollLayer::pageNumberForPosition(a1);\n  *(_DWORD *)(a1 + 588) = v4;\n  *(_DWORD *)(a1 + 424) = v4;\n  BoomScrollLayer::updateDots(a1);\n}", "assembly": "; \n; BoomScrollLayer::moveToPageEnded from 0x1400415c0 to 0x140041642 (130 bytes)\n; \n; 7 xrefs:\n; > BoomScrollLayer::instantMoveToPage @ 0x140041814\n; > GauntletSelectLayer::goToPage @ 0x1402ff476\n; > LevelSelectLayer::onNext @ 0x140442d70\n; > LevelSelectLayer::onPrev @ 0x140442df0\n; > BoomScrollLayer::moveToPage @ 0x14004195e\n; > <???> @ 0x14090f50c\n; > <???> @ 0x14090f518\n; \n; This function is hookable on this platform (idp: pc, 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 11:25:29 +0000\n; \npush    rbx                                                            ; +0x0, 0x1400415c0\nsub     rsp, 20h                                                       ; +0x2, 0x1400415c2\nmov     r8d, [rcx+24Ch]                                                ; +0x6, 0x1400415c6\nmov     rbx, rcx                                                       ; +0xd, 0x1400415cd\ncmp     [rcx+1A8h], r8d                                                ; +0x10, 0x1400415d0\njz      short loc_1400415EE                                            ; +0x17, 0x1400415d7\nmov     rcx, [rcx+220h]                                                ; +0x19, 0x1400415d9\ntest    rcx, rcx                                                       ; +0x20, 0x1400415e0\njz      short loc_1400415EE                                            ; +0x23, 0x1400415e3\nmov     rax, [rcx]                                                     ; +0x25, 0x1400415e5\nmov     rdx, rbx                                                       ; +0x28, 0x1400415e8\ncall    qword ptr [rax+8]                                              ; +0x2b, 0x1400415eb\nmov     rcx, [rbx+1F8h]                                                ; +0x2e, 0x1400415ee\nmov     edx, 2                                                         ; +0x35, 0x1400415f5\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x3a, 0x1400415fa\nmov     rcx, [rbx+1F8h]                                                ; +0x40, 0x140041600\nmov     rax, [rcx]                                                     ; +0x47, 0x140041607\ncall    qword ptr [rax+0C8h]                                           ; +0x4a, 0x14004160a\nmov     rdx, rax                                                       ; +0x50, 0x140041610\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x53, 0x140041613\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x58, 0x140041618\nmov     rcx, rbx                                                       ; +0x5e, 0x14004161e\ncall    BoomScrollLayer__pageNumberForPosition                         ; +0x61, 0x140041621\nxorps   xmm1, xmm1                                                     ; +0x66, 0x140041626\nmov     [rbx+24Ch], eax                                                ; +0x69, 0x140041629\nmov     rcx, rbx                                                       ; +0x6f, 0x14004162f\nmov     [rbx+1A8h], eax                                                ; +0x72, 0x140041632\nadd     rsp, 20h                                                       ; +0x78, 0x140041638\npop     rbx                                                            ; +0x7c, 0x14004163c\njmp     BoomScrollLayer__updateDots                                    ; +0x7d, 0x14004163d", "xrefs": ["BoomScrollLayer::instantMoveToPage @ 0x140041814", "GauntletSelectLayer::goToPage @ 0x1402ff476", "LevelSelectLayer::onNext @ 0x140442d70", "LevelSelectLayer::onPrev @ 0x140442df0", "BoomScrollLayer::moveToPage @ 0x14004195e", "<???> @ 0x14090f50c", "<???> @ 0x14090f518"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}