//
// LevelSelectLayer::onPlay from 0x514078 to 0x51409c (36 bytes)
//
// 1 xrefs:
// > LevelSelectLayer::keyDown @ 0x5140f4
//
// 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:51:35 +0000
//
int __fastcall LevelSelectLayer::onPlay(int this, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v2; // r4
int Page; // r0
v2 = (cocos2d::CCObject *)(unsigned __int8)s_didClick;
if ( !s_didClick )
{
Page = BoomScrollLayer::getPage(*(BoomScrollLayer **)(this + 336), *(_DWORD *)(*(_DWORD *)(this + 336) + 460));
return LevelPage::onPlay(Page, v2);
}
return this;
}