// // GameLevelManager::setLenVal from 0x700194 to 0x7002bc (296 bytes) // // 3 xrefs: // > LevelSearchLayer::toggleTime @ 0x6d0bd0 // > LevelSearchLayer::toggleTimeNum @ 0x6d0d50 // > @ 0x33720 // // 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 GameLevelManager::setLenVal(GameLevelManager *a1, int a2, bool a3) { cocos2d::CCDictionary *m_searchFilters; // x23 cocos2d::CCObject *v6; // x22 char *LenKey; // x0 void *v8; // x0 unsigned int *v9; // x2 int v10; // w1 __int64 v11; // [xsp+50h] [xbp+50h] BYREF m_searchFilters = a1->m_searchFilters; v6 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a3); LenKey = (char *)GameLevelManager::getLenKey(a1, a2); sub_D153B8((int)&v11, LenKey); cocos2d::CCDictionary::setObject((int)m_searchFilters, v6); v8 = (void *)(v11 - 24); if ( (__int64 *)(v11 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v9 = (unsigned int *)(v11 - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); } else { v10 = *(_DWORD *)(v11 - 8); *(_DWORD *)(v11 - 8) = v10 - 1; } if ( v10 <= 0 ) operator delete(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source