//
// FLAlertLayer::keyDown from 0x10049c080 to 0x10049c103 (131 bytes)
//
// 202 xrefs:
// > sub_10049C110 @ 0x10049c11c
// > CreateGuidelinesLayer::keyDown @ 0x10050d4c9
// > sub_10050D4D0 @ 0x10050d4f0
// > ??> @ 0x1008af1b8
// > ??> @ 0x1008af9b0
// > ??> @ 0x1008b2450
// > ??> @ 0x1008b2c48
// > ??> @ 0x1008b4f30
// > ??> @ 0x1008b5ee0
// > ??> @ 0x1008d97e0
// > ??> @ 0x1008d9fe0
// > ??> @ 0x1008daed0
// > ??> @ 0x1008db6b0
// > ??> @ 0x1008dcb00
// > ??> @ 0x1008ddf78
// > ??> @ 0x1008de750
// > ??> @ 0x1008dee18
// > ??> @ 0x1008df520
// > ??> @ 0x1008dfc98
// > ??> @ 0x1008e0398
// > ??> @ 0x1008e1698
// > ??> @ 0x1008e1e80
// > ??> @ 0x1008e2a78
// > ??> @ 0x1008ec188
// > ??> @ 0x1008ec898
// > ??> @ 0x1008ed038
// > ??> @ 0x1008ed6e8
// > ??> @ 0x1008ede70
// > ??> @ 0x1008ee680
// > ??> @ 0x1008f14b0
// > ??> @ 0x1008f1b60
// > ??> @ 0x1008f22a0
// > ??> @ 0x1008f29b0
// > ??> @ 0x1008f3290
// > ??> @ 0x1008f40c0
// > ??> @ 0x1008f6920
// > ??> @ 0x1008f8308
// > ??> @ 0x1008f89b8
// > ??> @ 0x1008f9858
// > ??> @ 0x1008fa048
// > ??> @ 0x1008fa728
// > ??> @ 0x1008fae48
// > ??> @ 0x1008fb598
// > ??> @ 0x1008fbd28
// > ??> @ 0x1008fc438
// > ??> @ 0x1008fcba0
// > ??> @ 0x1008fdaa8
// > ??> @ 0x1008fe2a0
// > ??> @ 0x1008feab0
// > ??> @ 0x1008ff368
// > ??> @ 0x1008ffb78
// > ??> @ 0x1009003e0
// > ??> @ 0x100900b58
// > ??> @ 0x100901280
// > ??> @ 0x1009019f8
// > ??> @ 0x100902470
// > ??> @ 0x100902c98
// > ??> @ 0x100903490
// > ??> @ 0x100903ca0
// > ??> @ 0x100904700
// > ??> @ 0x100905498
// > ??> @ 0x100905c90
// > ??> @ 0x100906488
// > ??> @ 0x1009074c8
// > ??> @ 0x100907fd8
// > ??> @ 0x100908890
// > ??> @ 0x100908f58
// > ??> @ 0x10090a600
// > ??> @ 0x10090ad00
// > ??> @ 0x10090b440
// > ??> @ 0x10090d1b8
// > ??> @ 0x10090d880
// > ??> @ 0x10090e0c8
// > ??> @ 0x10090e8c0
// > ??> @ 0x1009102e8
// > ??> @ 0x100910ad0
// > ??> @ 0x1009111f8
// > ??> @ 0x100911980
// > ??> @ 0x1009126d8
// > ??> @ 0x100912db8
// > ??> @ 0x100914128
// > ??> @ 0x1009176e0
// > ??> @ 0x100918e40
// > ??> @ 0x1009194f0
// > ??> @ 0x100919ba0
// > ??> @ 0x10091a380
// > ??> @ 0x10091aaa8
// > ??> @ 0x10091cd80
// > ??> @ 0x10091e6a8
// > ??> @ 0x10091f2d0
// > ??> @ 0x100920a68
// > ??> @ 0x100921260
// > ??> @ 0x100921a58
// > ??> @ 0x100922f98
// > ??> @ 0x100923f78
// > ??> @ 0x100925190
// > ??> @ 0x100925988
// > ??> @ 0x100926180
// > ??> @ 0x100928e00
// > ??> @ 0x10092d768
// > ??> @ 0x10092f8e0
// > ??> @ 0x1009308a8
// > ??> @ 0x100931398
// > ??> @ 0x1009327c8
// > ??> @ 0x100934920
// > ??> @ 0x100936a00
// > ??> @ 0x1009385b0
// > ??> @ 0x100938dd0
// > ??> @ 0x100939498
// > ??> @ 0x10093a3e0
// > ??> @ 0x1009431e8
// > ??> @ 0x100944368
// > ??> @ 0x100944ae0
// > ??> @ 0x100945310
// > ??> @ 0x100946fc0
// > ??> @ 0x10094b1a8
// > ??> @ 0x10094b9a0
// > ??> @ 0x10094c198
// > ??> @ 0x10094ca30
// > ??> @ 0x10094d2c8
// > ??> @ 0x10094dac0
// > ??> @ 0x10094fd90
// > ??> @ 0x100950588
// > ??> @ 0x100951a20
// > ??> @ 0x100952218
// > ??> @ 0x100952a10
// > ??> @ 0x100953208
// > ??> @ 0x100953a00
// > ??> @ 0x100954240
// > ??> @ 0x100954a38
// > ??> @ 0x100955258
// > ??> @ 0x100955920
// > ??> @ 0x100956660
// > ??> @ 0x100956d78
// > ??> @ 0x1009574a8
// > ??> @ 0x100957b60
// > ??> @ 0x1009590b8
// > ??> @ 0x10095a0d8
// > ??> @ 0x10095a958
// > ??> @ 0x10095b098
// > ??> @ 0x10095b890
// > ??> @ 0x10095cee8
// > ??> @ 0x10095d838
// > ??> @ 0x1009631e0
// > ??> @ 0x1009638a8
// > ??> @ 0x1009646a0
// > ??> @ 0x100966250
// > ??> @ 0x100966a30
// > ??> @ 0x100967240
// > ??> @ 0x100967a38
// > ??> @ 0x100968230
// > ??> @ 0x100968a28
// > ??> @ 0x100969220
// > ??> @ 0x100969a18
// > ??> @ 0x10096a250
// > ??> @ 0x10096aa48
// > ??> @ 0x10096b280
// > ??> @ 0x10096ba78
// > ??> @ 0x10096c270
// > ??> @ 0x10096ca68
// > ??> @ 0x10096d260
// > ??> @ 0x10096da58
// > ??> @ 0x10096e250
// > ??> @ 0x10096ea48
// > ??> @ 0x10096f240
// > ??> @ 0x10096fa38
// > ??> @ 0x100971048
// > ??> @ 0x1009736e0
// > ??> @ 0x100976070
// > ??> @ 0x1009775c0
// > ??> @ 0x100977db8
// > ??> @ 0x100978cc0
// > ??> @ 0x10097b170
// > ??> @ 0x10097c6d0
// > ??> @ 0x10097dff8
// > ??> @ 0x10097f728
// > ??> @ 0x1009802b8
// > ??> @ 0x100980ab0
// > ??> @ 0x100981278
// > ??> @ 0x100982e78
// > ??> @ 0x1009835b8
// > ??> @ 0x100984818
// > ??> @ 0x100984f20
// > ??> @ 0x100986410
// > ??> @ 0x100987050
// > ??> @ 0x100987718
// > ??> @ 0x100987f10
// > ??> @ 0x100988738
// > ??> @ 0x100988f30
// > ??> @ 0x10098ad18
// > ??> @ 0x10098b918
// > ??> @ 0x10098d5c8
// > ??> @ 0x10098ddc0
// > ??> @ 0x10098eb08
// > ??> @ 0x10098f250
// > ??> @ 0x10098f900
// > ??> @ 0x10098fff8
// > ??> @ 0x100992930
// > ??> @ 0x100993178
// > ??> @ 0x1009941e0
// > ??> @ 0x100994ab0
// > ??> @ 0x100995178
//
// 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 FLAlertLayer::keyDown(FLAlertLayer *a1, cocos2d::enumKeyCodes a2, double a3)
{
cocos2d::CCDirector *v4; // rax
cocos2d::CCTouchDispatcher *v5; // rax
FLAlertLayerProtocol *m_alertProtocol; // rdi
if ( a2 == KEY_Space )
{
if ( !a1->m_noAction )
return;
}
else if ( a2 != CONTROLLER_X )
{
cocos2d::CCLayer::keyDown(a1, a2, a3);
return;
}
v4 = cocos2d::CCDirector::sharedDirector();
v5 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *, double))v4->getTouchDispatcher)(
v4,
a3);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1);
m_alertProtocol = a1->m_alertProtocol;
if ( m_alertProtocol )
((void (__fastcall *)(FLAlertLayerProtocol *, FLAlertLayer *, __int64))m_alertProtocol->FLAlert_Clicked)(
m_alertProtocol,
a1,
1);
((void (__fastcall *)(FLAlertLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}