//
// sub_1004BC9D0 from 0x1004bc9d0 to 0x1004bca17 (71 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b5a530
//
// 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:31:03 +0000
//
void __fastcall sub_1004BC9D0(__int64 a1, __int64 a2, double a3)
{
_BYTE *v3; // rdi
v3 = (_BYTE *)(a1 - 344);
if ( (int)a2 <= 1000 )
{
if ( (_DWORD)a2 != 27 )
{
if ( (_DWORD)a2 == 32 )
goto LABEL_5;
LABEL_8:
cocos2d::CCLayer::keyDown((__int64)v3, a2);
return;
}
}
else
{
if ( (_DWORD)a2 == 1009 )
{
LABEL_5:
EndLevelLayer::onReplay(v3, a3);
return;
}
if ( (_DWORD)a2 != 1003 )
{
if ( (_DWORD)a2 == 1001 )
goto LABEL_5;
goto LABEL_8;
}
}
EndLevelLayer::onMenu((__int64)v3, a2);
}