//
// EditorSFXManager::sharedState from 0xcbf468 to 0xcbf4cc (100 bytes)
//
// 138 xrefs:
// > LoadingLayer::loadAssets @ 0x6ede88
// > GameManager::firstLoad @ 0x71fc20
// > GameManager::dataLoaded @ 0x727a28
// > GameManager::encodeDataTo @ 0x72a3a4
// > LevelEditorLayer::saveLevel @ 0x7a7cec
// > LevelEditorLayer::doAutoSave @ 0x7a7e7c
// > LevelEditorLayer::doAutoBackup @ 0x7a83f8
// > LevelEditorLayer::init @ 0x7ae908
// > LevelEditorLayer::init @ 0x7ae920
// > LevelEditorLayer::init @ 0x7af42c
// > EditorUI::toggleSwipe @ 0x7c020c
// > EditorUI::toggleFreeMove @ 0x7c028c
// > EditorUI::toggleSnap @ 0x7c0314
// > EditorUI::toggleSnap @ 0x7c033c
// > EditorUI::editGroup @ 0x7c03a4
// > sub_7C0494 @ 0x7c04a4
// > EditorUI::onSettings @ 0x7c05a0
// > EditorUI::playSoundForCreatedObject @ 0x7c21ac
// > EditorUI::playSoundForCreatedObject @ 0x7c21c0
// > EditorUI::playSoundForCreatedObject @ 0x7c21d8
// > EditorUI::selectBuildTab @ 0x7c2b54
// > EditorUI::onCreateButton @ 0x7c2e34
// > EditorUI::editObjectSpecial @ 0x7c53b8
// > EditorUI::editObjectOptions @ 0x7c6124
// > EditorUI::zoomIn @ 0x7c72e8
// > EditorUI::zoomOut @ 0x7c7318
// > EditorUI::triggerSwipeMode @ 0x7c7358
// > EditorUI::toggleEnableRotate @ 0x7c8a48
// > EditorUI::editObject @ 0x7c8b40
// > EditorUI::toggleMode @ 0x7ce534
// > EditorUI::onHideUIBtn @ 0x7ce604
// > EditorUI::onShowUIBtn @ 0x7ce670
// > EditorUI::onPlaytest @ 0x7ce6c0
// > EditorUI::onStopPlaytest @ 0x7ce9a0
// > EditorUI::onPause @ 0x7cea48
// > EditorUI::onDelete @ 0x7d1a80
// > EditorUI::clickOnPosition @ 0x7d1ce8
// > EditorUI::onDeleteSelected @ 0x7d1d9c
// > EditorUI::undoLastAction @ 0x7d1ebc
// > EditorUI::redoLastAction @ 0x7d1f28
// > EditButtonBar::onRight @ 0x861364
// > EditButtonBar::onLeft @ 0x8613a4
// > EditButtonBar::onDotClicked @ 0x861438
// > EditorPauseLayer::customSetup @ 0x8b5e80
// > EditorPauseLayer::editorSFXSliderChanged @ 0x8b62b8
// > EditorPauseLayer::onResume @ 0x8b6638
// > EditorPauseLayer::onExitEditor @ 0x8b6e24
// > SetupSFXPopup::createSFXWidget @ 0xb6d684
// > SFXBrowser::setupSFXBrowser @ 0xb935c8
// > GJTransformControl::ccTouchMoved @ 0xbd2c98
// > EditorUI::ccTouchMoved @ 0xbd5c84
// > EditorUI::ccTouchEnded @ 0xbd632c
// > EditorUI::ccTouchEnded @ 0xbd65b4
// > EditorUI::ccTouchEnded @ 0xbd68b8
// > EditorUI::handleEditorAction @ 0xbd72d4
// > EditorUI::handleEditorAction @ 0xbd739c
// > EditorUI::handleEditorAction @ 0xbd74fc
// > EditorUI::handleEditorAction @ 0xbd7834
// > EditorUI::handleEditorAction @ 0xbd7a44
// > EditorUI::handleEditorAction @ 0xbd7b00
// > EditorUI::handleEditorAction @ 0xbd7b40
// > EditorUI::handleEditorAction @ 0xbd8174
// > EditorUI::handleEditorAction @ 0xbd8234
// > EditorUI::onCopyState @ 0xbd8bd8
// > EditorUI::onPasteState @ 0xbd8c2c
// > EditorUI::onPasteColor @ 0xbd8c90
// > EditorUI::onPaste @ 0xbda0b0
// > EditorUI::onPasteInPlace @ 0xbda1f8
// > EditorUI::onDuplicate @ 0xbda9fc
// > EditorUI::onCopy @ 0xbdad98
// > EditorUI::selectObjectsInRect @ 0xbdd1e8
// > EditorUI::onDeselectAll @ 0xbdd560
// > EditorUI::onDpadStep @ 0xbe21c0
// > EditorUI::transformObjectCall @ 0xc01878
// > EditorUI::transformObjectCall @ 0xc018d8
// > EditorUI::transformObjectCall @ 0xc018e8
// > EditorUI::moveObjectCall @ 0xc024f4
// > EditorUI::moveObjectCall @ 0xc026e8
// > EditorUI::moveObjectCall @ 0xc026f8
// > EditorUI::moveObjectCall @ 0xc02708
// > EditorUI::moveObjectCall @ 0xc02718
// > EditorUI::moveObjectCall @ 0xc02728
// > EditorUI::activateScaleControl @ 0xc027b0
// > EditorUI::activateTransformControl @ 0xc029c4
// > sub_C36304 @ 0xc36340
// > sub_C36304 @ 0xc36364
// > PlayLayer::tryShowDeathMarkers @ 0xc37824
// > PlayLayer::tryShowDeathMarkers @ 0xc37864
// > PlayLayer::tryShowDeathMarkers @ 0xc37894
// > PlayLayer::tryShowDeathMarkers @ 0xc378c4
// > DeathMarkerLayer::playMarkerSound @ 0xc9d604
// > DeathMarkerLayer::playPendingLabelSound @ 0xc9d640
// > EditorSFXActionConfigLayer::sfxBrowserClosed @ 0xcbd940
// > EditorSFXActionConfigLayer::onPreviewSound @ 0xcbd9ac
// > EditorSFXActionConfigLayer::onEditSound @ 0xcbda48
// > EditorSFXActionConfigLayer::onDeleteSound @ 0xcbdacc
// > EditorSFXActionConfigLayer::refreshModeButtons @ 0xcbde70
// > EditorSFXActionConfigLayer::onToggleMode @ 0xcbdee0
// > EditorSFXActionConfigLayer::onToggleMode @ 0xcbdef0
// > EditorSFXActionConfigLayer::refreshRows @ 0xcbdff4
// > EditorSFXActionConfigLayer::refreshRows @ 0xcbe340
// > EditorSFXSettingsPopup::getValue @ 0xcc7c50
// > EditorSFXSettingsPopup::valueDidChange @ 0xcc7c90
// > EditorSoundBrowserLayer::loadCurrentPage @ 0xcc91ac
// > EditorSoundBrowserLayer::loadCurrentPage @ 0xcc91b4
// > EditorSoundBrowserLayer::loadCurrentPage @ 0xcc92d4
// > EditorSoundBrowserLayer::loadCurrentPage @ 0xcc92dc
// > EditorSoundBrowserLayer::setTextPopupClosed @ 0xccac7c
// > EditorSoundBrowserLayer::setTextPopupClosed @ 0xccac84
// > EditorSoundConfigInfoLayer::onLocalDelete @ 0xccd5c4
// > EditorSoundConfigInfoLayer::onLocalDelete @ 0xccd5cc
// > EditorSoundConfigInfoLayer::likedItem @ 0xccd8e4
// > EditorSoundConfigInfoLayer::likedItem @ 0xccd8ec
// > EditorSoundConfigInfoLayer::refreshActionButtons @ 0xccd958
// > EditorSoundConfigInfoLayer::refreshActionButtons @ 0xccd960
// > EditorSoundConfigInfoLayer::onFavorite @ 0xccdef0
// > EditorSoundConfigInfoLayer::onFavorite @ 0xccdef8
// > EditorSoundConfigInfoLayer::onFavorite @ 0xccdf0c
// > EditorSoundConfigInfoLayer::onFavorite @ 0xccdf5c
// > EditorSoundConfigInfoLayer::onFavorite @ 0xccdfec
// > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0xcce1cc
// > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0xcce1fc
// > EditorSoundConfigInfoLayer::applyConfig @ 0xccea24
// > EditorSoundConfigInfoLayer::applyConfig @ 0xcceb28
// > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0xccf414
// > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0xccf41c
// > EditorSoundConfigInfoLayer::uploadActionFinished @ 0xccf8cc
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3654
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd36a0
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3818
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3884
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0xcd3abc
// > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0xcd4764
// > EditorSoundsLayer::buildContentForTab @ 0xcd6438
// > EditorSoundsSettingsPopup::FLAlert_Clicked @ 0xcd7cc0
// > EditorSoundsSettingsPopup::onDownloadAll @ 0xcd8360
// > EditorSoundsSettingsPopup::onDownloadAll @ 0xcd8388
// > ??> @ 0x5e498
//
// This function is hookable on this platform (idp: arm, 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 13:06:16 +0000
//
__int64 __fastcall EditorSFXManager::sharedState(EditorSFXManager *this)
{
__int64 result; // x0
EditorSFXManager *v2; // x20
result = qword_155F1C8;
if ( !qword_155F1C8 )
{
v2 = (EditorSFXManager *)operator new(0xC8u);
EditorSFXManager::EditorSFXManager(v2);
qword_155F1C8 = (__int64)v2;
EditorSFXManager::init(v2);
return qword_155F1C8;
}
return result;
}