// // GJLevelList::completedLevels from 0x140177870 to 0x140177908 (152 bytes) // // 5 xrefs: // > LevelListCell::loadFromList @ 0x1400bee96 // > LevelListLayer::updateStatsArt @ 0x140305358 // > LevelListLayer::onClaimReward @ 0x1403060e0 // > LevelListLayer::onClaimReward @ 0x140306141 // > @ 0x1406cafec // // 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 // // Hidden C++ exception states: #wind=1 int GJLevelList::completedLevels(GJLevelList *a1) { int result; // eax int *Myfirst; // rbx std::_Vector_val>::pointer i; // rsi int v4; // edi GameStatsManager *v5; // rcx bool hasCompletedOnlineLevel; // cl void *v7; // [rsp+30h] [rbp+8h] result = 0; Myfirst = a1->m_levels._Mypair._Myval2._Myfirst; for ( i = a1->m_levels._Mypair._Myval2._Mylast; Myfirst != i; ++Myfirst ) { v4 = result; v5 = (GameStatsManager *)qword_1406C2EE8; if ( !qword_1406C2EE8 ) { v7 = operator new(0x3E0u); qword_1406C2EE8 = sub_1401D0AE0(v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8); v5 = (GameStatsManager *)qword_1406C2EE8; } hasCompletedOnlineLevel = GameStatsManager::hasCompletedOnlineLevel(v5, *Myfirst); result = v4 + 1; if ( !hasCompletedOnlineLevel ) result = v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source