// // GameLevelManager::onReportLevelCompleted from 0x3c4750 to 0x3c47d4 (132 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x3d7256 // // 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 // int __fastcall GameLevelManager::onReportLevelCompleted(GameLevelManager *a1, int a2, const char **a3) { int v5; // r9 _BOOL4 v6; // r8 int result; // r0 cocos2d::CCDictionary *m_reportedLevels; // r8 char *ReportKey; // r0 _BYTE v10[4]; // [sp+8h] [bp-Ch] BYREF v5 = atoi(*a3); sub_776584((int)v10, "-1"); v6 = sub_3BE0D8(a2, (int)v10); result = sub_774008(v10); if ( v6 ) { m_reportedLevels = a1->m_reportedLevels; ReportKey = (char *)GameLevelManager::getReportKey(a1, v5); sub_776584((int)v10, ReportKey); cocos2d::CCDictionary::removeObjectForKey(m_reportedLevels); return sub_774008(v10); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source