//
// FLAlertLayer::keyDown from 0x3cc3cc to 0x3cc3f6 (42 bytes)
//
// 7 xrefs:
// > `non-virtual thunk to'FLAlertLayer::keyDown @ 0x3cc3fa
// > CreateGuidelinesLayer::keyDown @ 0x3f7a1e
// > InfoLayer::keyDown @ 0x540b2a
// > NewsPopup::keyDown @ 0x6c276e
// > NewThreadPopup::keyDown @ 0x75531e
// > ThreadViewPopup::keyDown @ 0x75df36
// > DeathTrackerPopup::keyDown @ 0x775242
//
// 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:46:38 +0000
//
FLAlertLayer *__fastcall FLAlertLayer::keyDown(FLAlertLayer *result, int a2)
{
if ( a2 == 32 )
{
if ( !*((_BYTE *)result + 497) )
return result;
return (FLAlertLayer *)FLAlertLayer::onButtonTag(result, 1);
}
if ( a2 == 1007 )
return (FLAlertLayer *)FLAlertLayer::onButtonTag(result, 1);
return (FLAlertLayer *)cocos2d::CCLayer::keyDown();
}