//
// MPLobbyLayer::onComment from 0x535824 to 0x53589c (120 bytes)
//
// 0 xrefs:
//
// 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 MPLobbyLayer::onComment(MPLobbyLayer *a1, cocos2d::CCObject *a2)
{
int m_lobbyID; // r7
unsigned int v4; // r7
char v5; // [sp+14h] [bp-10h] BYREF
_BYTE v6[4]; // [sp+18h] [bp-Ch] BYREF
sub_776584((int)&v5, "Add Comment");
m_lobbyID = a1->m_lobbyID;
sub_776584((int)v6, (char *)&unk_939830);
v4 = ShareCommentLayer::create((ShareCommentLayer *)&v5, (std::string)100, 3, m_lobbyID, (int)v6);
sub_774008(v6);
sub_774008(&v5);
(*(void (__fastcall **)(unsigned int))(*(_DWORD *)v4 + 644))(v4);
}