//
// EndLevelLayer::keyDown from 0x1003954a4 to 0x1003954e0 (60 bytes)
//
// 2 xrefs:
// > sub_1003954E0 @ 0x1003954e4
// > ??> @ 0x100941528
//
// This function is hookable on this platform (idp: arm, 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:03:40 +0000
//
void __fastcall EndLevelLayer::keyDown(_BYTE *a1, int a2)
{
if ( a2 <= 1000 )
{
if ( a2 != 27 )
{
if ( a2 == 32 )
goto LABEL_5;
LABEL_8:
cocos2d::CCLayer::keyDown((__int64)a1, a2);
return;
}
}
else
{
if ( a2 == 1009 )
{
LABEL_5:
EndLevelLayer::onReplay(a1);
return;
}
if ( a2 != 1003 )
{
if ( a2 == 1001 )
goto LABEL_5;
goto LABEL_8;
}
}
sub_100393BF4((__int64)a1);
}