//
// ObjectManager::instance from 0x58cf84 to 0x58d000 (124 bytes)
//
// 8 xrefs:
// > CCAnimatedSprite::loadType @ 0x5707b4
// > CCAnimatedSprite::initWithType @ 0x570f54
// > SpriteAnimationManager::createAnimations @ 0x58e628
// > SpriteAnimationManager::createAnimations @ 0x58e674
// > SpriteAnimationManager::createAnimations @ 0x58e694
// > SpriteAnimationManager::loadAnimations @ 0x590b6c
// > LoadingLayer::loadAssets @ 0x5c4b04
// > ??> @ 0xaa9e8
//
// 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 *result; // x0
ObjectManager *v1; // x20
result = (ObjectManager *)qword_1241930;
if ( !qword_1241930 )
{
v1 = (ObjectManager *)operator new(0x150u);
cocos2d::CCNode::CCNode(v1);
qword_1241930 = (__int64)v1;
v1->m_objectDefinitions = nullptr;
v1->m_loadedAnimations = nullptr;
v1->__vftable = (ObjectManager_vtbl *)&off_113D750;
ObjectManager::init(v1);
return (ObjectManager *)qword_1241930;
}
return result;
}