// // GameStatsManager::hasCompletedDailyLevel from 0x100074000 to 0x100074109 (265 bytes) // // 3 xrefs: // > GameStatsManager::completedDailyLevel @ 0x10007418d // > DailyLevelPage::init @ 0x100230c41 // > DailyLevelPage::dailyStatusFinished @ 0x10023181b // // 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 // bool __fastcall GameStatsManager::hasCompletedDailyLevel(GameStatsManager *a1, int a2) { double v2; // xmm0_8 GameStatsManager *v3; // rbx cocos2d::CCString *v4; // rax const char *CString; // r12 size_t v6; // rax size_t v7; // r15 char *v8; // r13 size_t v9; // rbx __int64 v10; // rcx __int64 v11; // rax __int64 v12; // rbx char v14; // [rsp+0h] [rbp-50h] _QWORD __dst[2]; // [rsp+10h] [rbp-40h] BYREF void *__p; // [rsp+20h] [rbp-30h] v3 = a1; v4 = (cocos2d::CCString *)sub_1007AB580("d%i", v14); CString = cocos2d::CCString::getCString(v4); v6 = strlen(CString); if ( v6 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100006BF0(v2); v7 = v6; if ( v6 >= 0x17 ) { v9 = 26; if ( (v6 | 7) != 0x17 ) v9 = (v6 | 7) + 1; v8 = (char *)operator new(v9); __p = v8; __dst[0] = v9 + 1; v3 = a1; __dst[1] = v7; goto LABEL_8; } LOBYTE(__dst[0]) = 2 * v6; v8 = (char *)__dst + 1; if ( v6 ) LABEL_8: memmove(v8, CString, v7); v8[v7] = 0; v10 = 792; if ( (unsigned int)a2 < 0x30D40 ) v10 = 736; v11 = 712; if ( a2 >= 100000 ) v11 = v10; v12 = cocos2d::CCDictionary::objectForKey_1(*(GameStatsManager_vtbl **)((char *)&v3->__vftable + v11), __dst); if ( (__dst[0] & 1) != 0 ) operator delete(__p); return v12 != 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source