//
// DialogLayer::keyDown from 0x4d66f8 to 0x4d6724 (44 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'DialogLayer::keyDown @ 0x4d6728
//
// 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 DialogLayer::keyDown(DialogLayer *a1, cocos2d::enumKeyCodes a2, double a3)
{
bool v3; // zf
if ( a2 == KEY_Up )
goto LABEL_10;
if ( a2 > KEY_Up )
{
if ( a2 == CONTROLLER_RB || a2 == CONTROLLER_LB )
goto LABEL_10;
v3 = a2 == CONTROLLER_A;
}
else
{
if ( a2 == KEY_Escape )
{
LABEL_10:
DialogLayer::handleDialogTap(a1);
return;
}
v3 = a2 == KEY_Space;
}
if ( v3 )
goto LABEL_10;
}