// // LevelSearchLayer::toggleTime from 0x7dfa0c to 0x7dfb60 (340 bytes) // // 3 xrefs: // > @ 0xc3b98 // > LevelSearchLayer::init @ 0x7e3acc // > @ 0x1545b90 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:54:25 +0000 // __int64 __fastcall LevelSearchLayer::toggleTime(cocos2d::CCArray **this, cocos2d::CCObject *a2) { unsigned int v3; // w21 unsigned int v4; // w19 __int64 v5; // x25 cocos2d::CCObject *v6; // x24 size_t v7; // x0 __int64 v8; // x0 char v9; // w2 __int64 (__fastcall *v10)(__int64, _BYTE *); // x3 GameLevelManager *v11; // x0 GameLevelManager *v12; // x0 char *TimeKey; // [xsp+58h] [xbp+58h] _BYTE v15[8]; // [xsp+68h] [xbp+68h] BYREF __int64 v16[2]; // [xsp+70h] [xbp+70h] BYREF void *v17; // [xsp+80h] [xbp+80h] v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = (unsigned __int8)LevelSearchLayer::checkTime((LevelSearchLayer *)this, (const char *)v3) ^ 1; v5 = (__int64)*(this + 60); v6 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v4); v16[0] = 0; TimeKey = (char *)LevelSearchLayer::getTimeKey((LevelSearchLayer *)this, (const char *)v3); v16[1] = 0; v17 = nullptr; v7 = strlen(TimeKey); std::string::__init(v16, TimeKey, v7); cocos2d::CCDictionary::setObject(v5, v6); if ( (v16[0] & 1) != 0 ) operator delete(v17); v8 = cocos2d::CCArray::objectAtIndex(*(this + 59), v3); v9 = -1; if ( !v4 ) v9 = 125; v10 = *(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v8 + 1072LL); v15[0] = v9; v15[1] = v9; v15[2] = v9; v11 = (GameLevelManager *)v10(v8, v15); v12 = (GameLevelManager *)GameLevelManager::sharedState(v11); GameLevelManager::setLenVal(v12, v3, v4); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source