{"type": "func", "start": 5741544, "end": 5741708, "name": "CCScrollLayerExt::moveToTopWithOffset", "pseudocode": "// \n// CCScrollLayerExt::moveToTopWithOffset from 0x579be8 to 0x579c8c (164 bytes)\n// \n// 6 xrefs:\n// > BoomListView::setupList @ 0x56bfcc\n// > CustomListView::setupList @ 0x60d5f8\n// > CustomListView::setupList @ 0x60d608\n// > CustomListView::setupList @ 0x60d618\n// > CustomListView::setupList @ 0x60d67c\n// > <???> @ 0x5a858\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::moveToTopWithOffset(CCScrollLayerExt *a1, float a2)\n{\n  CCContentLayer *m_contentLayer; // x21\n  void (__fastcall *setPosition)(CCContentLayer *__hidden, const cocos2d::CCPoint *); // x23\n  float x; // s9\n  float MinY; // s0\n  cocos2d::CCPoint v8; // [xsp+60h] [xbp+60h] 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(&v8, x, MinY + a2);\n  setPosition(m_contentLayer, &v8);\n}", "assembly": "; \n; CCScrollLayerExt::moveToTopWithOffset from 0x579be8 to 0x579c8c (164 bytes)\n; \n; 6 xrefs:\n; > BoomListView::setupList @ 0x56bfcc\n; > CustomListView::setupList @ 0x60d5f8\n; > CustomListView::setupList @ 0x60d608\n; > CustomListView::setupList @ 0x60d618\n; > CustomListView::setupList @ 0x60d67c\n; > <???> @ 0x5a858\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_70]!                                ; +0x0, 0x579be8\nMOV             X29, SP                                                ; +0x4, 0x579bec\nSTP             X19, X20, [SP,#0x70+var_60]                            ; +0x8, 0x579bf0\nSTP             D8, D9, [SP,#0x70+var_38]                              ; +0xc, 0x579bf4\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x579bf8\nSTR             X23, [SP,#0x70+var_40]                                 ; +0x14, 0x579bfc\nSTP             X21, X22, [SP,#0x70+var_50]                            ; +0x18, 0x579c00\nLDR             X21, [X0,#0x1E0]                                       ; +0x1c, 0x579c04\nMOV             X22, X0                                                ; +0x20, 0x579c08\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x579c0c\nADD             X20, X29, #0x70+var_10                                 ; +0x28, 0x579c10\nFMOV            S8, S0                                                 ; +0x2c, 0x579c14\nMOV             X0, X21                                                ; +0x30, 0x579c18\nLDR             X1, [X21]                                              ; +0x34, 0x579c1c\nLDR             X2, [X19]                                              ; +0x38, 0x579c20\nSTR             X2, [X29,#0x70+var_8]                                  ; +0x3c, 0x579c24\nLDR             X2, [X1,#0xC0]                                         ; +0x40, 0x579c28\nLDR             X23, [X1,#0xB8]                                        ; +0x44, 0x579c2c\nBLR             X2                                                     ; +0x48, 0x579c30\nLDR             S9, [X0]                                               ; +0x4c, 0x579c34\nMOV             X0, X22; this                                          ; +0x50, 0x579c38\nBL              _ZN16CCScrollLayerExt7getMinYEv; CCScrollLayerExt::getMinY(void) ; +0x54, 0x579c3c\nSTR             X20, [X29,#0x70+var_18]                                ; +0x58, 0x579c40\nFADD            S1, S0, S8; float                                      ; +0x5c, 0x579c44\nMOV             X0, X20; this                                          ; +0x60, 0x579c48\nFMOV            S0, S9; float                                          ; +0x64, 0x579c4c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x68, 0x579c50\nLDR             X1, [X29,#0x70+var_18]                                 ; +0x6c, 0x579c54\nMOV             X0, X21                                                ; +0x70, 0x579c58\nBLR             X23                                                    ; +0x74, 0x579c5c\nLDR             X1, [X29,#0x70+var_8]                                  ; +0x78, 0x579c60\nLDR             X0, [X19]                                              ; +0x7c, 0x579c64\nCMP             X1, X0                                                 ; +0x80, 0x579c68\nB.NE            loc_579C88                                             ; +0x84, 0x579c6c\nLDP             X19, X20, [SP,#0x70+var_60]                            ; +0x88, 0x579c70\nLDP             D8, D9, [SP,#0x70+var_38]                              ; +0x8c, 0x579c74\nLDP             X21, X22, [SP,#0x70+var_50]                            ; +0x90, 0x579c78\nLDR             X23, [SP,#0x70+var_40]                                 ; +0x94, 0x579c7c\nLDP             X29, X30, [SP+0x70+var_70],#0x70                       ; +0x98, 0x579c80\nRET                                                                    ; +0x9c, 0x579c84\nBL              .__stack_chk_fail                                      ; +0xa0, 0x579c88", "xrefs": ["BoomListView::setupList @ 0x56bfcc", "CustomListView::setupList @ 0x60d5f8", "CustomListView::setupList @ 0x60d608", "CustomListView::setupList @ 0x60d618", "CustomListView::setupList @ 0x60d67c", "<???> @ 0x5a858"], "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"}