// // AchievementsLayer::keyDown from 0x100373660 to 0x1003736f6 (150 bytes) // // 1 xrefs: // > @ 0x10091d448 // // 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 AchievementsLayer::keyDown(AchievementsLayer *a1, cocos2d::enumKeyCodes a2, double a3) { if ( a2 > 1024 ) { if ( a2 == CONTROLLER_Right ) { LABEL_9: if ( ((unsigned __int8 (__fastcall *)(CCMenuItemSpriteExtra *, double))a1->m_nextPageButton->isVisible)( a1->m_nextPageButton, a3) ) { AchievementsLayer::loadPage(a1, a1->m_currentPage + 1); } return; } if ( a2 != CONTROLLER_Left ) { LABEL_12: cocos2d::CCLayer::keyDown(a1, a2, a3); return; } } else if ( a2 != KEY_Left ) { if ( a2 != KEY_Right ) goto LABEL_12; goto LABEL_9; } if ( ((unsigned __int8 (__fastcall *)(CCMenuItemSpriteExtra *, double))a1->m_prevPageButton->isVisible)( a1->m_prevPageButton, a3) ) { AchievementsLayer::loadPage(a1, a1->m_currentPage - 1); } }