// // GameLevelManager::onRateStarsCompleted from 0x10008b404 to 0x10008b4d8 (212 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x1000891ec // // 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 // void __fastcall GameLevelManager::onRateStarsCompleted(__int64 a1, _QWORD *a2, char *a3) { int v5; // w20 _BOOL4 v6; // w0 _BOOL4 v7; // w21 __int64 v8; // x19 cocos2d::CCString *v9; // x0 char *CString; // x0 GameStatsManager *v11; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v13; // [xsp+1Fh] [xbp-21h] if ( a3[23] < 0 ) a3 = *(char **)a3; v5 = atoi(a3); sub_100009900(__p, "-1"); v6 = sub_1000045BC(a2, __p); v7 = v6; if ( (v13 & 0x80000000) == 0 ) { if ( v6 ) goto LABEL_5; LABEL_8: v11 = GameStatsManager::sharedState(); GameStatsManager::incrementStat_1(v11, "11"); return; } operator delete(__p[0]); if ( !v7 ) goto LABEL_8; LABEL_5: v8 = *(_QWORD *)(a1 + 408); v9 = (cocos2d::CCString *)sub_100268F4C("%i", v5); CString = (char *)cocos2d::CCString::getCString(v9); sub_100009900(__p, CString); cocos2d::CCDictionary::removeObjectForKey_1(v8, (char *)__p); if ( v13 < 0 ) operator delete(__p[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source