// // LevelListLayer::onRefreshLevelList from 0xbb088c to 0xbb09f0 (356 bytes) // // 3 xrefs: // > @ 0xd2868 // > LevelListLayer::init @ 0xbaf3a8 // > @ 0x15463e8 // // 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 13:02:55 +0000 // __int64 __fastcall LevelListLayer::onRefreshLevelList(LevelListLayer *this, cocos2d::CCObject *a2) { __int64 v3; // x0 __int64 v4; // x20 __int64 *v5; // x0 size_t v6; // x0 __int64 *v7; // x0 GameLevelManager *v8; // x0 const char *v9; // x1 GameLevelManager *v10; // x0 GameLevelManager *v11; // x0 const char *Key; // [xsp+38h] [xbp+38h] unsigned __int64 v14[2]; // [xsp+40h] [xbp+40h] BYREF void *v15; // [xsp+50h] [xbp+50h] *(_QWORD *)(GameLevelManager::sharedState(_stack_chk_guard) + 1224) = (char *)this + 544; v3 = *((_QWORD *)this + 81); if ( v3 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 344LL))(v3, 0); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 92) + 344LL))(*((_QWORD *)this + 92), 1); LevelBrowserLayer::setupLevelBrowser(this, nullptr); v4 = GJSearchObject::create(0); GameToolbox::intToString(v14, (GameToolbox *)*(unsigned int *)(*((_QWORD *)this + 114) + 344LL)); v5 = (__int64 *)(v4 + 320); if ( (unsigned __int64 *)(v4 + 320) != v14 ) { if ( (v14[0] & 1) != 0 ) std::string::assign(v5, v15, v14[1]); else std::string::assign(v5, (char *)v14 + 1, LOBYTE(v14[0]) >> 1); } if ( (v14[0] & 1) != 0 ) operator delete(v15); *(_DWORD *)(v4 + 432) = 1; Key = (const char *)GJSearchObject::getKey((GJSearchObject *)v4); v6 = strlen(Key); v7 = std::string::assign((__int64 *)this + 115, Key, v6); v8 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)v7); v9 = (char *)this + 921; if ( (*((_BYTE *)this + 920) & 1) != 0 ) v9 = *((const char **)this + 117); v10 = (GameLevelManager *)GameLevelManager::resetTimerForKey(v8, v9); v11 = (GameLevelManager *)GameLevelManager::sharedState(v10); GameLevelManager::getLevelLists(v11, (GJSearchObject *)v4); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source