//
// GJAccountManager::sharedState from 0x10039e9c4 to 0x10039ea34 (112 bytes)
//
// 134 xrefs:
// > LevelInfoLayer::init @ 0x1000254f8
// > LevelInfoLayer::init @ 0x10002550c
// > LevelInfoLayer::onRateStarsMod @ 0x1000287fc
// > LevelInfoLayer::confirmOwnerDelete @ 0x1000288a4
// > LevelInfoLayer::confirmOwnerDelete @ 0x1000288c0
// > LevelSearchLayer::init @ 0x10005257c
// > AccountRegisterLayer::dAccountRegisterLayer @ 0x100080f0c
// > AccountRegisterLayer::dAccountRegisterLayer @ 0x100080f20
// > AccountRegisterLayer::onSubmit @ 0x100081c70
// > AccountRegisterLayer::onSubmit @ 0x100081c7c
// > sub_100082F38 @ 0x100082f9c
// > sub_100082F38 @ 0x100082fb0
// > AccountLoginLayer::onSubmit @ 0x100083a44
// > AccountLoginLayer::onSubmit @ 0x100083ac0
// > AccountLoginLayer::loginAccountFinished @ 0x100083ec0
// > GameLevelManager::onUploadCommentCompleted @ 0x10008c188
// > GameLevelManager::onDeleteCommentCompleted @ 0x10008c684
// > GameLevelManager::onGetGJRewardsCompleted @ 0x10008f454
// > GameLevelManager::onGetGJChallengesCompleted @ 0x10008fbd4
// > GameLevelManager::createNewLevelList @ 0x100092dd0
// > GameLevelManager::getBasePostString @ 0x10009c17c
// > GameLevelManager::getBasePostString @ 0x10009c190
// > GameLevelManager::getBasePostString @ 0x10009c19c
// > GameLevelManager::uploadLevelList @ 0x10009e50c
// > GameLevelManager::downloadLevel @ 0x10009f92c
// > GameLevelManager::rateStars @ 0x1000a0c58
// > GameLevelManager::updateUserScore @ 0x1000a1f98
// > GameLevelManager::updateUserScore @ 0x1000a2144
// > GameLevelManager::updateUserScore @ 0x1000a22fc
// > GameLevelManager::submitUserInfo @ 0x1000a2cb8
// > GameLevelManager::getLeaderboardScores @ 0x1000a2f28
// > GameLevelManager::getLevelLeaderboard @ 0x1000a34ac
// > GameLevelManager::getLevelLeaderboard @ 0x1000a39b8
// > GameLevelManager::likeItem @ 0x1000aa04c
// > GJUserScore::isCurrentUser @ 0x1000aff44
// > EditLevelLayer::onShare @ 0x1000ea45c
// > CommentCell::loadFromComment @ 0x10010723c
// > CommentCell::onLike @ 0x100110c3c
// > GJRequestCell::markAsRead @ 0x1001121ac
// > GJMessageCell::markAsRead @ 0x100112860
// > sub_1001655AC @ 0x100165618
// > sub_1001655AC @ 0x10016562c
// > sub_1001655AC @ 0x100165634
// > sub_1001655AC @ 0x100165648
// > sub_1001655AC @ 0x100165650
// > sub_1001655AC @ 0x100165664
// > AccountLayer::customSetup @ 0x100165bb8
// > AccountLayer::customSetup @ 0x100165bd4
// > AccountLayer::customSetup @ 0x100165c38
// > AccountLayer::customSetup @ 0x100165c44
// > AccountLayer::customSetup @ 0x100165c50
// > AccountLayer::onLogin @ 0x100165d0c
// > AccountLayer::updatePage @ 0x1001661c4
// > AccountLayer::updatePage @ 0x1001661ec
// > AccountLayer::updatePage @ 0x10016624c
// > AccountLayer::updatePage @ 0x100166270
// > AccountLayer::updatePage @ 0x1001662d4
// > AccountLayer::updatePage @ 0x10016642c
// > AccountLayer::updatePage @ 0x100166490
// > AccountLayer::doBackup @ 0x1001665b4
// > AccountLayer::doSync @ 0x10016663c
// > AccountLayer::backupAccountFailed @ 0x100166854
// > AccountLayer::backupAccountFailed @ 0x10016686c
// > AccountHelpLayer::dAccountHelpLayer @ 0x100166f2c
// > AccountHelpLayer::dAccountHelpLayer @ 0x100166f40
// > AccountHelpLayer::customSetup @ 0x1001672f4
// > AccountHelpLayer::onUnlink @ 0x100167478
// > AccountHelpLayer::updatePage @ 0x1001675bc
// > AccountHelpLayer::updatePage @ 0x1001675e4
// > AccountHelpLayer::updatePage @ 0x100167644
// > AccountHelpLayer::updatePage @ 0x100167668
// > AccountHelpLayer::updatePage @ 0x1001676c8
// > AccountHelpLayer::updatePage @ 0x100167804
// > AccountHelpLayer::FLAlert_Clicked @ 0x1001679a8
// > SupportLayer::customSetup @ 0x1001918d4
// > SupportLayer::sendSupportMail @ 0x10019305c
// > ProfilePage::init @ 0x100196a6c
// > ProfilePage::init @ 0x100196aa0
// > ProfilePage::init @ 0x100196bec
// > ProfilePage::init @ 0x100196c1c
// > ProfilePage::init @ 0x100196c2c
// > ProfilePage::init @ 0x100197030
// > ProfilePage::onUpdate @ 0x100197914
// > ProfilePage::onUpdate @ 0x100197934
// > ProfilePage::onUpdate @ 0x100197954
// > ProfilePage::loadPageFromUserInfo @ 0x100199870
// > ProfilePage::onSendMessage @ 0x10019ade0
// > ProfilePage::onFriend @ 0x10019ae34
// > ProfilePage::onBlockUser @ 0x10019b09c
// > ProfilePage::commentUploadFinished @ 0x10019cb34
// > ProfilePage::commentUploadFailed @ 0x10019cb8c
// > ProfilePage::commentDeleteFailed @ 0x10019cc48
// > FRequestProfilePage::onClose @ 0x1001b69f0
// > FRequestProfilePage::deleteSelected @ 0x1001b70b8
// > MessagesProfilePage::onClose @ 0x1001cc8a4
// > MessagesProfilePage::deleteSelected @ 0x1001ccf74
// > MessagesProfilePage::loadMessagesFinished @ 0x1001cd574
// > GJMultiplayerManager::getBasePostString @ 0x1001cf220
// > GJMultiplayerManager::addComment @ 0x1001cf580
// > GJMultiplayerManager::addComment @ 0x1001cf5c8
// > GJMultiplayerManager::uploadComment @ 0x1001cf86c
// > GJMultiplayerManager::createAndAddComment @ 0x1001cfc28
// > FriendsProfilePage::onClose @ 0x1001d9444
// > FriendsProfilePage::getUserListFinished @ 0x1001d98b4
// > LevelListLayer::init @ 0x100244610
// > LevelListLayer::onShare @ 0x100245104
// > LevelLeaderboard::onUpdate @ 0x10025044c
// > LevelLeaderboard::onChangeType @ 0x100250520
// > LevelLeaderboard::loadLeaderboardFailed @ 0x100250f98
// > MenuLayer::init @ 0x1002671fc
// > MenuLayer::onMyProfile @ 0x100267b6c
// > MenuLayer::onMyProfile @ 0x100267b94
// > MenuLayer::updateUserProfileButton @ 0x100267bdc
// > MenuLayer::updateUserProfileButton @ 0x100267c40
// > UpdateAccountSettingsPopup::dUpdateAccountSettingsPopup @ 0x1002d79c0
// > UpdateAccountSettingsPopup::dUpdateAccountSettingsPopup @ 0x1002d79d4
// > UpdateAccountSettingsPopup::init @ 0x1002d7cd8
// > UpdateAccountSettingsPopup::init @ 0x1002d7ce4
// > GJGarageLayer::init @ 0x100301e5c
// > GJGarageLayer::init @ 0x100301f78
// > GJGarageLayer::init @ 0x100301fb8
// > GameManager::dataLoaded @ 0x10031bfa8
// > GameManager::dataLoaded @ 0x10031bfd4
// > GameManager::dataLoaded @ 0x10031bff4
// > GameManager::firstLoad @ 0x10031c864
// > GameManager::encodeDataTo @ 0x10031ce34
// > InfoLayer::onComment @ 0x100351734
// > InfoLayer::setupCommentsBrowser @ 0x10035224c
// > GJAccountManager::onSyncAccountCompleted @ 0x10039fc3c
// > GJAccountManager::updateAccountSettings @ 0x1003a14c4
// > GJAccountManager::updateAccountSettings @ 0x1003a14d4
// > LevelBrowserLayer::init @ 0x1004151a0
// > LevelBrowserLayer::onMyOnlineLevels @ 0x100416230
// > LevelBrowserLayer::getSearchTitle @ 0x1004186ec
//
// 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 *__fastcall GJAccountManager::sharedState()
{
GJAccountManager *result; // x0
_OWORD *v1; // x19
result = (GJAccountManager *)qword_10086E4E0;
if ( !qword_10086E4E0 )
{
v1 = operator new(0x1D8u);
cocos2d::CCNode::CCNode((__int64)v1);
*(_QWORD *)v1 = off_10080BE08;
v1[20] = 0u;
v1[21] = 0u;
*(_OWORD *)((char *)v1 + 348) = 0u;
v1[23] = 0u;
v1[24] = 0u;
v1[25] = 0u;
v1[26] = 0u;
v1[27] = 0u;
v1[28] = 0u;
*((_QWORD *)v1 + 58) = 0;
qword_10086E4E0 = (__int64)v1;
GJAccountManager::init((GJAccountManager *)v1);
return (GJAccountManager *)qword_10086E4E0;
}
return result;
}