// // CCScrollLayerExt::moveToTopWithOffset from 0x100300cf4 to 0x100300d9c (168 bytes) // // 5 xrefs: // > CustomListView::setupList @ 0x10010b6cc // > CustomListView::setupList @ 0x10010b8e8 // > CustomListView::setupList @ 0x10010b96c // > CustomListView::setupList @ 0x10010ba28 // > BoomListView::setupList @ 0x1001d00d4 // // 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 __fastcall CCScrollLayerExt::moveToTopWithOffset(CCScrollLayerExt *a1, float a2) { CCContentLayer *m_contentLayer; // x20 unsigned __int32 v5; // s9 float v6; // s10 __n128 v7; // q1 __n128 v8; // q0 int v9; // [xsp+8h] [xbp-38h] BYREF m_contentLayer = a1->m_contentLayer; v5 = *(_DWORD *)((__int64 (__fastcall *)(CCContentLayer *))m_contentLayer->getPosition)(m_contentLayer); v6 = *(float *)(((__int64 (__fastcall *)(CCScrollLayerExt *))a1->getContentSize)(a1) + 4); v7.n128_f32[0] = (float)((float)(v6 - *(float *)(((__int64 (__fastcall *)(CCContentLayer *))a1->m_contentLayer->getContentSize)(a1->m_contentLayer) + 4)) - a1->m_scrollLimitTop) + a2; v8.n128_u32[0] = v5; sub_100022980(v8, v7, &v9); ((void (__fastcall *)(CCContentLayer *, int *))m_contentLayer->setPosition)(m_contentLayer, &v9); }