// // LevelLeaderboard::deleteLocalScores from 0x4e4cb8 to 0x4e4d64 (172 bytes) // // 1 xrefs: // > LevelLeaderboard::FLAlert_Clicked @ 0x4e4d92 // // 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 LevelLeaderboard::deleteLocalScores(LevelLeaderboard *a1) { cocos2d::CCNode *v2; // r7 void (__fastcall *addChild_0)(cocos2d::CCNode *__hidden, cocos2d::CCNode *, int); // r8 cocos2d::CCNode *v4; // r0 char v5; // [sp+14h] [bp-Ch] BYREF _BYTE v6[4]; // [sp+18h] [bp-8h] BYREF sub_7751A8(&a1->m_level->m_localBestTimes); sub_7751A8(&a1->m_level->m_localBestPoints); v2 = a1->getParent(a1); LevelLeaderboard::onClose(a1, nullptr); if ( v2 ) { addChild_0 = v2->addChild_0; sub_776584((int)&v5, "Local scores reset."); sub_776584((int)v6, (char *)&unk_939830); v4 = TextAlertPopup::create((TextAlertPopup *)&v5, (std::string)1065353216, 0.6, 150, (int)v6); addChild_0(v2, v4, 100); sub_774008(v6); sub_774008(&v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source