//
// WorldSelectLayer::onPrev from 0xaa6124 to 0xaa6140 (28 bytes)
//
// 3 xrefs:
// > ??> @ 0xadfc8
// > WorldSelectLayer::init @ 0xaa82c4
// > ??> @ 0x1544f28
//
// 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 13:00:51 +0000
//
__int64 __fastcall WorldSelectLayer::onPrev(__int64 this, cocos2d::CCObject *a2)
{
if ( !*(_BYTE *)(this + 464) )
return WorldSelectLayer::goToPage((cocos2d::CCArray ***)this, *(_DWORD *)(*(_QWORD *)(this + 424) + 588LL) - 1, 0);
return this;
}