//
// sub_1002B1CA0 from 0x1002b1ca0 to 0x1002b1cfa (90 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b0e3f0
//
// 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:28:01 +0000
//
void __fastcall sub_1002B1CA0(__int64 a1, const void *a2)
{
__int64 v2; // rdx
if ( !*(_BYTE *)(a1 + 144) )
{
if ( (_DWORD)a2 == 1009 || (_DWORD)a2 == 32 )
{
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 152) + 352LL))(*(_QWORD *)(a1 + 152)) )
LevelInfoLayer::onPlay((_BYTE *)(a1 - 344), a2, v2);
}
else
{
cocos2d::CCLayer::keyDown(a1 - 344);
}
}
}