//
// GJMultiplayerManager::sharedState from 0x641084 to 0x6410e0 (92 bytes)
//
// 15 xrefs:
// > GameManager::firstLoad @ 0x4180b2
// > GameManager::dataLoaded @ 0x41ccc6
// > GameManager::encodeDataTo @ 0x41de6e
// > ShareCommentLayer::onShare @ 0x541078
// > GJMultiplayerManager::uploadComment @ 0x6425a0
// > MPLobbyLayer::~MPLobbyLayer @ 0x66a2b8
// > MPLobbyLayer::~MPLobbyLayer @ 0x66a2c8
// > MPLobbyLayer::~MPLobbyLayer @ 0x66a2d2
// > MPLobbyLayer::~MPLobbyLayer @ 0x66a2e2
// > MPLobbyLayer::updateComments @ 0x66a330
// > MPLobbyLayer::onUpdateLobby @ 0x66a3bc
// > MPLobbyLayer::postComment @ 0x66a734
// > MPLobbyLayer::tryExitLobby @ 0x66a7c2
// > MPLobbyLayer::tryExitLobby @ 0x66a7ce
// > MPLobbyLayer::joinLobbyFinished @ 0x66a894
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:55:28 +0000
//
int __fastcall GJMultiplayerManager::sharedState(GJMultiplayerManager *this)
{
cocos2d::CCNode *v1; // r4
if ( !dword_D2CF90 )
{
v1 = (cocos2d::CCNode *)operator new(0x120u);
cocos2d::CCNode::CCNode(v1);
*(_DWORD *)v1 = &off_CCF9F0;
*((_DWORD *)v1 + 66) = 0;
*((_DWORD *)v1 + 67) = 0;
*((_DWORD *)v1 + 68) = 0;
*((_DWORD *)v1 + 69) = 0;
*((_DWORD *)v1 + 70) = 0;
*((_DWORD *)v1 + 71) = 0;
dword_D2CF90 = (int)v1;
GJMultiplayerManager::init(v1);
}
return dword_D2CF90;
}