// // WorldSelectLayer::scrollLayerWillScrollToPage from 0x1003c38b0 to 0x1003c3928 (120 bytes) // // 1 xrefs: // > @ 0x10092de30 // // 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 WorldSelectLayer::scrollLayerWillScrollToPage(WorldSelectLayer *a1, BoomScrollLayer *a2, int a3) { BoomScrollLayer *m_scrollLayer; // rax CCMenuItemSpriteExtra *m_arrowLeft; // rdi bool v6; // al BoomScrollLayer *v7; // rdi CCMenuItemSpriteExtra *m_arrowRight; // rbx int m_page; // r14d bool v10; // al m_scrollLayer = a1->m_scrollLayer; m_arrowLeft = a1->m_arrowLeft; if ( m_scrollLayer ) v6 = m_scrollLayer->m_page > 0; else v6 = 0; ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool, int))m_arrowLeft->setVisible)(m_arrowLeft, v6, a3); v7 = a1->m_scrollLayer; m_arrowRight = a1->m_arrowRight; if ( v7 ) { m_page = v7->m_page; v10 = m_page < BoomScrollLayer::getTotalPages(v7) - 1; } else { v10 = 0; } ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))m_arrowRight->setVisible)(m_arrowRight, v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source