//
// CCScrollLayerExt::moveToTop from 0x579c8c to 0x579d2c (160 bytes)
//
// 6 xrefs:
// > BoomListView::setupList @ 0x56bf90
// > CustomListView::setupList @ 0x60d218
// > CustomListView::setupList @ 0x60d274
// > CustomListView::setupList @ 0x60d35c
// > CustomListView::setupList @ 0x60d51c
// > ??> @ 0x8b4b8
//
// 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::moveToTop(CCScrollLayerExt *a1)
{
CCContentLayer *m_contentLayer; // x21
void (__fastcall *setPosition)(CCContentLayer *__hidden, const cocos2d::CCPoint *); // x23
float x; // s8
float MinY; // s0
cocos2d::CCPoint v6; // [xsp+50h] [xbp+50h] BYREF
m_contentLayer = a1->m_contentLayer;
setPosition = m_contentLayer->setPosition;
x = m_contentLayer->getPosition(m_contentLayer)->x;
MinY = CCScrollLayerExt::getMinY(a1);
cocos2d::CCPoint::CCPoint(&v6, x, MinY);
setPosition(m_contentLayer, &v6);
}