//
// GJAccountManager::sharedState from 0x5812b0 to 0x581356 (166 bytes)
//
// 209 xrefs:
// > MenuLayer::onMyProfile @ 0x3f957a
// > MenuLayer::onMyProfile @ 0x3f959a
// > MenuLayer::updateUserProfileButton @ 0x3f9e4e
// > MenuLayer::updateUserProfileButton @ 0x3f9ed2
// > MenuLayer::init @ 0x3fa984
// > GameManager::firstLoad @ 0x4180aa
// > GameManager::dataLoaded @ 0x41ccbc
// > GameManager::dataLoaded @ 0x41cce0
// > GameManager::dataLoaded @ 0x41ccfe
// > GameManager::encodeDataTo @ 0x41de64
// > CommentCell::onLike @ 0x42453e
// > CommentCell::onLike @ 0x424550
// > CommentCell::onLike @ 0x4245c0
// > CommentCell::onMoreOptions @ 0x42463e
// > GJRequestCell::markAsRead @ 0x4264b8
// > GJMessageCell::markAsRead @ 0x4267ea
// > CommentCell::loadFromComment @ 0x433968
// > LevelInfoLayer::confirmOwnerDelete @ 0x49af9c
// > LevelInfoLayer::confirmOwnerDelete @ 0x49afac
// > LevelInfoLayer::init @ 0x49de9c
// > LevelInfoLayer::init @ 0x49deae
// > EditLevelLayer::onShare @ 0x49fe38
// > EditLevelLayer::onShare @ 0x49fe4a
// > ShareLevelLayer::updateNotifyToggles @ 0x4a2748
// > LevelBrowserLayer::getSearchTitle @ 0x4a5fae
// > LevelBrowserLayer::init @ 0x4a7f26
// > LevelBrowserLayer::onMyOnlineLevels @ 0x4a845a
// > sub_4A9938 @ 0x4a993c
// > GameLevelManager::dtShouldUploadLevel @ 0x4aab20
// > GJUserScore::isCurrentUser @ 0x4afa56
// > GameLevelManager::getBasePostString @ 0x4b5e36
// > GameLevelManager::getBasePostString @ 0x4b5e48
// > GameLevelManager::getBasePostString @ 0x4b5e56
// > GameLevelManager::getLeaderboardScores @ 0x4b6f2a
// > GameLevelManager::syncFollowListIfNeeded @ 0x4b9610
// > GameLevelManager::reportContent @ 0x4bae2c
// > GameLevelManager::reportContent @ 0x4bae3a
// > GameLevelManager::submitUserInfo @ 0x4bb0f4
// > GameLevelManager::uploadDeathData @ 0x4bccac
// > GameLevelManager::downloadLevel @ 0x4bd470
// > GameLevelManager::rateStars @ 0x4bd7ac
// > GameLevelManager::getLevelLeaderboard @ 0x4bda98
// > GameLevelManager::getLevelLeaderboard @ 0x4bde54
// > GameLevelManager::likeItem @ 0x4c049c
// > GameLevelManager::onDeleteCommentCompleted @ 0x4c2e0a
// > GameLevelManager::applyThreadAddReply @ 0x4c3216
// > GameLevelManager::onUploadCommentCompleted @ 0x4c548a
// > GameLevelManager::getDeathData @ 0x4c73be
// > GameLevelManager::onGetNotificationsCompleted @ 0x4c90b2
// > GameLevelManager::onUpdateThreadCompleted @ 0x4c9384
// > GameLevelManager::onGetGJRewardsCompleted @ 0x4c9b32
// > GameLevelManager::onGetGJChallengesCompleted @ 0x4c9fd8
// > GameLevelManager::createNewLevelList @ 0x4d00f6
// > GameLevelManager::uploadLevelList @ 0x4d0430
// > GameLevelManager::updateUserScore @ 0x4d659c
// > GameLevelManager::updateUserScore @ 0x4d66b6
// > GameLevelManager::updateUserScore @ 0x4d67f2
// > GJGarageLayer::init @ 0x51013a
// > GJGarageLayer::init @ 0x510248
// > GJGarageLayer::init @ 0x51025e
// > ParentalPrivacyPopup::~ParentalPrivacyPopup @ 0x52c79c
// > ParentalPrivacyPopup::~ParentalPrivacyPopup @ 0x52c7ac
// > ParentalPrivacyPopup::getUserInfoFailed @ 0x52c992
// > ParentalPrivacyPopup::snapshotIsForOtherAccount @ 0x52d91e
// > ParentalPrivacyPopup::snapshotIsForOtherAccount @ 0x52d930
// > ParentalPrivacyPopup::updateSettingsFinished @ 0x52fa8a
// > ParentalPrivacyPopup::startWithScore @ 0x52feb0
// > ParentalPrivacyPopup::startWithScore @ 0x52fec0
// > ParentalPrivacyPopup::getUserInfoFinished @ 0x53008a
// > ParentalPrivacyPopup::init @ 0x530126
// > ParentalPrivacyPopup::init @ 0x530158
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x530290
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x5302c4
// > ParentalPrivacyPopup::checkPending @ 0x53038a
// > SupportLayer::customSetup @ 0x53a33c
// > SupportLayer::sendSupportMail @ 0x53a87e
// > InfoLayer::onComment @ 0x53d4c2
// > InfoLayer::onComment @ 0x53d4d4
// > InfoLayer::setupCommentsBrowser @ 0x53df74
// > InfoLayer::setupCommentsBrowser @ 0x53dfc4
// > GJAccountManager::updateAccountSettings @ 0x582406
// > GJAccountManager::updateAccountSettings @ 0x582416
// > GJAccountManager::onSyncAccountCompleted @ 0x582b9e
// > AccountHelpLayer::~AccountHelpLayer @ 0x5839e4
// > AccountHelpLayer::~AccountHelpLayer @ 0x5839f4
// > AccountLayer::~AccountLayer @ 0x583a98
// > AccountLayer::~AccountLayer @ 0x583aa8
// > AccountLayer::~AccountLayer @ 0x583ab2
// > AccountLayer::~AccountLayer @ 0x583ac2
// > AccountLayer::~AccountLayer @ 0x583acc
// > AccountLayer::~AccountLayer @ 0x583adc
// > AccountHelpLayer::doUnlink @ 0x583fcc
// > AccountLayer::onLogin @ 0x584766
// > AccountLayer::updatePage @ 0x5847c2
// > AccountLayer::updatePage @ 0x5847d2
// > AccountLayer::updatePage @ 0x584824
// > AccountLayer::updatePage @ 0x58487a
// > AccountLayer::updatePage @ 0x584896
// > AccountLayer::updatePage @ 0x58493c
// > AccountLayer::updatePage @ 0x584986
// > AccountLayer::doBackup @ 0x584a4a
// > AccountLayer::doSync @ 0x584a7c
// > AccountLayer::customSetup @ 0x584f40
// > AccountLayer::customSetup @ 0x584f50
// > AccountLayer::customSetup @ 0x584f8a
// > AccountLayer::customSetup @ 0x584f96
// > AccountLayer::customSetup @ 0x584fa2
// > AccountLayer::backupAccountFailed @ 0x585064
// > AccountLayer::backupAccountFailed @ 0x58506c
// > AccountHelpLayer::onUnlink @ 0x58521e
// > AccountHelpLayer::updatePage @ 0x5852fc
// > AccountHelpLayer::updatePage @ 0x58530c
// > AccountHelpLayer::updatePage @ 0x58535c
// > AccountHelpLayer::updatePage @ 0x5853b2
// > AccountHelpLayer::updatePage @ 0x5853cc
// > AccountHelpLayer::updatePage @ 0x58545e
// > AccountHelpLayer::customSetup @ 0x585752
// > AccountRegisterLayer::~AccountRegisterLayer @ 0x585868
// > AccountRegisterLayer::~AccountRegisterLayer @ 0x585878
// > AccountLoginLayer::~AccountLoginLayer @ 0x5867cc
// > AccountLoginLayer::~AccountLoginLayer @ 0x5867dc
// > AccountLoginLayer::onSubmit @ 0x586a02
// > AccountLoginLayer::onSubmit @ 0x586a64
// > AccountRegisterLayer::init @ 0x5872b8
// > AccountLoginLayer::loginAccountFinished @ 0x587b42
// > AccountRegisterLayer::onSubmit @ 0x588d56
// > AccountRegisterLayer::onSubmit @ 0x588d62
// > UpdateAccountSettingsPopup::~UpdateAccountSettingsPopup @ 0x5d3654
// > UpdateAccountSettingsPopup::~UpdateAccountSettingsPopup @ 0x5d3664
// > UpdateAccountSettingsPopup::init @ 0x5d8cd0
// > UpdateAccountSettingsPopup::init @ 0x5d8cdc
// > MessagesProfilePage::deleteSelected @ 0x5efd46
// > MessagesProfilePage::loadMessagesFinished @ 0x5efeb0
// > FRequestProfilePage::removeFromNewCount @ 0x5f10e8
// > FRequestProfilePage::onClose @ 0x5f1300
// > FriendsProfilePage::onClose @ 0x5f33aa
// > FriendsProfilePage::getUserListFinished @ 0x5f4f5c
// > ProfilePage::setupAccountButtons @ 0x5f5d80
// > ProfilePage::onUpdate @ 0x5f655a
// > ProfilePage::onUpdate @ 0x5f6574
// > ProfilePage::onUpdate @ 0x5f658e
// > ProfilePage::onFollow @ 0x5f6f18
// > ProfilePage::commentUploadFailed @ 0x5f7216
// > ProfilePage::onSendMessage @ 0x5f77d2
// > ProfilePage::onSendMessage @ 0x5f77e4
// > ProfilePage::onBlockUser @ 0x5f7862
// > ProfilePage::onBlockUser @ 0x5f7874
// > ProfilePage::onFriend @ 0x5f7bb2
// > ProfilePage::onFriend @ 0x5f7bc4
// > ProfilePage::loadPageFromUserInfo @ 0x5f8d9a
// > ProfilePage::init @ 0x5fa6e0
// > ProfilePage::init @ 0x5fa7c6
// > ProfilePage::init @ 0x5fa7f2
// > ProfilePage::init @ 0x5fa800
// > ProfilePage::init @ 0x5fabb6
// > ProfilePage::init @ 0x5fae76
// > ProfilePage::commentUploadFinished @ 0x5fb62a
// > ProfilePage::commentDeleteFailed @ 0x5fb66e
// > LevelLeaderboard::onUpdate @ 0x614ac0
// > LevelLeaderboard::loadLeaderboardFailed @ 0x614fba
// > LevelLeaderboard::onChangeType @ 0x615f12
// > GJMultiplayerManager::addComment @ 0x6418c0
// > GJMultiplayerManager::addComment @ 0x64190c
// > GJMultiplayerManager::createAndAddComment @ 0x64199a
// > GJMultiplayerManager::getBasePostString @ 0x641fd0
// > GJMultiplayerManager::uploadComment @ 0x642444
// > ShareListLayer::updateNotifyToggles @ 0x6d4f5c
// > LevelListLayer::confirmOwnerDelete @ 0x6d5f4e
// > LevelListLayer::onShare @ 0x6d8056
// > LevelListLayer::onShare @ 0x6d8068
// > LevelListLayer::init @ 0x6d8fdc
// > ReportQueuePopup::buildRows @ 0x73bbc4
// > NotificationsPage::onClose @ 0x743178
// > MessageThreadsPage::onClose @ 0x745b86
// > MemberListPopup::refreshPolicyBtn @ 0x747bc6
// > MemberListPopup::buildRows @ 0x747cea
// > MemberListPopup::buildRows @ 0x747eb0
// > MemberListPopup::buildRows @ 0x747f76
// > MemberListPopup::init @ 0x74af66
// > ThreadOptionsPopup::onLeave @ 0x74b9be
// > ThreadViewPopup::senderNameFor @ 0x74d388
// > ThreadViewPopup::senderNameFor @ 0x74d39a
// > ThreadMessageOptionsPopup::init @ 0x75382e
// > ThreadDescPopup::init @ 0x754668
// > ThreadOptionsPopup::init @ 0x757422
// > FriendPickerPopup::buildRows @ 0x758886
// > LevelPickerPopup::doPageRequest @ 0x75ab68
// > ThreadViewPopup::init @ 0x75cd5a
// > NewThreadPopup::threadSendFinished @ 0x75d14a
// > ThreadViewPopup::onSend @ 0x75ddf8
// > ThreadViewPopup::threadMessagesFinished @ 0x75e918
// > ThreadViewPopup::threadMessagesFinished @ 0x75ea44
// > ThreadViewPopup::mountVirtualRow @ 0x75f180
// > EditorSoundBrowserLayer::loadCurrentPage @ 0x782340
// > EditorSoundBrowserLayer::loadCurrentPage @ 0x78235a
// > EditorSoundBrowserLayer::loadCurrentPage @ 0x782370
// > EditorSoundBrowserLayer::loadCurrentPage @ 0x78238e
// > EditorSoundBrowserLayer::init @ 0x782c66
// > EditorSoundBrowserLayer::init @ 0x78308c
// > EditorSoundConfigInfoLayer::onUpload @ 0x784c38
// > EditorSoundConfigInfoLayer::onUpload @ 0x784c4a
// > EditorSoundConfigInfoLayer::isOwner @ 0x784ed0
// > EditorSoundConfigInfoLayer::isOwner @ 0x784ed8
// > EditorSoundConfigInfoLayer::isOwner @ 0x784eea
// > EditorSoundConfigUploadPopup::performUpload @ 0x788f6c
// > EditorSoundConfigUploadPopup::performUpload @ 0x788f7e
// > EditorSoundConfigUploadPopup::init @ 0x7898e2
// > EditorSoundConfigUploadPopup::init @ 0x7898e8
// > ReportPopup::createForFriendRequest @ 0x7a1454
//
// 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:52:53 +0000
//
int __fastcall GJAccountManager::sharedState(GJAccountManager *this)
{
cocos2d::CCNode *v1; // r4
if ( !dword_D2C308 )
{
v1 = (cocos2d::CCNode *)operator new(0x168u);
cocos2d::CCNode::CCNode(v1);
*(_DWORD *)v1 = &off_CB2E80;
*((_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 *)v1 + 72) = 0;
*((_DWORD *)v1 + 73) = 0;
*((_DWORD *)v1 + 74) = 0;
*((_DWORD *)v1 + 75) = 0;
*((_DWORD *)v1 + 76) = 0;
*((_DWORD *)v1 + 77) = 0;
*((_DWORD *)v1 + 78) = 0;
*((_DWORD *)v1 + 79) = 0;
*((_DWORD *)v1 + 80) = 0;
*((_DWORD *)v1 + 81) = 0;
*((_DWORD *)v1 + 82) = 0;
*((_DWORD *)v1 + 83) = 0;
*((_DWORD *)v1 + 84) = 0;
*((_DWORD *)v1 + 85) = 0;
*((_DWORD *)v1 + 86) = 0;
*((_DWORD *)v1 + 87) = 0;
*((_DWORD *)v1 + 88) = 0;
*((_DWORD *)v1 + 89) = 0;
dword_D2C308 = (int)v1;
GJAccountManager::init(v1);
}
return dword_D2C308;
}