// // LevelListLayer::loadLevelsFinished from 0x6d71b4 to 0x6d7296 (226 bytes) // // 1 xrefs: // > `non-virtual thunk to'LevelListLayer::loadLevelsFinished @ 0x6d72a0 // // 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:57:07 +0000 // unsigned int __fastcall LevelListLayer::loadLevelsFinished( LevelListLayer *this, cocos2d::CCArray *a2, char *a3, int a4) { int v7; // r1 const char *v9; // r0 int v10; // r10 GameLevelManager *v11; // r0 cocos2d::CCDictionary **v12; // r0 int v13; // r3 size_t v14; // r0 _BOOL4 v15; // r6 unsigned int result; // r0 GameLevelManager *updated; // r0 GameLevelManager *v18; // r6 const char *Key; // r0 LevelListLayer *v20; // [sp+0h] [bp-10h] BYREF cocos2d::CCArray *v21; // [sp+4h] [bp-Ch] char *v22; // [sp+8h] [bp-8h] int v23; // [sp+Ch] [bp-4h] v20 = this; v21 = a2; v22 = a3; v23 = a4; v7 = *((_DWORD *)this + 125); if ( v7 && *(_DWORD *)(v7 + 264) == 25 ) { std::string::basic_string((int *)&v20, v7 + 268); v9 = ((unsigned __int8)v20 & 1) != 0 ? v22 : (char *)&v20 + 1; v10 = atoi(v9); v11 = (GameLevelManager *)std::string::~string((int)&v20); v12 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(v11); GameLevelManager::markListAsDownloaded(v12, v10); v13 = *((_DWORD *)this + 160); if ( v10 == *(_DWORD *)(v13 + 276) ) *(_BYTE *)(v13 + 330) = 1; } if ( a4 != 1 ) return LevelBrowserLayer::loadLevelsFinished((cocos2d::CCArray **)this, a2, a3, a4); v20 = nullptr; v21 = nullptr; v22 = nullptr; v14 = strlen(a3); std::string::__init((int *)&v20, a3, v14); v15 = sub_6D4936((unsigned __int8 *)this + 644, (unsigned __int8 *)&v20); result = std::string::~string((int)&v20); if ( v15 ) { updated = (GameLevelManager *)LevelListLayer::updateStatsArt(this); v18 = (GameLevelManager *)GameLevelManager::sharedState(updated); Key = (const char *)GJSearchObject::getKey(*((GJSearchObject **)this + 125)); GameLevelManager::resetTimerForKey(v18, Key); return LevelBrowserLayer::loadPage((GJSearchObject **)this, *((GJSearchObject **)this + 125)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source