//
// LevelSelectLayer::onPrev from 0x140442da0 to 0x140442e13 (115 bytes)
//
// 3 xrefs:
// > LevelSelectLayer::keyDown @ 0x140442f26
// > LevelSelectLayer::init @ 0x1404420b7
// > ??> @ 0x140927134
//
// 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 11:32:22 +0000
//
void __fastcall LevelSelectLayer::onPrev(__int64 a1)
{
__int64 v1; // rbx
cocos2d::CCNode *v3; // rcx
v1 = *(_QWORD *)(a1 + 448);
if ( *(_BYTE *)(v1 + 552) )
{
v3 = *(cocos2d::CCNode **)(v1 + 504);
*(_BYTE *)(v1 + 552) = 0;
cocos2d::CCNode::stopActionByTag(v3, 2);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v1 + 504) + 184LL))(*(_QWORD *)(v1 + 504), v1 + 496);
BoomScrollLayer::moveToPageEnded(v1);
}
BoomScrollLayer::moveToPage(*(__int64 **)(a1 + 448), *(_DWORD *)(*(_QWORD *)(a1 + 448) + 588LL) - 1);
}