//
// ThreadViewPopup::keyDown from 0x100939e50 to 0x100939ec1 (113 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bc2ae8
//
// 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 12:38:28 +0000
//
void __fastcall ThreadViewPopup::keyDown(__int64 a1, int a2)
{
__int64 v2; // rax
__int64 v3; // rax
if ( a2 == 13
&& (v2 = *(_QWORD *)(a1 + 928)) != 0
&& *(_BYTE *)(v2 + 460) == 1
&& (v3 = cocos2d::CCDirector::sharedDirector(),
!*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3) + 128)) )
{
sub_10092F790(a1);
}
else
{
FLAlertLayer::keyDown(a1, a2);
}
}