// // LevelListLayer::onLike from 0x10035da10 to 0x10035da82 (114 bytes) // // 1 xrefs: // > LevelListLayer::init @ 0x10035d0d4 // // 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 LevelListLayer::onLike(LevelListLayer *a1, cocos2d::CCObject *a2) { GameManager *v2; // rax GameLevelManager *v3; // rax LikeItemLayer *v4; // rax if ( !a1->m_exiting ) { v2 = GameManager::sharedState(); if ( v2->m_playerUserID.random == v2->m_playerUserID.seed ) { v3 = GameLevelManager::sharedState(); GameLevelManager::updateUserScore(v3); } v4 = LikeItemLayer::create((LikeItemType)4, a1->m_levelList->m_listID, 0); v4->m_likeDelegate = &a1->LikeItemDelegate; ((void (__fastcall *)(LikeItemLayer *))v4->show)(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source