{"type": "func", "start": 6902632, "end": 6902792, "name": "CCScrollLayerExt::moveToTop", "pseudocode": "// \n// CCScrollLayerExt::moveToTop from 0x695368 to 0x695408 (160 bytes)\n// \n// 9 xrefs:\n// > BoomListView::setupList @ 0x68829c\n// > CustomListView::setupList @ 0x736aac\n// > CustomListView::setupList @ 0x736bac\n// > CustomListView::setupList @ 0x736d0c\n// > CustomListView::setupList @ 0x736df0\n// > CustomListView::setupList @ 0x736ec8\n// > CustomListView::setupList @ 0x736fec\n// > MessageThreadsPage::onScrollToTop @ 0xc65838\n// > <???> @ 0xb8918\n// \n// This function is hookable on this platform (idp: arm, 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 12:50:37 +0000\n// \n\n__int64 __fastcall CCScrollLayerExt::moveToTop(CCScrollLayerExt *this)\n{\n  __int64 v2; // x21\n  void (__fastcall *v3)(__int64, _BYTE *); // x23\n  float v4; // s8\n  float MinY; // s0\n  _BYTE v7[8]; // [xsp+50h] [xbp+50h] BYREF\n\n  v2 = *((_QWORD *)this + 61);\n  v3 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v2 + 184LL);\n  v4 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 192LL))(v2);\n  MinY = CCScrollLayerExt::getMinY(this);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, v4, MinY);\n  v3(v2, v7);\n  return _stack_chk_guard;\n}", "assembly": "; \n; CCScrollLayerExt::moveToTop from 0x695368 to 0x695408 (160 bytes)\n; \n; 9 xrefs:\n; > BoomListView::setupList @ 0x68829c\n; > CustomListView::setupList @ 0x736aac\n; > CustomListView::setupList @ 0x736bac\n; > CustomListView::setupList @ 0x736d0c\n; > CustomListView::setupList @ 0x736df0\n; > CustomListView::setupList @ 0x736ec8\n; > CustomListView::setupList @ 0x736fec\n; > MessageThreadsPage::onScrollToTop @ 0xc65838\n; > <???> @ 0xb8918\n; \n; This function is hookable on this platform (idp: arm, 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 12:50:37 +0000\n; \nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0x695368\nMOV             X29, SP                                                ; +0x4, 0x69536c\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0x695370\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0xc, 0x695374\nSTR             X23, [SP,#0x60+var_30]                                 ; +0x10, 0x695378\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x14, 0x69537c\nSTR             D8, [SP,#0x60+var_28]                                  ; +0x18, 0x695380\nMOV             X22, X0                                                ; +0x1c, 0x695384\nLDR             X21, [X0,#0x1E8]                                       ; +0x20, 0x695388\nADD             X20, X29, #0x60+var_10                                 ; +0x24, 0x69538c\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x695390\nMOV             X0, X21                                                ; +0x2c, 0x695394\nLDR             X1, [X21]                                              ; +0x30, 0x695398\nLDR             X2, [X19]                                              ; +0x34, 0x69539c\nSTR             X2, [X29,#0x60+var_8]                                  ; +0x38, 0x6953a0\nLDR             X2, [X1,#0xC0]                                         ; +0x3c, 0x6953a4\nLDR             X23, [X1,#0xB8]                                        ; +0x40, 0x6953a8\nBLR             X2                                                     ; +0x44, 0x6953ac\nLDR             S8, [X0]                                               ; +0x48, 0x6953b0\nMOV             X0, X22; this                                          ; +0x4c, 0x6953b4\nBL              _ZN16CCScrollLayerExt7getMinYEv; CCScrollLayerExt::getMinY(void) ; +0x50, 0x6953b8\nSTR             X20, [X29,#0x60+var_18]                                ; +0x54, 0x6953bc\nFMOV            S1, S0; float                                          ; +0x58, 0x6953c0\nMOV             X0, X20; this                                          ; +0x5c, 0x6953c4\nFMOV            S0, S8; float                                          ; +0x60, 0x6953c8\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x64, 0x6953cc\nLDR             X1, [X29,#0x60+var_18]                                 ; +0x68, 0x6953d0\nMOV             X0, X21                                                ; +0x6c, 0x6953d4\nBLR             X23                                                    ; +0x70, 0x6953d8\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x74, 0x6953dc\nLDR             X0, [X19]                                              ; +0x78, 0x6953e0\nCMP             X1, X0                                                 ; +0x7c, 0x6953e4\nB.NE            loc_695404                                             ; +0x80, 0x6953e8\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x84, 0x6953ec\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0x88, 0x6953f0\nLDR             X23, [SP,#0x60+var_30]                                 ; +0x8c, 0x6953f4\nLDR             D8, [SP,#0x60+var_28]                                  ; +0x90, 0x6953f8\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x94, 0x6953fc\nRET                                                                    ; +0x98, 0x695400\nBL              .__stack_chk_fail                                      ; +0x9c, 0x695404", "xrefs": ["BoomListView::setupList @ 0x68829c", "CustomListView::setupList @ 0x736aac", "CustomListView::setupList @ 0x736bac", "CustomListView::setupList @ 0x736d0c", "CustomListView::setupList @ 0x736df0", "CustomListView::setupList @ 0x736ec8", "CustomListView::setupList @ 0x736fec", "MessageThreadsPage::onScrollToTop @ 0xc65838", "<???> @ 0xb8918"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}