//
// ObjectToolbox::sharedState from 0x919680 to 0x919704 (132 bytes)
//
// 23 xrefs:
// > LoadingLayer::loadAssets @ 0x6ee04c
// > PlayLayer::setupHasCompleted @ 0x7080d8
// > GameObject::createWithKey @ 0x77fcd0
// > GameObject::objectFromVector @ 0x780928
// > LevelEditorLayer::createObject @ 0x7a13bc
// > EditorUI::updateGridNodeSize @ 0x7c130c
// > EditorUI::updateGridNodeSize @ 0x7c13cc
// > EditorUI::createSmartObjectsFromType @ 0x7c35e0
// > GJBaseGameLayer::addGuideArt @ 0x9b9a24
// > GJBaseGameLayer::addGuideArt @ 0x9b9bac
// > GJBaseGameLayer::addGuideArt @ 0x9b9de4
// > GameObject::setupCustomSprites @ 0xad1020
// > GameObject::setupCustomSprites @ 0xad1fc8
// > GameObject::setupCustomSprites @ 0xadd388
// > GameObject::playDestroyObjectAnim @ 0xaf3e84
// > GJSmartTemplate::offsetForDir @ 0xb0c2e8
// > GJSmartBlockPreview::addTemplateGuide @ 0xb0fb6c
// > SelectArtLayer::init @ 0xb62e54
// > EditorUI::updateDeleteButtons @ 0xbdf800
// > EditorUI::updateDeleteButtons @ 0xbdf920
// > EditorUI::updateDeleteButtons @ 0xbdf9ac
// > EditorUI::getCreateBtn @ 0xbe2264
// > ??> @ 0xbf308
//
// 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 12:57:20 +0000
//
__int64 __fastcall ObjectToolbox::sharedState(ObjectToolbox *this)
{
__int64 result; // x0
cocos2d::CCNode *v2; // x20
result = qword_155CF68;
if ( !qword_155CF68 )
{
v2 = (cocos2d::CCNode *)operator new(0x158u);
cocos2d::CCNode::CCNode(v2);
qword_155CF68 = (__int64)v2;
*((_QWORD *)v2 + 40) = (char *)v2 + 328;
*((_QWORD *)v2 + 41) = 0;
*(_QWORD *)v2 = &off_1469C50;
*((_QWORD *)v2 + 42) = 0;
ObjectToolbox::init(v2);
return qword_155CF68;
}
return result;
}