//
// WorldSelectLayer::updateArrows from 0xaa5f2c to 0xaa5fcc (160 bytes)
//
// 6 xrefs:
// > WorldSelectLayer::goToPage @ 0xaa6020
// > WorldSelectLayer::goToPage @ 0xaa6040
// > WorldSelectLayer::scrollLayerScrolledToPage @ 0xaa6140
// > WorldSelectLayer::scrollLayerWillScrollToPage @ 0xaa614c
// > WorldSelectLayer::init @ 0xaa8480
// > ??> @ 0x4bb68
//
// 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::updateArrows(WorldSelectLayer *this)
{
__int64 v2; // x0
__int64 v3; // x1
_BOOL8 v4; // x1
__int64 v5; // x20
__int64 v6; // x1
__int64 (__fastcall *v7)(__int64, _BOOL8); // x19
int v8; // w21
_BOOL8 v9; // x1
v2 = *((_QWORD *)this + 54);
v3 = *((_QWORD *)this + 53);
if ( v3 )
v4 = *(_DWORD *)(v3 + 588) > 0;
else
v4 = 0;
(*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v2 + 344LL))(v2, v4);
v5 = *((_QWORD *)this + 55);
v6 = *((_QWORD *)this + 53);
v7 = *(__int64 (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v5 + 344LL);
if ( !v6 )
return v7(v5, 0);
v8 = *(_DWORD *)(v6 + 588);
v9 = v8 < (int)(BoomScrollLayer::getTotalPages((cocos2d::CCArray **)v6) - 1);
return v7(v5, v9);
}