//
// DialogLayer::keyDown from 0x1400d43b0 to 0x1400d43ea (58 bytes)
//
// 1 xrefs:
// > ??> @ 0x1405507a0
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void DialogLayer::keyDown(DialogLayer *a1, cocos2d::enumKeyCodes a2, double a3)
{
__int64 v3; // rax
__int32 v4; // edx
if ( a2 <= CONTROLLER_A )
{
if ( a2 != CONTROLLER_A )
{
if ( (unsigned int)a2 > KEY_Up )
return;
v3 = 0x4108000000LL;
if ( !_bittest64(&v3, *(unsigned __int64 *)&a2) )
return;
}
LABEL_8:
DialogLayer::handleDialogTap((DialogLayer *)((char *)a1 - 344));
return;
}
v4 = a2 - 1013;
if ( !v4 || v4 == 2 )
goto LABEL_8;
}