// // CCScrollLayerExt::moveToTopWithOffset from 0x140046fd0 to 0x140047063 (147 bytes) // // 6 xrefs: // > BoomListView::setupList @ 0x14003c411 // > CustomListView::setupList @ 0x1400abfc7 // > CustomListView::setupList @ 0x1400ac0f9 // > CustomListView::setupList @ 0x1400ac273 // > CustomListView::setupList @ 0x1400ac2ec // > @ 0x1406c4890 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void CCScrollLayerExt::moveToTopWithOffset(CCScrollLayerExt *a1, float a2) { const cocos2d::CCSize *v3; // rbx const cocos2d::CCSize *v4; // rax float height; // xmm6_4 CCContentLayer *m_contentLayer; // rcx CCContentLayer_vtbl *v7; // rbx float v8; // xmm6_4 float *v9; // rax const cocos2d::CCPoint *v10; // rax cocos2d::CCPoint v11; // [rsp+50h] [rbp+8h] BYREF v3 = a1->getContentSize(a1); v4 = a1->m_contentLayer->getContentSize(a1->m_contentLayer); height = v3->height; m_contentLayer = a1->m_contentLayer; v7 = m_contentLayer->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v8 = (float)(height - v4->height) - a1->m_scrollLimitTop; v9 = (float *)m_contentLayer->getPosition_0(m_contentLayer); cocos2d::CCPoint::CCPoint(&v11, *v9, v8 + a2); v7->setPosition_0(a1->m_contentLayer, v10); }