{"type": "func", "start": 3023028, "end": 3023140, "name": "BoomScrollLayer::moveToPageEnded", "pseudocode": "// \n// BoomScrollLayer::moveToPageEnded from 0x2e20b4 to 0x2e2124 (112 bytes)\n// \n// 2 xrefs:\n// > BoomScrollLayer::instantMoveToPage @ 0x2e2514\n// > BoomScrollLayer::quickUpdate @ 0x2e2898\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; // r0\n  const cocos2d::CCPoint *v3; // r0\n  cocos2d::CCPoint v4; // r1\n  int v5; // r0\n  cocos2d::CCPoint v6; // [sp+4h] [bp-Ch] 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(a1->m_extendedLayer);\n  cocos2d::CCPoint::CCPoint(&v6, v3);\n  LODWORD(v4.x) = &v6;\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 0x2e20b4 to 0x2e2124 (112 bytes)\n; \n; 2 xrefs:\n; > BoomScrollLayer::instantMoveToPage @ 0x2e2514\n; > BoomScrollLayer::quickUpdate @ 0x2e2898\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            {R0-R6,LR}                                             ; +0x0, 0x2e20b4\nMOV             R4, R0                                                 ; +0x2, 0x2e20b6\nLDR             R3, =(__stack_chk_guard_ptr - 0x2E20C2)                ; +0x4, 0x2e20b8\nLDR.W           R1, [R0,#0x140]                                        ; +0x6, 0x2e20ba\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xa, 0x2e20be\nLDR             R3, [R3]; __stack_chk_guard                            ; +0xc, 0x2e20c0\nLDR             R2, [R3]                                               ; +0xe, 0x2e20c2\nMOV             R5, R3                                                 ; +0x10, 0x2e20c4\nSTR             R2, [SP,#0x10+var_4]                                   ; +0x12, 0x2e20c6\nLDR.W           R2, [R0,#0x1CC]                                        ; +0x14, 0x2e20c8\nCMP             R1, R2                                                 ; +0x18, 0x2e20cc\nBEQ             loc_2E20DE                                             ; +0x1a, 0x2e20ce\nLDR.W           R0, [R0,#0x1A4]                                        ; +0x1c, 0x2e20d0\nCBZ             R0, loc_2E20DE                                         ; +0x20, 0x2e20d4\nLDR             R3, [R0]                                               ; +0x22, 0x2e20d6\nMOV             R1, R4                                                 ; +0x24, 0x2e20d8\nLDR             R3, [R3,#4]                                            ; +0x26, 0x2e20da\nBLX             R3                                                     ; +0x28, 0x2e20dc\nMOVS            R1, #2; int                                            ; +0x2a, 0x2e20de\nLDR.W           R0, [R4,#0x180]; this                                  ; +0x2c, 0x2e20e0\nBL              _ZN7cocos2d6CCNode15stopActionByTagEi; cocos2d::CCNode::stopActionByTag(int) ; +0x30, 0x2e20e4\nLDR.W           R0, [R4,#0x180]                                        ; +0x34, 0x2e20e8\nADD             R6, SP, #0x10+var_C                                    ; +0x38, 0x2e20ec\nLDR             R3, [R0]                                               ; +0x3a, 0x2e20ee\nLDR             R3, [R3,#0x60]                                         ; +0x3c, 0x2e20f0\nBLX             R3                                                     ; +0x3e, 0x2e20f2\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x40, 0x2e20f4\nMOV             R0, R6; this                                           ; +0x42, 0x2e20f6\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x44, 0x2e20f8\nMOV             R1, R6                                                 ; +0x48, 0x2e20fc\nMOV             R0, R4                                                 ; +0x4a, 0x2e20fe\nBL              _ZN15BoomScrollLayer21pageNumberForPositionEN7cocos2d7CCPointE; BoomScrollLayer::pageNumberForPosition(cocos2d::CCPoint) ; +0x4c, 0x2e2100\nMOVS            R1, #0; float                                          ; +0x50, 0x2e2104\nSTR.W           R0, [R4,#0x1CC]                                        ; +0x52, 0x2e2106\nSTR.W           R0, [R4,#0x140]                                        ; +0x56, 0x2e210a\nMOV             R0, R4; this                                           ; +0x5a, 0x2e210e\nBL              _ZN15BoomScrollLayer10updateDotsEf; BoomScrollLayer::updateDots(float) ; +0x5c, 0x2e2110\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x60, 0x2e2114\nLDR             R3, [R5]                                               ; +0x62, 0x2e2116\nCMP             R2, R3                                                 ; +0x64, 0x2e2118\nBEQ             loc_2E2120                                             ; +0x66, 0x2e211a\nBLX             __stack_chk_fail                                       ; +0x68, 0x2e211c\nADD             SP, SP, #0x10                                          ; +0x6c, 0x2e2120\nPOP             {R4-R6,PC}                                             ; +0x6e, 0x2e2122", "xrefs": ["BoomScrollLayer::instantMoveToPage @ 0x2e2514", "BoomScrollLayer::quickUpdate @ 0x2e2898"], "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"}