//
// ObjectToolbox::sharedState from 0x547b98 to 0x547bec (84 bytes)
//
// 22 xrefs:
// > LoadingLayer::loadAssets @ 0x3fbe9c
// > PlayLayer::setupHasCompleted @ 0x40a6ea
// > GameObject::createWithKey @ 0x45b380
// > GameObject::objectFromVector @ 0x45bd62
// > LevelEditorLayer::createObject @ 0x46eafa
// > EditorUI::updateGridNodeSize @ 0x48183e
// > EditorUI::updateGridNodeSize @ 0x4818c6
// > EditorUI::createSmartObjectsFromType @ 0x482c3e
// > GJBaseGameLayer::addGuideArt @ 0x5a0500
// > GJBaseGameLayer::addGuideArt @ 0x5a06ae
// > GJBaseGameLayer::addGuideArt @ 0x5a088e
// > GameObject::setupCustomSprites @ 0x64400e
// > GameObject::setupCustomSprites @ 0x6540d4
// > GameObject::setupCustomSprites @ 0x6547ca
// > GameObject::playDestroyObjectAnim @ 0x65f23c
// > GJSmartTemplate::offsetForDir @ 0x66e9de
// > GJSmartBlockPreview::addTemplateGuide @ 0x67059a
// > SelectArtLayer::init @ 0x6a9980
// > EditorUI::updateDeleteButtons @ 0x6f6234
// > EditorUI::updateDeleteButtons @ 0x6f62a2
// > EditorUI::updateDeleteButtons @ 0x6f64be
// > EditorUI::getCreateBtn @ 0x6f80fe
//
// 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:24 +0000
//
int __fastcall ObjectToolbox::sharedState(ObjectToolbox *this)
{
cocos2d::CCNode *v1; // r4
if ( !dword_D2C0F8 )
{
v1 = (cocos2d::CCNode *)operator new(0x114u);
cocos2d::CCNode::CCNode(v1);
*(_DWORD *)v1 = &off_CAEA30;
*((_DWORD *)v1 + 67) = 0;
*((_DWORD *)v1 + 68) = 0;
*((_DWORD *)v1 + 66) = (char *)v1 + 268;
dword_D2C0F8 = (int)v1;
ObjectToolbox::init(v1);
}
return dword_D2C0F8;
}