//
// GJGameLevel::getSessionBest from 0x4b2aa8 to 0x4b2b02 (90 bytes)
//
// 1 xrefs:
// > PlayLayer::resetLevel @ 0x412c1e
//
// 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:50:04 +0000
//
int __fastcall GJGameLevel::getSessionBest(GJGameLevel *this, int a2, int a3, int a4)
{
int v4; // r6
char *i; // r3
int v6; // r1
int v7; // t1
char *v9; // [sp+0h] [bp-10h] BYREF
char *v10; // [sp+4h] [bp-Ch]
int v11; // [sp+8h] [bp-8h]
int v12; // [sp+Ch] [bp-4h]
v12 = a4;
v9 = nullptr;
v10 = nullptr;
v11 = 0;
GJGameLevel::dtExpandOrder((unsigned __int8 *)this + 1216, (int)&v9);
v4 = 0;
for ( i = v9; i != v10; i += 4 )
{
v7 = *(_DWORD *)i;
v6 = v7;
if ( v4 < v7 )
v4 = v6;
}
std::__vector_base::~__vector_base(&v9);
return v4;
}