// // GameStatsManager::isDailyRecall from 0x8cc98c to 0x8ccac8 (316 bytes) // // 9 xrefs: // > LevelCell::recallChestReady @ 0x73748c // > LevelCell::loadCustomLevelCell @ 0x74589c // > LevelCell::loadCustomLevelCell @ 0x746bcc // > LevelInfoLayer::updateLabelValues @ 0x7e86f4 // > GJGameLevel::levelHasDiamonds @ 0x8068dc // > GameStatsManager::unlockDailyRecall @ 0x8de184 // > GameStatsManager::awardCurrencyForLevel @ 0x8e9f00 // > GameStatsManager::completedDailyLevel @ 0x8eb6b4 // > @ 0xf38c8 // // 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:56:37 +0000 // bool __fastcall GameStatsManager::isDailyRecall(GameStatsManager *this, const char *a2) { __int64 v2; // x23 cocos2d::CCString *v3; // x0 const char *CString; // x24 size_t v5; // x0 size_t v6; // x20 unsigned __int64 v7; // x0 char *v8; // x3 _BOOL4 v9; // w20 __int64 v11; // [xsp+40h] [xbp+40h] BYREF size_t v12; // [xsp+48h] [xbp+48h] void *v13; // [xsp+50h] [xbp+50h] if ( (int)a2 <= 0 ) return 0; v2 = *((_QWORD *)this + 94); v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2); v11 = 0; CString = (const char *)cocos2d::CCString::getCString(v3); v12 = 0; v13 = nullptr; v5 = strlen(CString); v6 = v5; if ( v5 > 0xFFFFFFFFFFFFFFEFLL ) sub_62CC1C(); if ( v5 > 0x16 ) { v7 = (v5 + 16) & 0xFFFFFFFFFFFFFFF0LL; v11 = v7 | 1; v8 = (char *)operator new(v7); v13 = v8; v12 = v6; LABEL_5: v8 = (char *)memcpy(v8, CString, v6); goto LABEL_6; } LOBYTE(v11) = 2 * v5; v8 = (char *)&v11 + 1; if ( v5 ) goto LABEL_5; LABEL_6: v8[v6] = 0; v9 = cocos2d::CCDictionary::objectForKey(v2, &v11) != 0; if ( (v11 & 1) != 0 ) operator delete(v13); return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source