// // LevelSearchLayer::demonFilterSelectClosed from 0x3abd40 to 0x3abdc8 (136 bytes) // // 1 xrefs: // > `non-virtual thunk to'LevelSearchLayer::demonFilterSelectClosed @ 0x3abde0 // // 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 // void LevelSearchLayer::demonFilterSelectClosed(LevelSearchLayer *a1, int a2) { GameLevelManager *v4; // r0 char *CString; // r1 cocos2d::CCSprite *m_lastDifficultySprite; // r6 void (__fastcall *setDisplayFrame)(cocos2d::CCSprite *__hidden, cocos2d::CCSpriteFrame *); // r7 cocos2d::CCSpriteFrameCache *v8; // r0 cocos2d::CCSpriteFrame *v9; // r0 cocos2d::CCString *v10; // r0 char *v11[2]; // [sp+0h] [bp-Ch] BYREF v11[1] = (char *)a2; v4 = GameLevelManager::sharedState(); GameLevelManager::setIntForKey(v4, a2, "demon_filter"); v11[0] = (char *)&unk_ACDDA8; if ( a2 ) { v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"difficulty_%02d_btn2_001.png", (const char *)a2); CString = (char *)cocos2d::CCString::getCString(v10); } else { CString = "difficulty_06_btn_001.png"; } sub_7753D4((int)v11, CString); m_lastDifficultySprite = a1->m_lastDifficultySprite; setDisplayFrame = m_lastDifficultySprite->setDisplayFrame; v8 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, v11[0]); setDisplayFrame(m_lastDifficultySprite, v9); sub_774008(v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source