// // LevelSearchLayer::toggleTimeNum from 0x496610 to 0x4966c4 (180 bytes) // // 2 xrefs: // > LevelSearchLayer::clearFilters @ 0x496702 // > LevelSearchLayer::init @ 0x499524 // // 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:49:41 +0000 // int __fastcall LevelSearchLayer::toggleTimeNum(int this, const char *a2, const char *a3) { bool v3; // r7 cocos2d::CCArray **v4; // r5 int v6; // r10 cocos2d::CCObject *v7; // r9 const char *TimeKey; // r11 size_t v9; // r0 int (*v10)(void); // r2 GameLevelManager *v11; // r0 GameLevelManager *v12; // r0 int v13[3]; // [sp+8h] [bp-14h] BYREF v3 = (char)a3; v4 = (cocos2d::CCArray **)this; if ( *(_DWORD *)(this + 328) != 1 ) { v6 = *(_DWORD *)(this + 352); v7 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a3); memset(v13, 0, sizeof(v13)); TimeKey = (const char *)LevelSearchLayer::getTimeKey((LevelSearchLayer *)v4, a2); v9 = strlen(TimeKey); std::string::__init(v13, TimeKey, v9); cocos2d::CCDictionary::setObject(v6, v7); std::string::~string((int)v13); v10 = *(int (**)(void))(*(_DWORD *)cocos2d::CCArray::objectAtIndex(v4[87], (unsigned int)a2) + 536); v11 = (GameLevelManager *)v10(); v12 = (GameLevelManager *)GameLevelManager::sharedState(v11); return GameLevelManager::setLenVal(v12, (int)a2, v3); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source