// // LevelBrowserLayer::keyDown from 0x6eda34 to 0x6edae4 (176 bytes) // // 4 xrefs: // > `non-virtual thunk to'LevelBrowserLayer::keyDown @ 0x6edae8 // > @ 0x6c8a0 // > @ 0x115daa8 // > @ 0x11efa78 // // 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 LevelBrowserLayer::keyDown(LevelBrowserLayer *a1, cocos2d::enumKeyCodes a2, double a3) { CCMenuItemSpriteExtra *m_rightArrow; // x0 CCMenuItemSpriteExtra *m_leftArrow; // x0 if ( a2 == KEY_Right ) { LABEL_5: m_rightArrow = a1->m_rightArrow; if ( m_rightArrow ) { if ( ((unsigned __int8 (__fastcall *)(CCMenuItemSpriteExtra *, long double))m_rightArrow->isVisible)( m_rightArrow, *(long double *)&a3) ) { LevelBrowserLayer::onNextPage(a1, nullptr); } } return; } if ( a2 <= KEY_Right ) { if ( a2 != KEY_Left ) goto LABEL_9; } else if ( a2 != CONTROLLER_Left ) { if ( a2 == CONTROLLER_Right ) goto LABEL_5; LABEL_9: cocos2d::CCLayer::keyDown(a1, a2, a3); return; } m_leftArrow = a1->m_leftArrow; if ( m_leftArrow && ((unsigned __int8 (__fastcall *)(CCMenuItemSpriteExtra *, long double))m_leftArrow->isVisible)( m_leftArrow, *(long double *)&a3) ) { LevelBrowserLayer::onPrevPage(a1, nullptr); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source