//
// ObjectManager::instance from 0x2f1bac to 0x2f1bf8 (76 bytes)
//
// 7 xrefs:
// > CCAnimatedSprite::loadType @ 0x2e3de6
// > CCAnimatedSprite::initWithType @ 0x2e40a6
// > SpriteAnimationManager::createAnimations @ 0x2f2eac
// > SpriteAnimationManager::createAnimations @ 0x2f2ec0
// > SpriteAnimationManager::createAnimations @ 0x2f2ed2
// > SpriteAnimationManager::loadAnimations @ 0x2f3b40
// > LoadingLayer::loadAssets @ 0x30b9ae
//
// 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
//
ObjectManager *ObjectManager::instance()
{
ObjectManager *v0; // r4
if ( !dword_AC5608 )
{
v0 = (ObjectManager *)operator new(0x110u);
cocos2d::CCNode::CCNode(v0);
v0->__vftable = (ObjectManager_vtbl *)&off_A3FD18;
v0->m_objectDefinitions = nullptr;
v0->m_loadedAnimations = nullptr;
dword_AC5608 = (int)v0;
ObjectManager::init(v0);
}
return (ObjectManager *)dword_AC5608;
}