//
// MPLobbyLayer::onComment from 0x100493e70 to 0x100493eed (125 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 __fastcall MPLobbyLayer::onComment(MPLobbyLayer *a1, cocos2d::CCObject *a2)
{
__int64 m_lobbyID; // rcx
__int64 v3; // rbx
_WORD v4[8]; // [rsp+8h] [rbp-38h] BYREF
void *__p; // [rsp+18h] [rbp-28h]
char v6; // [rsp+20h] [rbp-20h] BYREF
void *v7[3]; // [rsp+21h] [rbp-1Fh] BYREF
v6 = 22;
strcpy((char *)v7, "Add Comment");
m_lobbyID = (unsigned int)a1->m_lobbyID;
v4[0] = 0;
v3 = ShareCommentLayer::create(&v6, 100, 3, m_lobbyID, v4);
if ( (v4[0] & 1) != 0 )
operator delete(__p);
if ( (v6 & 1) != 0 )
operator delete(*(void **)((char *)&v7[1] + 7));
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1288LL))(v3);
}