// // LevelSearchLayer::toggleTime from 0x49654c to 0x496608 (188 bytes) // // 0 xrefs: // // 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::toggleTime(cocos2d::CCArray **this, cocos2d::CCObject *a2) { const char *v3; // r8 unsigned __int8 v4; // r0 int v5; // r10 const char *v6; // r7 cocos2d::CCObject *v7; // r9 const char *TimeKey; // r11 size_t v9; // r0 int (*v10)(void); // r2 GameLevelManager *v11; // r0 GameLevelManager *v12; // r0 int v14[3]; // [sp+8h] [bp-14h] BYREF v3 = (const char *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v4 = LevelSearchLayer::checkTime((LevelSearchLayer *)this, v3); v5 = (int)*(this + 88); v6 = (const char *)(v4 ^ 1); v7 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v6); memset(v14, 0, sizeof(v14)); TimeKey = (const char *)LevelSearchLayer::getTimeKey((LevelSearchLayer *)this, v3); v9 = strlen(TimeKey); std::string::__init(v14, TimeKey, v9); cocos2d::CCDictionary::setObject(v5, v7); std::string::~string((int)v14); v10 = *(int (**)(void))(*(_DWORD *)cocos2d::CCArray::objectAtIndex(*(this + 87), (unsigned int)v3) + 536); v11 = (GameLevelManager *)v10(); v12 = (GameLevelManager *)GameLevelManager::sharedState(v11); return GameLevelManager::setLenVal(v12, (int)v3, (bool)v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source