// // GameLevelManager::onReportLevelCompleted from 0x10008ca40 to 0x10008cb04 (196 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x1000893e0 // // 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::onReportLevelCompleted(__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 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v12; // [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 ( v12 < 0 ) { operator delete(__p[0]); if ( !v7 ) return; } else if ( !v6 ) { return; } v8 = *(_QWORD *)(a1 + 424); 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 ( v12 < 0 ) operator delete(__p[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source