//
// CCScrollLayerExt::moveToTopWithOffset from 0x579be8 to 0x579c8c (164 bytes)
//
// 6 xrefs:
// > BoomListView::setupList @ 0x56bfcc
// > CustomListView::setupList @ 0x60d5f8
// > CustomListView::setupList @ 0x60d608
// > CustomListView::setupList @ 0x60d618
// > CustomListView::setupList @ 0x60d67c
// > ??> @ 0x5a858
//
// 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)
{
CCContentLayer *m_contentLayer; // x21
void (__fastcall *setPosition)(CCContentLayer *__hidden, const cocos2d::CCPoint *); // x23
float x; // s9
float MinY; // s0
cocos2d::CCPoint v8; // [xsp+60h] [xbp+60h] BYREF
m_contentLayer = a1->m_contentLayer;
setPosition = m_contentLayer->setPosition;
x = m_contentLayer->getPosition(m_contentLayer)->x;
MinY = CCScrollLayerExt::getMinY(a1);
cocos2d::CCPoint::CCPoint(&v8, x, MinY + a2);
setPosition(m_contentLayer, &v8);
}