//
// LevelSearchLayer::keyDown from 0x4998e0 to 0x4998ee (14 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelSearchLayer::keyDown @ 0x4998f2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:49:44 +0000
//
int __fastcall LevelSearchLayer::keyDown(LevelSearchLayer *a1, int a2)
{
if ( a2 == 13 )
return LevelSearchLayer::onSearch(a1, nullptr);
else
return cocos2d::CCLayer::keyDown(a1);
}