//
// GJMessageCell::onViewMessage from 0x100112690 to 0x1001126e0 (80 bytes)
//
// 1 xrefs:
// > GJMessageCell::loadFromMessage @ 0x10010a9cc
//
// 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 GJMessageCell::onViewMessage(GJMessageCell *a1, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // x0
GJUserMessage *StoredUserMessage; // x0
GJMessagePopup *v5; // x0
if ( a1->m_message )
{
GJMessageCell::markAsRead(a1);
v3 = GameLevelManager::sharedState();
StoredUserMessage = GameLevelManager::getStoredUserMessage(v3, a1->m_message->m_messageID);
if ( !StoredUserMessage )
StoredUserMessage = a1->m_message;
v5 = GJMessagePopup::create(StoredUserMessage);
((void (__fastcall *)(GJMessagePopup *))v5->show)(v5);
}
}