//
// GJAccountManager::sharedState from 0x140305170 to 0x1403052af (319 bytes)
//
// 210 xrefs:
// > AccountRegisterLayer::dAccountRegisterLayer @ 0x14008bfa2
// > AccountRegisterLayer::dAccountRegisterLayer @ 0x14008bfb9
// > AccountLoginLayer::dAccountLoginLayer @ 0x14008c0c2
// > AccountLoginLayer::dAccountLoginLayer @ 0x14008c0d9
// > AccountRegisterLayer::init @ 0x14008da4d
// > AccountRegisterLayer::onSubmit @ 0x14008eaa9
// > AccountRegisterLayer::onSubmit @ 0x14008ebe8
// > AccountLoginLayer::loginAccountFinished @ 0x1400917c7
// > AccountLoginLayer::onSubmit @ 0x140091ebe
// > AccountLoginLayer::onSubmit @ 0x140091f3d
// > AccountLayer::dAccountLayer @ 0x140092aaa
// > AccountLayer::dAccountLayer @ 0x140092ac2
// > AccountLayer::dAccountLayer @ 0x140092ace
// > AccountLayer::dAccountLayer @ 0x140092ae3
// > AccountLayer::dAccountLayer @ 0x140092aef
// > AccountLayer::dAccountLayer @ 0x140092b04
// > sub_140092B50 @ 0x140092bf4
// > sub_140092B50 @ 0x140092c0b
// > AccountLayer::customSetup @ 0x1400933c4
// > AccountLayer::customSetup @ 0x1400933d7
// > AccountLayer::customSetup @ 0x140093425
// > AccountLayer::customSetup @ 0x140093438
// > AccountLayer::customSetup @ 0x14009344b
// > AccountLayer::onLogin @ 0x140093524
// > AccountLayer::updatePage @ 0x140093eb5
// > AccountLayer::updatePage @ 0x140093eca
// > AccountLayer::updatePage @ 0x140093f26
// > AccountLayer::updatePage @ 0x140093fbe
// > AccountLayer::updatePage @ 0x140094119
// > AccountLayer::updatePage @ 0x140094178
// > AccountLayer::backupAccountFailed @ 0x14009445a
// > AccountLayer::backupAccountFailed @ 0x140094472
// > AccountLayer::FLAlert_Clicked @ 0x140094ac2
// > AccountLayer::FLAlert_Clicked @ 0x140094af1
// > AccountHelpLayer::customSetup @ 0x1400950d0
// > AccountHelpLayer::onUnlink @ 0x1400952ae
// > AccountHelpLayer::updatePage @ 0x14009545d
// > AccountHelpLayer::updatePage @ 0x140095470
// > AccountHelpLayer::updatePage @ 0x1400954cc
// > AccountHelpLayer::updatePage @ 0x140095564
// > AccountHelpLayer::updatePage @ 0x14009569a
// > AccountHelpLayer::FLAlert_Clicked @ 0x140095755
// > ReportPopup::createForFriendRequest @ 0x1400bffe1
// > ReportQueuePopup::buildRows @ 0x1400c89f1
// > MessageThreadsPage::onClose @ 0x1400d9250
// > ThreadViewPopup::init @ 0x1400da560
// > ThreadViewPopup::onShowDescription @ 0x1400dd16f
// > ThreadViewPopup::onSend @ 0x1400de173
// > ThreadViewPopup::threadMessagesFinished @ 0x1400df5f9
// > ThreadViewPopup::threadMessagesFinished @ 0x1400df81c
// > ThreadViewPopup::mountVirtualRow @ 0x1400e1d3d
// > ThreadViewPopup::senderNameFor @ 0x1400e4bfa
// > ThreadViewPopup::senderNameFor @ 0x1400e4c16
// > ThreadMessageOptionsPopup::init @ 0x1400e54b2
// > FriendPickerPopup::buildRows @ 0x1400e821f
// > LevelPickerPopup::doPageRequest @ 0x1400e9ffb
// > MemberListPopup::init @ 0x1400ebd31
// > MemberListPopup::refreshPolicyBtn @ 0x1400ec292
// > MemberListPopup::buildRows @ 0x1400ec66e
// > MemberListPopup::buildRows @ 0x1400ec959
// > MemberListPopup::buildRows @ 0x1400ecbda
// > NewThreadPopup::threadSendFinished @ 0x1400f39f4
// > ThreadOptionsPopup::init @ 0x1400f43c0
// > ThreadOptionsPopup::onLeave @ 0x1400f5010
// > CommentCell::loadFromComment @ 0x140154247
// > CommentCell::onLike @ 0x1401548d2
// > CommentCell::onLike @ 0x1401548e7
// > CommentCell::onLike @ 0x140154a2f
// > CommentCell::onMoreOptions @ 0x140154d39
// > GJRequestCell::onViewFriendRequest @ 0x1401591f2
// > GJMessageCell::markAsRead @ 0x14015d4bd
// > EditLevelLayer::onShare @ 0x14017ba49
// > EditLevelLayer::onShare @ 0x14017ba5e
// > EditorSoundBrowserLayer::init @ 0x14018e4c8
// > EditorSoundBrowserLayer::init @ 0x14018ed29
// > EditorSoundBrowserLayer::loadCurrentPage @ 0x14018f3f8
// > EditorSoundBrowserLayer::loadCurrentPage @ 0x14018f402
// > EditorSoundBrowserLayer::loadCurrentPage @ 0x14018f44c
// > EditorSoundBrowserLayer::loadCurrentPage @ 0x14018f456
// > EditorSoundConfigInfoLayer::isOwner @ 0x140196173
// > EditorSoundConfigInfoLayer::isOwner @ 0x14019617d
// > EditorSoundConfigInfoLayer::isOwner @ 0x140196192
// > EditorSoundConfigInfoLayer::onUpload @ 0x14019788c
// > EditorSoundConfigInfoLayer::onUpload @ 0x1401978a1
// > EditorSoundConfigUploadPopup::init @ 0x14019b16e
// > EditorSoundConfigUploadPopup::init @ 0x14019b178
// > EditorSoundConfigUploadPopup::performUpload @ 0x14019bcdb
// > EditorSoundConfigUploadPopup::performUpload @ 0x14019bcf0
// > FRequestProfilePage::removeFromNewCount @ 0x140211629
// > FRequestProfilePage::onClose @ 0x140211e1c
// > FriendsProfilePage::getUserListFinished @ 0x14021556a
// > FriendsProfilePage::onClose @ 0x1402170b1
// > GameLevelManager::createNewLevelList @ 0x14021cc12
// > GameLevelManager::purgeUnusedLevels @ 0x1402227b6
// > GameLevelManager::writePlatformerSaveJournal @ 0x14022366e
// > GameLevelManager::replayPlatformerSaveJournal @ 0x14022388e
// > GameLevelManager::getBasePostString @ 0x140226628
// > GameLevelManager::getBasePostString @ 0x140226644
// > GameLevelManager::getBasePostString @ 0x140226676
// > GameLevelManager::uploadDeathData @ 0x14022673b
// > GameLevelManager::uploadDeathData @ 0x140226915
// > GameLevelManager::getDeathData @ 0x1402286ca
// > GameLevelManager::uploadLevelList @ 0x14022d35f
// > GameLevelManager::downloadLevel @ 0x140231eae
// > GameLevelManager::rateStars @ 0x1402341ec
// > GameLevelManager::updateUserScore @ 0x1402369a6
// > GameLevelManager::updateUserScore @ 0x140236d82
// > GameLevelManager::updateUserScore @ 0x14023714c
// > GameLevelManager::getLeaderboardScores @ 0x140238134
// > GameLevelManager::getLevelLeaderboard @ 0x140238836
// > GameLevelManager::getLevelLeaderboard @ 0x140238eaa
// > GameLevelManager::onUploadCommentCompleted @ 0x14023ef87
// > GameLevelManager::onDeleteCommentCompleted @ 0x14024099d
// > GameLevelManager::onGetNotificationsCompleted @ 0x140250bc2
// > GameLevelManager::syncFollowListIfNeeded @ 0x1402519cd
// > GameLevelManager::applyThreadAddReply @ 0x140252f84
// > GameLevelManager::onUpdateThreadCompleted @ 0x140253469
// > GameLevelManager::likeItem @ 0x14025ae5c
// > GameLevelManager::onGetGJRewardsCompleted @ 0x14025dc96
// > GameLevelManager::onGetGJChallengesCompleted @ 0x14025eff3
// > GameLevelManager::submitUserInfo @ 0x140260d44
// > GameLevelManager::reportContent @ 0x14026115a
// > GameLevelManager::reportContent @ 0x14026117e
// > GJUserScore::isCurrentUser @ 0x14026dfd2
// > GameManager::dataLoaded @ 0x140283bc4
// > GameManager::dataLoaded @ 0x140283cd4
// > GameManager::dataLoaded @ 0x140283d31
// > GameManager::firstLoad @ 0x1402853fc
// > GameManager::encodeDataTo @ 0x140285e6b
// > GJAccountManager::onSyncAccountCompleted @ 0x140309345
// > GJAccountManager::updateAccountSettings @ 0x140309c44
// > GJAccountManager::updateAccountSettings @ 0x140309cf5
// > GJGarageLayer::init @ 0x14037bb7c
// > GJGarageLayer::init @ 0x14037bd39
// > GJGarageLayer::init @ 0x14037bd50
// > GJMultiplayerManager::uploadComment @ 0x140391484
// > GJMultiplayerManager::createAndAddComment @ 0x140391807
// > GJMultiplayerManager::addComment @ 0x140391a58
// > GJMultiplayerManager::addComment @ 0x140391a9e
// > GJMultiplayerManager::getBasePostString @ 0x140391c0b
// > UpdateAccountSettingsPopup::dUpdateAccountSettingsPopup @ 0x140399324
// > UpdateAccountSettingsPopup::dUpdateAccountSettingsPopup @ 0x14039933b
// > UpdateAccountSettingsPopup::init @ 0x1403a0805
// > UpdateAccountSettingsPopup::init @ 0x1403a08da
// > InfoLayer::onComment @ 0x1403d079b
// > InfoLayer::onComment @ 0x1403d07b0
// > InfoLayer::setupCommentsBrowser @ 0x1403d1b64
// > InfoLayer::setupCommentsBrowser @ 0x1403d1bdf
// > LevelBrowserLayer::init @ 0x1403e362b
// > LevelBrowserLayer::getSearchTitle @ 0x1403e5bc5
// > LevelBrowserLayer::onMyOnlineLevels @ 0x1403e846b
// > LevelInfoLayer::init @ 0x14041d6be
// > LevelInfoLayer::init @ 0x14041d6d5
// > LevelInfoLayer::confirmOwnerDelete @ 0x140422f27
// > LevelInfoLayer::confirmOwnerDelete @ 0x140422f3e
// > LevelLeaderboard::onChangeType @ 0x14042a134
// > LevelLeaderboard::onUpdate @ 0x14042a40d
// > LevelLeaderboard::loadLeaderboardFailed @ 0x14042a87c
// > LevelListLayer::init @ 0x14042c59a
// > LevelListLayer::onShare @ 0x14042fd92
// > LevelListLayer::onShare @ 0x14042fda7
// > LevelListLayer::confirmOwnerDelete @ 0x1404304ab
// > ShareListLayer::updateUnlistedF @ 0x140433140
// > MenuLayer::init @ 0x14047322c
// > MenuLayer::updateUserProfileButton @ 0x140473e3c
// > MenuLayer::updateUserProfileButton @ 0x140473f1a
// > MenuLayer::onMyProfile @ 0x1404742c4
// > MenuLayer::onMyProfile @ 0x140474326
// > MessagesProfilePage::deleteSelected @ 0x140476bf3
// > MessagesProfilePage::loadMessagesFinished @ 0x14047786f
// > NotificationsPage::onClose @ 0x140478754
// > ParentalPrivacyPopup::dParentalPrivacyPopup @ 0x1404cacb5
// > ParentalPrivacyPopup::dParentalPrivacyPopup @ 0x1404cacc3
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x1404d33fe
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x1404d354f
// > ParentalPrivacyPopup::create @ 0x1404d413a
// > ParentalPrivacyPopup::create @ 0x1404d420a
// > ParentalPrivacyPopup::checkPending @ 0x1404d43e6
// > ParentalPrivacyPopup::snapshotIsForOtherAccount @ 0x1404d4686
// > ParentalPrivacyPopup::snapshotIsForOtherAccount @ 0x1404d469b
// > ParentalPrivacyPopup::startWithScore @ 0x1404d5338
// > ParentalPrivacyPopup::startWithScore @ 0x1404d53fa
// > ParentalPrivacyPopup::getUserInfoFinished @ 0x1404d55ca
// > ParentalPrivacyPopup::getUserInfoFailed @ 0x1404d5684
// > ParentalPrivacyPopup::updateSettingsFinished @ 0x1404d5751
// > ProfilePage::init @ 0x14055094c
// > ProfilePage::init @ 0x140550a20
// > ProfilePage::init @ 0x140550d9e
// > ProfilePage::init @ 0x140550dc2
// > ProfilePage::init @ 0x140550dd8
// > ProfilePage::init @ 0x140551358
// > ProfilePage::onUpdate @ 0x140551d3c
// > ProfilePage::onUpdate @ 0x140551d9a
// > ProfilePage::onUpdate @ 0x140551eff
// > ProfilePage::setupAccountButtons @ 0x1405523eb
// > ProfilePage::loadPageFromUserInfo @ 0x140552dab
// > ProfilePage::onSendMessage @ 0x140556b37
// > ProfilePage::onSendMessage @ 0x140556b4c
// > ProfilePage::onFriend @ 0x140556e6e
// > ProfilePage::onFriend @ 0x140556e83
// > ProfilePage::onBlockUser @ 0x14055740f
// > ProfilePage::onBlockUser @ 0x140557424
// > ProfilePage::onFollow @ 0x140557a75
// > ProfilePage::commentUploadFinished @ 0x14055a6ff
// > ProfilePage::commentUploadFailed @ 0x14055a752
// > ProfilePage::commentDeleteFailed @ 0x14055a89f
// > ShareLevelLayer::updateNotifyToggles @ 0x1406318b1
// > SupportLayer::customSetup @ 0x14066a1b7
// > SupportLayer::FLAlert_Clicked @ 0x14066c105
// > ??> @ 0x14091e50c
//
// 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 11:30:09 +0000
//
// Hidden C++ exception states: #wind=1
__int64 GJAccountManager::sharedState()
{
__int64 result; // rax
void (__fastcall *v1)(char *); // rdx
char *v2; // [rsp+30h] [rbp+8h]
result = qword_14090BFE8;
if ( !qword_14090BFE8 )
{
v2 = (char *)operator new(0x210u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v2);
*(_QWORD *)v2 = &GJAccountManager::`vftable';
*((_QWORD *)v2 + 40) = 0;
*(_OWORD *)(v2 + 328) = 0;
*((_QWORD *)v2 + 43) = 0;
*((_QWORD *)v2 + 44) = 15;
v2[328] = 0;
*((_QWORD *)v2 + 45) = 0;
*((_DWORD *)v2 + 92) = 0;
*(_OWORD *)(v2 + 376) = 0;
*((_QWORD *)v2 + 49) = 0;
*((_QWORD *)v2 + 50) = 15;
v2[376] = 0;
*((_QWORD *)v2 + 51) = 0;
*((_QWORD *)v2 + 52) = 0;
*((_QWORD *)v2 + 53) = 0;
*((_QWORD *)v2 + 54) = 0;
*((_QWORD *)v2 + 55) = 0;
*((_QWORD *)v2 + 56) = 0;
*((_QWORD *)v2 + 57) = 0;
*((_OWORD *)v2 + 29) = 0;
*((_QWORD *)v2 + 60) = 0;
*((_QWORD *)v2 + 61) = 15;
v2[464] = 0;
*((_OWORD *)v2 + 31) = 0;
*((_QWORD *)v2 + 64) = 0;
*((_QWORD *)v2 + 65) = 15;
v2[496] = 0;
qword_14090BFE8 = (__int64)v2;
v1 = *(void (__fastcall **)(char *))(*(_QWORD *)v2 + 72LL);
if ( (char *)v1 == (char *)GJAccountManager::init )
GJAccountManager::init(v2);
else
v1(v2);
return qword_14090BFE8;
}
return result;
}