//
// MPLobbyLayer::postComment from 0xb05b60 to 0xb05c74 (276 bytes)
//
// 2 xrefs:
// > MPLobbyLayer::keyDown @ 0xb05c80
// > ??> @ 0x9e260
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:01:23 +0000
//
__int64 __fastcall MPLobbyLayer::postComment(MPLobbyLayer *this)
{
GJMultiplayerManager *v2; // x0
__int64 v3; // x22
cocos2d::CCObject *v5; // x22
_QWORD *v6; // x21
__int64 v7; // [xsp+30h] [xbp+30h] BYREF
__int64 v8; // [xsp+38h] [xbp+38h]
void *v9; // [xsp+40h] [xbp+40h]
CCTextInputNode::getString(*((CCTextInputNode **)this + 60), &v7);
v2 = (GJMultiplayerManager *)(unsigned __int8)v7;
v3 = (unsigned __int8)v7 >> 1;
if ( (v7 & 1) != 0 )
{
v3 = v8;
operator delete(v9);
}
if ( v3 )
{
v5 = (cocos2d::CCObject *)GJMultiplayerManager::sharedState(v2);
CCTextInputNode::getString(*((CCTextInputNode **)this + 60), &v7);
GJMultiplayerManager::uploadComment(v5, (char *)&v7, *((_DWORD *)this + 112));
if ( (v7 & 1) != 0 )
operator delete(v9);
v6 = *((_QWORD **)this + 60);
v7 = 0;
v8 = 0;
v9 = nullptr;
std::string::__init(&v7, &byte_11B8890, 0);
CCTextInputNode::setString(v6, (char *)&v7);
if ( (v7 & 1) != 0 )
operator delete(v9);
}
return _stack_chk_guard;
}