//
// ObjectToolbox::sharedState from 0x100749280 to 0x1007492ec (108 bytes)
//
// 32 xrefs:
// > EditorUI::updateGridNodeSize_1 @ 0x10000ddc7
// > EditorUI::updateGridNodeSize_1 @ 0x10000de9a
// > EditorUI::updateGridNodeSize_1 @ 0x10000ded1
// > EditorUI::updateGridNodeSize @ 0x10000df0d
// > EditorUI::createSmartObjectsFromType @ 0x100014ea4
// > PlayLayer::setupHasCompleted @ 0x10007bc05
// > LevelEditorLayer::createObject @ 0x1000afb0e
// > GJBaseGameLayer::addGuideArt @ 0x100141d2e
// > GJBaseGameLayer::addGuideArt @ 0x100141dc8
// > GJBaseGameLayer::addGuideArt @ 0x100141e35
// > GameObject::playDestroyObjectAnim @ 0x100248dbf
// > SelectArtLayer::init @ 0x100259f00
// > LoadingLayer::loadAssets @ 0x10038cc0f
// > GJSmartTemplate::keyFromNeighbors @ 0x100412c0f
// > GJSmartTemplate::keyFromNeighbors @ 0x100412c71
// > GJSmartTemplate::keyFromNeighbors @ 0x100412cdb
// > GJSmartTemplate::keyFromNeighbors @ 0x100412d42
// > GJSmartTemplate::keyFromNeighbors @ 0x100412d9e
// > GJSmartTemplate::keyFromNeighbors @ 0x100412e06
// > GJSmartTemplate::keyFromNeighbors @ 0x100412e61
// > GJSmartTemplate::keyFromNeighbors @ 0x100412ec2
// > GJSmartTemplate::offsetForDir @ 0x100413073
// > GJSmartBlockPreview::addTemplateGuide_1 @ 0x1004159e7
// > GameObject::setupCustomSprites @ 0x100439480
// > GameObject::setupCustomSprites @ 0x10043c422
// > GameObject::setupCustomSprites @ 0x100445b7c
// > EditorUI::getCreateBtn @ 0x100637f62
// > EditorUI::updateDeleteButtons @ 0x10063be61
// > EditorUI::updateDeleteButtons @ 0x10063bf6d
// > EditorUI::updateDeleteButtons @ 0x10063c2a5
// > GameObject::createWithKey @ 0x10066eb5c
// > GameObject::objectFromVector @ 0x1006914cc
//
// This function is hookable on this platform (idp: pc, 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:36:32 +0000
//
__int64 ObjectToolbox::sharedState()
{
__int64 result; // rax
char *v1; // rbx
result = qword_100BE68D0;
if ( !qword_100BE68D0 )
{
v1 = (char *)operator new(0x158u);
cocos2d::CCNode::CCNode((__int64)v1);
*(_QWORD *)v1 = off_100B9D678;
*(_OWORD *)(v1 + 328) = 0;
*((_QWORD *)v1 + 40) = v1 + 328;
qword_100BE68D0 = (__int64)v1;
ObjectToolbox::init(v1);
return qword_100BE68D0;
}
return result;
}