// // GameLevelManager::setIntForKey from 0x7002bc to 0x7003cc (272 bytes) // // 8 xrefs: // > LevelSearchLayer::demonFilterSelectClosed @ 0x6cda28 // > MoreSearchLayer::onClose @ 0x6cdc04 // > LevelSearchLayer::clearFilters @ 0x6d0eb0 // > LevelSearchLayer::clearFilters @ 0x6d0fa8 // > MoreSearchLayer::selectSong @ 0x6d3428 // > MoreSearchLayer::onSongFilter @ 0x6d363c // > MoreSearchLayer::onSongMode @ 0x6d371c // > @ 0xa2810 // // 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 // // local variable allocation has failed, the output may be wrong! void GameLevelManager::setIntForKey(GameLevelManager *a1, int a2, const char *a3) { cocos2d::CCDictionary *m_searchFilters; // x22 cocos2d::CCObject *v4; // x21 void *v5; // x0 unsigned int *v6; // x2 int v7; // w1 __int64 v9; // [xsp+50h] [xbp+50h] BYREF m_searchFilters = a1->m_searchFilters; v4 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", *(const char **)&a2); sub_D153B8((int)&v9, (char *)a3); cocos2d::CCDictionary::setObject((int)m_searchFilters, v4); v5 = (void *)(v9 - 24); if ( (__int64 *)(v9 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v6 = (unsigned int *)(v9 - 8); do v7 = __ldaxr(v6); while ( __stlxr(v7 - 1, v6) ); } else { v7 = *(_DWORD *)(v9 - 8); *(_DWORD *)(v9 - 8) = v7 - 1; } if ( v7 <= 0 ) operator delete(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source