//
// GJAccountManager::sharedState from 0x4642dc to 0x464364 (136 bytes)
//
// 134 xrefs:
// > MenuLayer::onMyProfile @ 0x30a00e
// > MenuLayer::onMyProfile @ 0x30a02e
// > MenuLayer::updateUserProfileButton @ 0x30a1b0
// > MenuLayer::updateUserProfileButton @ 0x30a200
// > MenuLayer::init @ 0x30b118
// > GameManager::firstLoad @ 0x324354
// > GameManager::dataLoaded @ 0x328cfe
// > GameManager::dataLoaded @ 0x328d22
// > GameManager::dataLoaded @ 0x328d3e
// > GameManager::encodeDataTo @ 0x329d24
// > CommentCell::onLike @ 0x32f67a
// > CommentCell::loadFromComment @ 0x336de4
// > GJRequestCell::markAsRead @ 0x3396fc
// > GJMessageCell::markAsRead @ 0x339f7a
// > LevelSearchLayer::init @ 0x3ae8bc
// > LevelInfoLayer::confirmOwnerDelete @ 0x3b1376
// > LevelInfoLayer::confirmOwnerDelete @ 0x3b1386
// > LevelInfoLayer::onRateStarsMod @ 0x3b167a
// > LevelInfoLayer::init @ 0x3b45ea
// > LevelInfoLayer::init @ 0x3b50f4
// > EditLevelLayer::onShare @ 0x3b68ba
// > LevelBrowserLayer::getSearchTitle @ 0x3bae9e
// > LevelBrowserLayer::init @ 0x3bd1e8
// > LevelBrowserLayer::onMyOnlineLevels @ 0x3bd596
// > GameLevelManager::getBasePostString @ 0x3c0764
// > GameLevelManager::getBasePostString @ 0x3c0776
// > GameLevelManager::getBasePostString @ 0x3c0784
// > GameLevelManager::onUploadCommentCompleted @ 0x3c2194
// > GameLevelManager::onDeleteCommentCompleted @ 0x3c2584
// > GameLevelManager::onGetGJRewardsCompleted @ 0x3c3ac4
// > GameLevelManager::onGetGJChallengesCompleted @ 0x3c3ed0
// > GJUserScore::isCurrentUser @ 0x3cb912
// > GameLevelManager::createNewLevelList @ 0x3ce4c0
// > GameLevelManager::downloadLevel @ 0x3d00ec
// > GameLevelManager::rateStars @ 0x3d04c2
// > GameLevelManager::getLeaderboardScores @ 0x3d0b8e
// > GameLevelManager::getLevelLeaderboard @ 0x3d0d74
// > GameLevelManager::getLevelLeaderboard @ 0x3d108e
// > GameLevelManager::likeItem @ 0x3d384c
// > GameLevelManager::submitUserInfo @ 0x3d4c60
// > GameLevelManager::uploadLevelList @ 0x3d4fc8
// > GameLevelManager::updateUserScore @ 0x3d5e94
// > GameLevelManager::updateUserScore @ 0x3d5f78
// > GameLevelManager::updateUserScore @ 0x3d606e
// > GJGarageLayer::init @ 0x4070da
// > GJGarageLayer::init @ 0x4071dc
// > GJGarageLayer::init @ 0x4071f0
// > SupportLayer::customSetup @ 0x42d0b4
// > SupportLayer::sendSupportMail @ 0x42d5b0
// > InfoLayer::onComment @ 0x42f3b6
// > InfoLayer::setupCommentsBrowser @ 0x42fbc2
// > GJAccountManager::onSyncAccountCompleted @ 0x464bb2
// > GJAccountManager::updateAccountSettings @ 0x465e34
// > GJAccountManager::updateAccountSettings @ 0x465e44
// > AccountHelpLayer::~AccountHelpLayer @ 0x465ff8
// > AccountHelpLayer::~AccountHelpLayer @ 0x466008
// > AccountLayer::~AccountLayer @ 0x4660ac
// > AccountLayer::~AccountLayer @ 0x4660bc
// > AccountLayer::~AccountLayer @ 0x4660c6
// > AccountLayer::~AccountLayer @ 0x4660d6
// > AccountLayer::~AccountLayer @ 0x4660e0
// > AccountLayer::~AccountLayer @ 0x4660f0
// > AccountLayer::onLogin @ 0x46613a
// > AccountHelpLayer::onUnlink @ 0x46654a
// > AccountLayer::updatePage @ 0x466958
// > AccountLayer::updatePage @ 0x466968
// > AccountLayer::updatePage @ 0x4669b6
// > AccountLayer::updatePage @ 0x4669f8
// > AccountLayer::updatePage @ 0x466a12
// > AccountLayer::updatePage @ 0x466a9c
// > AccountLayer::updatePage @ 0x466ae6
// > AccountLayer::customSetup @ 0x466fd6
// > AccountLayer::customSetup @ 0x466fe6
// > AccountLayer::customSetup @ 0x46701a
// > AccountLayer::customSetup @ 0x467026
// > AccountLayer::customSetup @ 0x467032
// > AccountLayer::doBackup @ 0x467122
// > AccountLayer::doSync @ 0x467154
// > AccountLayer::backupAccountFailed @ 0x4672da
// > AccountLayer::backupAccountFailed @ 0x4672e2
// > AccountHelpLayer::updatePage @ 0x467770
// > AccountHelpLayer::updatePage @ 0x467780
// > AccountHelpLayer::updatePage @ 0x4677ce
// > AccountHelpLayer::updatePage @ 0x467810
// > AccountHelpLayer::updatePage @ 0x46782a
// > AccountHelpLayer::updatePage @ 0x4678a0
// > AccountHelpLayer::customSetup @ 0x467b7a
// > AccountHelpLayer::doUnlink @ 0x467c0e
// > AccountRegisterLayer::~AccountRegisterLayer @ 0x467d1c
// > AccountRegisterLayer::~AccountRegisterLayer @ 0x467d2c
// > AccountLoginLayer::~AccountLoginLayer @ 0x467db8
// > AccountLoginLayer::~AccountLoginLayer @ 0x467dc8
// > AccountRegisterLayer::onSubmit @ 0x469048
// > AccountRegisterLayer::onSubmit @ 0x469054
// > AccountLoginLayer::onSubmit @ 0x46a032
// > AccountLoginLayer::onSubmit @ 0x46a064
// > AccountLoginLayer::loginAccountFinished @ 0x46a132
// > UpdateAccountSettingsPopup::~UpdateAccountSettingsPopup @ 0x4a8328
// > UpdateAccountSettingsPopup::~UpdateAccountSettingsPopup @ 0x4a8338
// > UpdateAccountSettingsPopup::init @ 0x4abf10
// > UpdateAccountSettingsPopup::init @ 0x4abf1c
// > MessagesProfilePage::deleteSelected @ 0x4c0dda
// > MessagesProfilePage::loadMessagesFinished @ 0x4c112a
// > MessagesProfilePage::onClose @ 0x4c1c2e
// > FRequestProfilePage::deleteSelected @ 0x4c22e2
// > FRequestProfilePage::onClose @ 0x4c316c
// > FriendsProfilePage::onClose @ 0x4c3e04
// > FriendsProfilePage::getUserListFinished @ 0x4c3ec4
// > ProfilePage::commentUploadFailed @ 0x4c49d8
// > ProfilePage::loadPageFromUserInfo @ 0x4c60a6
// > ProfilePage::onSendMessage @ 0x4c6d44
// > ProfilePage::onFriend @ 0x4c6d88
// > ProfilePage::onBlockUser @ 0x4c6f42
// > ProfilePage::onUpdate @ 0x4c7246
// > ProfilePage::onUpdate @ 0x4c7260
// > ProfilePage::onUpdate @ 0x4c727a
// > ProfilePage::init @ 0x4c749c
// > ProfilePage::init @ 0x4c755c
// > ProfilePage::init @ 0x4c7582
// > ProfilePage::init @ 0x4c7590
// > ProfilePage::init @ 0x4c78c4
// > ProfilePage::init @ 0x4c7b90
// > ProfilePage::commentUploadFinished @ 0x4c7f0e
// > ProfilePage::commentDeleteFailed @ 0x4c7f52
// > LevelLeaderboard::loadLeaderboardFailed @ 0x4e4f50
// > LevelLeaderboard::onUpdate @ 0x4e5144
// > LevelLeaderboard::onChangeType @ 0x4e5f0e
// > GJMultiplayerManager::addComment @ 0x51001e
// > GJMultiplayerManager::addComment @ 0x51006a
// > GJMultiplayerManager::createAndAddComment @ 0x5105d2
// > GJMultiplayerManager::getBasePostString @ 0x510678
// > GJMultiplayerManager::uploadComment @ 0x510c02
// > LevelListLayer::init @ 0x591212
// > LevelListLayer::onShare @ 0x593494
//
// 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
//
GJAccountManager *GJAccountManager::sharedState()
{
GJAccountManager *v0; // r4
if ( !dword_AC67AC )
{
v0 = (GJAccountManager *)operator new(0x144u);
cocos2d::CCNode::CCNode(v0);
v0->__vftable = (GJAccountManager_vtbl *)&off_A67C08;
v0->m_activeDownloads = nullptr;
v0->m_accountID = 0;
v0->m_unkInt1 = 0;
v0->m_unkInt2 = 0;
v0->m_accountRegisterDelegate = nullptr;
v0->m_accountLoginDelegate = nullptr;
v0->m_accountDelegate = nullptr;
v0->m_backupDelegate = nullptr;
v0->m_syncDelegate = nullptr;
v0->m_accountSettingsDelegate = nullptr;
v0->m_gameManagerSize = 0;
v0->m_localLevelsSize = 0;
v0->m_username.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
v0->m_GJP2.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
v0->m_password.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
dword_AC67AC = (int)v0;
GJAccountManager::init(v0);
}
return (GJAccountManager *)dword_AC67AC;
}