//
// ThreadViewPopup::keyDown from 0x75def4 to 0x75df3a (70 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ThreadViewPopup::keyDown @ 0x75df3e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:01 +0000
//
FLAlertLayer *__fastcall ThreadViewPopup::keyDown(ThreadViewPopup *a1, int a2)
{
int v4; // r3
int v5; // r0
int v6; // r0
if ( a2 == 13
&& (v4 = *((_DWORD *)a1 + 171)) != 0
&& *(_BYTE *)(v4 + 344)
&& (v5 = cocos2d::CCDirector::sharedDirector(a1),
v6 = (*(int (__fastcall **)(int))(*(_DWORD *)v5 + 96))(v5),
!*(_BYTE *)(v6 + 88)) )
{
return (FLAlertLayer *)ThreadViewPopup::onSend(a1, (cocos2d::CCObject *)*(unsigned __int8 *)(v6 + 88));
}
else
{
return FLAlertLayer::keyDown(a1, a2);
}
}