//
// GJMultiplayerManager::sharedState from 0xac6e08 to 0xac6e94 (140 bytes)
//
// 16 xrefs:
// > GameManager::firstLoad @ 0x71fc18
// > GameManager::dataLoaded @ 0x7289f4
// > GameManager::encodeDataTo @ 0x72a38c
// > ShareCommentLayer::onShare @ 0x90e694
// > GJMultiplayerManager::uploadComment @ 0xac724c
// > MPLobbyLayer::~MPLobbyLayer @ 0xb0546c
// > MPLobbyLayer::~MPLobbyLayer @ 0xb05480
// > MPLobbyLayer::~MPLobbyLayer @ 0xb054b0
// > MPLobbyLayer::~MPLobbyLayer @ 0xb054bc
// > MPLobbyLayer::updateComments @ 0xb05514
// > MPLobbyLayer::onUpdateLobby @ 0xb0561c
// > MPLobbyLayer::postComment @ 0xb05bd4
// > MPLobbyLayer::tryExitLobby @ 0xb05cb0
// > MPLobbyLayer::tryExitLobby @ 0xb05cbc
// > MPLobbyLayer::joinLobbyFinished @ 0xb05e28
// > ??> @ 0x6e6f8
//
// 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:07 +0000
//
__int64 __fastcall GJMultiplayerManager::sharedState(GJMultiplayerManager *this)
{
__int64 result; // x0
cocos2d::CCNode *v2; // x20
result = qword_155DE58;
if ( !qword_155DE58 )
{
v2 = (cocos2d::CCNode *)operator new(0x170u);
cocos2d::CCNode::CCNode(v2);
qword_155DE58 = (__int64)v2;
*((_QWORD *)v2 + 40) = 0;
*((_QWORD *)v2 + 41) = 0;
*(_QWORD *)v2 = &off_14ABA50;
*((_QWORD *)v2 + 42) = 0;
*((_QWORD *)v2 + 43) = 0;
*((_QWORD *)v2 + 44) = 0;
*((_QWORD *)v2 + 45) = 0;
GJMultiplayerManager::init(v2);
return qword_155DE58;
}
return result;
}