// // ListButtonBar::goToPage from 0x10016822c to 0x1001682a4 (120 bytes) // // 3 xrefs: // > GJShopLayer::init @ 0x10014b774 // > ListButtonBar::onLeft @ 0x100168218 // > ListButtonBar::onRight @ 0x100168228 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall ListButtonBar::goToPage(ListButtonBar *a1, int a2) { __int64 v2; // x19 BoomScrollLayer *m_scrollLayer; // x0 ListButtonBarDelegate *m_delegate; // x0 v2 = *(_QWORD *)&a2; BoomScrollLayer::getTotalPages(a1->m_scrollLayer); m_scrollLayer = a1->m_scrollLayer; if ( a1->m_useMoveAnimation ) { BoomScrollLayer::moveToPage(m_scrollLayer, v2); } else { BoomScrollLayer::instantMoveToPage(m_scrollLayer, v2 - 1); BoomScrollLayer::instantMoveToPage(a1->m_scrollLayer, v2); } m_delegate = a1->m_delegate; if ( m_delegate ) ((void (__fastcall *)(ListButtonBarDelegate *, ListButtonBar *, __int64))m_delegate->listButtonBarSwitchedPage)( m_delegate, a1, v2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source