{"type": "func", "start": 3938212, "end": 3938324, "name": "BoomScrollLayer::moveToPageEnded", "pseudocode": "// \n// BoomScrollLayer::moveToPageEnded from 0x3c17a4 to 0x3c1814 (112 bytes)\n// \n// 2 xrefs:\n// > BoomScrollLayer::instantMoveToPage @ 0x3c1c04\n// > BoomScrollLayer::quickUpdate @ 0x3c1f88\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:46:31 +0000\n// \n\nunsigned int __fastcall BoomScrollLayer::moveToPageEnded(BoomScrollLayer *this, int a2, int a3, int a4)\n{\n  int v5; // r0\n  const cocos2d::CCPoint *v6; // r0\n  int v7; // r0\n  _DWORD v9[3]; // [sp+4h] [bp-Ch] BYREF\n\n  v9[0] = a2;\n  v9[1] = a3;\n  v9[2] = a4;\n  if ( *((_DWORD *)this + 81) != *((_DWORD *)this + 115) )\n  {\n    v5 = *((_DWORD *)this + 105);\n    if ( v5 )\n      (*(void (__fastcall **)(int, BoomScrollLayer *))(*(_DWORD *)v5 + 4))(v5, this);\n  }\n  cocos2d::CCNode::stopActionByTag(*((cocos2d::CCNode **)this + 96), 2);\n  v6 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 96) + 96))(*((_DWORD *)this + 96));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v6);\n  v7 = BoomScrollLayer::pageNumberForPosition((int)this);\n  *((_DWORD *)this + 115) = v7;\n  *((_DWORD *)this + 81) = v7;\n  return BoomScrollLayer::updateDots((unsigned int)this, 0.0);\n}", "assembly": "; \n; BoomScrollLayer::moveToPageEnded from 0x3c17a4 to 0x3c1814 (112 bytes)\n; \n; 2 xrefs:\n; > BoomScrollLayer::instantMoveToPage @ 0x3c1c04\n; > BoomScrollLayer::quickUpdate @ 0x3c1f88\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:46:31 +0000\n; \nPUSH            {R0-R6,LR}                                             ; +0x0, 0x3c17a4\nMOV             R4, R0                                                 ; +0x2, 0x3c17a6\nLDR             R3, =(__stack_chk_guard_ptr - 0x3C17B2)                ; +0x4, 0x3c17a8\nLDR.W           R1, [R0,#0x144]                                        ; +0x6, 0x3c17aa\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xa, 0x3c17ae\nLDR             R3, [R3]; __stack_chk_guard                            ; +0xc, 0x3c17b0\nLDR             R2, [R3]                                               ; +0xe, 0x3c17b2\nMOV             R5, R3                                                 ; +0x10, 0x3c17b4\nSTR             R2, [SP,#0x10+var_4]                                   ; +0x12, 0x3c17b6\nLDR.W           R2, [R0,#0x1CC]                                        ; +0x14, 0x3c17b8\nCMP             R1, R2                                                 ; +0x18, 0x3c17bc\nBEQ             loc_3C17CE                                             ; +0x1a, 0x3c17be\nLDR.W           R0, [R0,#0x1A4]                                        ; +0x1c, 0x3c17c0\nCBZ             R0, loc_3C17CE                                         ; +0x20, 0x3c17c4\nLDR             R3, [R0]                                               ; +0x22, 0x3c17c6\nMOV             R1, R4                                                 ; +0x24, 0x3c17c8\nLDR             R3, [R3,#4]                                            ; +0x26, 0x3c17ca\nBLX             R3                                                     ; +0x28, 0x3c17cc\nMOVS            R1, #2; int                                            ; +0x2a, 0x3c17ce\nLDR.W           R0, [R4,#0x180]; this                                  ; +0x2c, 0x3c17d0\nBL              _ZN7cocos2d6CCNode15stopActionByTagEi; cocos2d::CCNode::stopActionByTag(int) ; +0x30, 0x3c17d4\nLDR.W           R0, [R4,#0x180]                                        ; +0x34, 0x3c17d8\nADD             R6, SP, #0x10+var_C                                    ; +0x38, 0x3c17dc\nLDR             R3, [R0]                                               ; +0x3a, 0x3c17de\nLDR             R3, [R3,#0x60]                                         ; +0x3c, 0x3c17e0\nBLX             R3                                                     ; +0x3e, 0x3c17e2\nMOV             R1, R0; cocos2d::CCPoint *                             ; +0x40, 0x3c17e4\nMOV             R0, R6; this                                           ; +0x42, 0x3c17e6\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x44, 0x3c17e8\nMOV             R1, R6                                                 ; +0x48, 0x3c17ec\nMOV             R0, R4                                                 ; +0x4a, 0x3c17ee\nBL              _ZN15BoomScrollLayer21pageNumberForPositionEN7cocos2d7CCPointE; BoomScrollLayer::pageNumberForPosition(cocos2d::CCPoint) ; +0x4c, 0x3c17f0\nMOVS            R1, #0; float                                          ; +0x50, 0x3c17f4\nSTR.W           R0, [R4,#0x1CC]                                        ; +0x52, 0x3c17f6\nSTR.W           R0, [R4,#0x144]                                        ; +0x56, 0x3c17fa\nMOV             R0, R4; this                                           ; +0x5a, 0x3c17fe\nBL              _ZN15BoomScrollLayer10updateDotsEf; BoomScrollLayer::updateDots(float) ; +0x5c, 0x3c1800\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x60, 0x3c1804\nLDR             R3, [R5]                                               ; +0x62, 0x3c1806\nCMP             R2, R3                                                 ; +0x64, 0x3c1808\nBEQ             loc_3C1810                                             ; +0x66, 0x3c180a\nBLX             __stack_chk_fail                                       ; +0x68, 0x3c180c\nADD             SP, SP, #0x10                                          ; +0x6c, 0x3c1810\nPOP             {R4-R6,PC}                                             ; +0x6e, 0x3c1812", "xrefs": ["BoomScrollLayer::instantMoveToPage @ 0x3c1c04", "BoomScrollLayer::quickUpdate @ 0x3c1f88"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}