//
// DialogLayer::keyDown from 0x140175c80 to 0x140175cba (58 bytes)
//
// 1 xrefs:
// > ??> @ 0x140746bf8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:27:33 +0000
//
int __fastcall DialogLayer::keyDown(__int64 a1, unsigned __int64 a2)
{
__int64 v2; // rax
int v3; // edx
if ( (int)a2 <= 1001 )
{
if ( (_DWORD)a2 != 1001 )
{
if ( (unsigned int)a2 > 0x26 )
return v2;
v2 = 0x4108000000LL;
if ( !_bittest64(&v2, a2) )
return v2;
}
LABEL_8:
LODWORD(v2) = DialogLayer::handleDialogTap(a1 - 344);
return v2;
}
v3 = a2 - 1013;
if ( !v3 || v3 == 2 )
goto LABEL_8;
return v2;
}