// // LevelBrowserLayer::keyDown from 0x100418fd0 to 0x100419078 (168 bytes) // // 3 xrefs: // > sub_100419078 @ 0x10041907c // > @ 0x1007cb228 // > @ 0x100823088 // // 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 LevelBrowserLayer::keyDown(LevelBrowserLayer *a1, cocos2d::enumKeyCodes a2, double a3) { CCMenuItemSpriteExtra *m_leftArrow; // x0 cocos2d::CCObject *v5; // x1 CCMenuItemSpriteExtra *m_rightArrow; // x0 cocos2d::CCObject *v7; // x1 if ( a2 > 1024 ) { if ( a2 == CONTROLLER_Right ) { LABEL_10: m_rightArrow = a1->m_rightArrow; if ( m_rightArrow ) { if ( ((unsigned int (__fastcall *)(CCMenuItemSpriteExtra *, __n128))m_rightArrow->isVisible)( m_rightArrow, *(__n128 *)&a3) ) { LevelBrowserLayer::onNextPage(a1, v7); } } return; } if ( a2 != CONTROLLER_Left ) { LABEL_14: cocos2d::CCLayer::keyDown(a1, a2, a3); return; } } else if ( a2 != KEY_Left ) { if ( a2 != KEY_Right ) goto LABEL_14; goto LABEL_10; } m_leftArrow = a1->m_leftArrow; if ( m_leftArrow && ((unsigned int (__fastcall *)(CCMenuItemSpriteExtra *, __n128))m_leftArrow->isVisible)( m_leftArrow, *(__n128 *)&a3) ) { LevelBrowserLayer::onPrevPage(a1, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source