{"type": "func", "start": 5741708, "end": 5741868, "name": "CCScrollLayerExt::moveToTop", "pseudocode": "// \n// CCScrollLayerExt::moveToTop from 0x579c8c to 0x579d2c (160 bytes)\n// \n// 6 xrefs:\n// > BoomListView::setupList @ 0x56bf90\n// > CustomListView::setupList @ 0x60d218\n// > CustomListView::setupList @ 0x60d274\n// > CustomListView::setupList @ 0x60d35c\n// > CustomListView::setupList @ 0x60d51c\n// > <???> @ 0x8b4b8\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 CCScrollLayerExt::moveToTop(CCScrollLayerExt *a1)\n{\n  CCContentLayer *m_contentLayer; // x21\n  void (__fastcall *setPosition)(CCContentLayer *__hidden, const cocos2d::CCPoint *); // x23\n  float x; // s8\n  float MinY; // s0\n  cocos2d::CCPoint v6; // [xsp+50h] [xbp+50h] BYREF\n\n  m_contentLayer = a1->m_contentLayer;\n  setPosition = m_contentLayer->setPosition;\n  x = m_contentLayer->getPosition(m_contentLayer)->x;\n  MinY = CCScrollLayerExt::getMinY(a1);\n  cocos2d::CCPoint::CCPoint(&v6, x, MinY);\n  setPosition(m_contentLayer, &v6);\n}", "assembly": "; \n; CCScrollLayerExt::moveToTop from 0x579c8c to 0x579d2c (160 bytes)\n; \n; 6 xrefs:\n; > BoomListView::setupList @ 0x56bf90\n; > CustomListView::setupList @ 0x60d218\n; > CustomListView::setupList @ 0x60d274\n; > CustomListView::setupList @ 0x60d35c\n; > CustomListView::setupList @ 0x60d51c\n; > <???> @ 0x8b4b8\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\nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0x579c8c\nMOV             X29, SP                                                ; +0x4, 0x579c90\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0x579c94\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x579c98\nSTR             X23, [SP,#0x60+var_30]                                 ; +0x10, 0x579c9c\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x14, 0x579ca0\nLDR             X21, [X0,#0x1E0]                                       ; +0x18, 0x579ca4\nMOV             X22, X0                                                ; +0x1c, 0x579ca8\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x579cac\nADD             X20, X29, #0x60+var_10                                 ; +0x24, 0x579cb0\nMOV             X0, X21                                                ; +0x28, 0x579cb4\nLDR             X1, [X21]                                              ; +0x2c, 0x579cb8\nLDR             X2, [X19]                                              ; +0x30, 0x579cbc\nSTR             X2, [X29,#0x60+var_8]                                  ; +0x34, 0x579cc0\nLDR             X2, [X1,#0xC0]                                         ; +0x38, 0x579cc4\nLDR             X23, [X1,#0xB8]                                        ; +0x3c, 0x579cc8\nSTR             D8, [SP,#0x60+var_28]                                  ; +0x40, 0x579ccc\nBLR             X2                                                     ; +0x44, 0x579cd0\nLDR             S8, [X0]                                               ; +0x48, 0x579cd4\nMOV             X0, X22; this                                          ; +0x4c, 0x579cd8\nBL              _ZN16CCScrollLayerExt7getMinYEv; CCScrollLayerExt::getMinY(void) ; +0x50, 0x579cdc\nSTR             X20, [X29,#0x60+var_18]                                ; +0x54, 0x579ce0\nFMOV            S1, S0; float                                          ; +0x58, 0x579ce4\nMOV             X0, X20; this                                          ; +0x5c, 0x579ce8\nFMOV            S0, S8; float                                          ; +0x60, 0x579cec\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x64, 0x579cf0\nLDR             X1, [X29,#0x60+var_18]                                 ; +0x68, 0x579cf4\nMOV             X0, X21                                                ; +0x6c, 0x579cf8\nBLR             X23                                                    ; +0x70, 0x579cfc\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x74, 0x579d00\nLDR             X0, [X19]                                              ; +0x78, 0x579d04\nCMP             X1, X0                                                 ; +0x7c, 0x579d08\nB.NE            loc_579D28                                             ; +0x80, 0x579d0c\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x84, 0x579d10\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0x88, 0x579d14\nLDR             X23, [SP,#0x60+var_30]                                 ; +0x8c, 0x579d18\nLDR             D8, [SP,#0x60+var_28]                                  ; +0x90, 0x579d1c\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x94, 0x579d20\nRET                                                                    ; +0x98, 0x579d24\nBL              .__stack_chk_fail                                      ; +0x9c, 0x579d28", "xrefs": ["BoomListView::setupList @ 0x56bf90", "CustomListView::setupList @ 0x60d218", "CustomListView::setupList @ 0x60d274", "CustomListView::setupList @ 0x60d35c", "CustomListView::setupList @ 0x60d51c", "<???> @ 0x8b4b8"], "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"}