{"type": "func", "start": 5369000048, "end": 5369000178, "name": "CCScrollLayerExt::moveToTop", "pseudocode": "// \n// CCScrollLayerExt::moveToTop from 0x140047070 to 0x1400470f2 (130 bytes)\n// \n// 6 xrefs:\n// > BoomListView::setupList @ 0x14003c41b\n// > CustomListView::setupList @ 0x1400abfce\n// > CustomListView::setupList @ 0x1400ac100\n// > CustomListView::setupList @ 0x1400ac280\n// > CustomListView::setupList @ 0x1400ac2f3\n// > <???> @ 0x1406c489c\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  const cocos2d::CCSize *v2; // rbx\n  const cocos2d::CCSize *v3; // rax\n  float height; // xmm6_4\n  CCContentLayer *m_contentLayer; // rcx\n  CCContentLayer_vtbl *v6; // rbx\n  float v7; // xmm6_4\n  float *v8; // rax\n  const cocos2d::CCPoint *v9; // rax\n  cocos2d::CCPoint v10; // [rsp+40h] [rbp+8h] BYREF\n\n  v2 = a1->getContentSize(a1);\n  v3 = a1->m_contentLayer->getContentSize(a1->m_contentLayer);\n  height = v2->height;\n  m_contentLayer = a1->m_contentLayer;\n  v6 = m_contentLayer->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v7 = (float)(height - v3->height) - a1->m_scrollLimitTop;\n  v8 = (float *)m_contentLayer->getPosition_0(m_contentLayer);\n  cocos2d::CCPoint::CCPoint(&v10, *v8, v7);\n  v6->setPosition_0(a1->m_contentLayer, v9);\n}", "assembly": "; \n; CCScrollLayerExt::moveToTop from 0x140047070 to 0x1400470f2 (130 bytes)\n; \n; 6 xrefs:\n; > BoomListView::setupList @ 0x14003c41b\n; > CustomListView::setupList @ 0x1400abfce\n; > CustomListView::setupList @ 0x1400ac100\n; > CustomListView::setupList @ 0x1400ac280\n; > CustomListView::setupList @ 0x1400ac2f3\n; > <???> @ 0x1406c489c\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140047070\npush    rdi                                                            ; +0x5, 0x140047075\nsub     rsp, 30h                                                       ; +0x6, 0x140047076\nmov     rax, [rcx]                                                     ; +0xa, 0x14004707a\nmov     rdi, rcx                                                       ; +0xd, 0x14004707d\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x10, 0x140047080\ncall    qword ptr [rax+130h]                                           ; +0x15, 0x140047085\nmov     rcx, [rdi+1D8h]                                                ; +0x1b, 0x14004708b\nmov     rbx, rax                                                       ; +0x22, 0x140047092\nmov     rdx, [rcx]                                                     ; +0x25, 0x140047095\ncall    qword ptr [rdx+130h]                                           ; +0x28, 0x140047098\nmovss   xmm6, dword ptr [rbx+4]                                        ; +0x2e, 0x14004709e\nmov     rcx, [rdi+1D8h]                                                ; +0x33, 0x1400470a3\nsubss   xmm6, dword ptr [rax+4]                                        ; +0x3a, 0x1400470aa\nmov     rbx, [rcx]                                                     ; +0x3f, 0x1400470af\nsubss   xmm6, dword ptr [rdi+1E8h]                                     ; +0x42, 0x1400470b2\ncall    qword ptr [rbx+0C8h]                                           ; +0x4a, 0x1400470ba\nmovaps  xmm2, xmm6                                                     ; +0x50, 0x1400470c0\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x53, 0x1400470c3\nmovss   xmm1, dword ptr [rax]                                          ; +0x58, 0x1400470c8\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x5c, 0x1400470cc\nmov     rcx, [rdi+1D8h]                                                ; +0x62, 0x1400470d2\nmov     rdx, rax                                                       ; +0x69, 0x1400470d9\ncall    qword ptr [rbx+0B8h]                                           ; +0x6c, 0x1400470dc\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x72, 0x1400470e2\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x77, 0x1400470e7\nadd     rsp, 30h                                                       ; +0x7c, 0x1400470ec\npop     rdi                                                            ; +0x80, 0x1400470f0\nretn                                                                   ; +0x81, 0x1400470f1", "xrefs": ["BoomListView::setupList @ 0x14003c41b", "CustomListView::setupList @ 0x1400abfce", "CustomListView::setupList @ 0x1400ac100", "CustomListView::setupList @ 0x1400ac280", "CustomListView::setupList @ 0x1400ac2f3", "<???> @ 0x1406c489c"], "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"}