//
// GJLevelList::orderForLevel from 0x1000b1760 to 0x1000b1798 (56 bytes)
//
// 1 xrefs:
// > LevelListLayer::cellPerformedAction @ 0x10024655c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall GJLevelList::orderForLevel(GJLevelList *a1, int a2)
{
std::__vector_base::pointer begin; // x8
std::__vector_base::pointer end; // x9
int result; // w0
begin = a1->m_levels.__begin_;
end = a1->m_levels.__end_;
if ( begin == end )
return 0;
result = 0;
do
{
if ( *begin == a2 )
break;
++result;
++begin;
}
while ( begin != end );
return result;
}