//
// ObjectToolbox::sharedState from 0x4362e4 to 0x436342 (94 bytes)
//
// 22 xrefs:
// > LoadingLayer::loadAssets @ 0x30b9f0
// > PlayLayer::setupHasCompleted @ 0x31c21e
// > GameObject::createWithKey @ 0x361c74
// > GameObject::objectFromVector @ 0x362638
// > LevelEditorLayer::createObject @ 0x3713d6
// > EditorUI::updateGridNodeSize @ 0x37c746
// > EditorUI::updateGridNodeSize @ 0x37c7b2
// > EditorUI::updateDeleteButtons @ 0x37d326
// > EditorUI::updateDeleteButtons @ 0x37d376
// > EditorUI::updateDeleteButtons @ 0x37d46e
// > EditorUI::getCreateBtn @ 0x386390
// > EditorUI::createSmartObjectsFromType @ 0x3a4826
// > GJBaseGameLayer::addGuideArt @ 0x47910e
// > GJBaseGameLayer::addGuideArt @ 0x47924e
// > GJBaseGameLayer::addGuideArt @ 0x47937e
// > GameObject::setupCustomSprites @ 0x512736
// > GameObject::setupCustomSprites @ 0x520ea8
// > GameObject::setupCustomSprites @ 0x5214ae
// > GameObject::playDestroyObjectAnim @ 0x52b038
// > GJSmartTemplate::offsetForDir @ 0x539cae
// > GJSmartBlockPreview::addTemplateGuide @ 0x53bbaa
// > SelectArtLayer::init @ 0x5708e4
//
// 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
//
ObjectToolbox *ObjectToolbox::sharedState()
{
ObjectToolbox *v0; // r4
if ( !dword_AC658C )
{
v0 = (ObjectToolbox *)operator new(0x120u);
cocos2d::CCNode::CCNode(v0);
v0->__vftable = (ObjectToolbox_vtbl *)&off_A64358;
memset(&v0->m_allKeys.m_header, 0, sizeof(v0->m_allKeys.m_header));
v0->m_allKeys.m_nodecount = 0;
v0->m_allKeys.m_header.m_left = &v0->m_allKeys.m_header;
v0->m_allKeys.m_header.m_right = &v0->m_allKeys.m_header;
dword_AC658C = (int)v0;
ObjectToolbox::init(v0);
}
return (ObjectToolbox *)dword_AC658C;
}