//
// GJLevelList::reorderLevelStep from 0x857b08 to 0x857b50 (72 bytes)
//
// 2 xrefs:
// > LevelListLayer::cellPerformedAction @ 0xbaab0c
// > ??> @ 0x9bba8
//
// 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 12:55:30 +0000
//
__int64 __fastcall GJLevelList::reorderLevelStep(GJLevelList *this, int a2, unsigned __int8 a3)
{
int v4; // w21
int v6; // w0
int v7; // w2
v4 = a3;
v6 = GJLevelList::orderForLevel(this, a2);
if ( v4 )
v7 = -1;
else
v7 = 1;
return GJLevelList::reorderLevel(this, a2, v7 + v6);
}