// // LikeItemLayer::onLike from 0x1005f9160 to 0x1005f91d8 (120 bytes) // // 1 xrefs: // > LikeItemLayer::init @ 0x1005f8f70 // // 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 LikeItemLayer::onLike(LikeItemLayer *a1, cocos2d::CCObject *a2) { GameLevelManager *v3; // rax LikeItemDelegate *m_likeDelegate; // rdi v3 = GameLevelManager::sharedState(); GameLevelManager::likeItem(v3, a1->m_itemType, a1->m_itemID, 1, a1->m_commentSourceID); m_likeDelegate = a1->m_likeDelegate; if ( m_likeDelegate ) ((void (__fastcall *)(LikeItemDelegate *, _QWORD, _QWORD, __int64))m_likeDelegate->likedItem)( m_likeDelegate, (unsigned int)a1->m_itemType, (unsigned int)a1->m_itemID, 1); ((void (__fastcall *)(LikeItemLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(LikeItemLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source