//
// GJMultiplayerManager::sharedState from 0x1007381a0 to 0x10073820a (106 bytes)
//
// 14 xrefs:
// > GameManager::dataLoaded @ 0x100373f13
// > GameManager::firstLoad @ 0x100374de5
// > GameManager::encodeDataTo @ 0x100375739
// > sub_10048A7F0 @ 0x10048a88f
// > sub_10048A7F0 @ 0x10048a8a4
// > sub_10048A7F0 @ 0x10048a8b4
// > sub_10048A7F0 @ 0x10048a8c9
// > MPLobbyLayer::onUpdateLobby @ 0x10048ac63
// > MPLobbyLayer::postComment @ 0x10048ae86
// > MPLobbyLayer::tryExitLobby @ 0x10048affc
// > MPLobbyLayer::tryExitLobby @ 0x10048b00f
// > MPLobbyLayer::joinLobbyFinished @ 0x10048b0fc
// > MPLobbyLayer::updateComments @ 0x10048b451
// > ShareCommentLayer::onShare @ 0x1006b2b3b
//
// This function is hookable on this platform (idp: pc, 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 12:36:25 +0000
//
__int64 GJMultiplayerManager::sharedState()
{
__int64 result; // rax
_OWORD *v1; // rbx
result = qword_100BE6770;
if ( !qword_100BE6770 )
{
v1 = operator new(0x170u);
cocos2d::CCNode::CCNode((__int64)v1);
*(_QWORD *)v1 = off_100B9A9C8;
v1[20] = 0;
v1[21] = 0;
v1[22] = 0;
qword_100BE6770 = (__int64)v1;
GJMultiplayerManager::init(v1);
return qword_100BE6770;
}
return result;
}