// // LevelSelectLayer::keyDown from 0x100403830 to 0x1004038f8 (200 bytes) // // 2 xrefs: // > sub_100403924 @ 0x100403928 // > @ 0x100817938 // // 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 LevelSelectLayer::keyDown(LevelSelectLayer *a1, cocos2d::enumKeyCodes a2, double a3) { BoomScrollLayer *m_scrollLayer; // x0 int v5; // w1 if ( a2 <= (KEY_OEM3|KEY_Down|0x300) ) { if ( a2 <= KEY_Home ) { if ( a2 != KEY_Enter && a2 != KEY_Space ) goto LABEL_18; LABEL_9: LevelSelectLayer::onPlay(a1, *(cocos2d::CCObject **)&a2); return; } if ( a2 != KEY_Left ) { if ( a2 != KEY_Right ) goto LABEL_18; goto LABEL_16; } goto LABEL_15; } if ( a2 <= 1024 ) { if ( a2 != CONTROLLER_A && a2 != CONTROLLER_Start ) goto LABEL_18; goto LABEL_9; } if ( a2 == CONTROLLER_Right ) { LABEL_16: BoomScrollLayer::quickUpdate(a1->m_scrollLayer); m_scrollLayer = a1->m_scrollLayer; v5 = m_scrollLayer->m_page + 1; goto LABEL_17; } if ( a2 == CONTROLLER_Left ) { LABEL_15: BoomScrollLayer::quickUpdate(a1->m_scrollLayer); m_scrollLayer = a1->m_scrollLayer; v5 = m_scrollLayer->m_page - 1; LABEL_17: BoomScrollLayer::moveToPage(m_scrollLayer, v5); return; } LABEL_18: cocos2d::CCLayer::keyDown(a1, a2, a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source