// // LevelInfoLayer::onLike from 0x6d590c to 0x6d598c (128 bytes) // // 3 xrefs: // > @ 0x54ab0 // > LevelInfoLayer::init @ 0x6dbc5c // > @ 0x122aba0 // // 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 LevelInfoLayer::onLike(LevelInfoLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // x0 LikeItemLayer *v4; // x0 LikeItemLayer_vtbl *v5; // x2 GameLevelManager *v6; // x0 if ( !a1->m_isBusy ) { v3 = GameManager::sharedState(); if ( v3->m_playerUserID.random == v3->m_playerUserID.seed ) { v6 = GameLevelManager::sharedState(); GameLevelManager::updateUserScore(v6); } v4 = LikeItemLayer::create((LikeItemType)1, a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed, 0); v5 = v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v4->m_likeDelegate = &a1->LikeItemDelegate; ((void (*)(void))v5->show)(); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source