//
// ObjectManager::instance from 0x14006e400 to 0x14006e485 (133 bytes)
//
// 10 xrefs:
// > CCAnimatedSprite::initWithType @ 0x140040065
// > CCAnimatedSprite::loadType @ 0x140040405
// > SpriteAnimationManager::loadAnimations @ 0x14007266b
// > SpriteAnimationManager::createAnimations @ 0x14007301a
// > SpriteAnimationManager::createAnimations @ 0x1400730c1
// > SpriteAnimationManager::createAnimations @ 0x14007316d
// > GJRobotSprite::init @ 0x1402a680c
// > LoadingLayer::loadAssets @ 0x14032f2ce
// > AnimatedGameObject::init @ 0x1404a2b29
// > ??> @ 0x1406c60fc
//
// 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; // rax
ObjectManager *v1; // [rsp+30h] [rbp+8h]
result = (ObjectManager *)qword_1406C2EA0;
if ( !qword_1406C2EA0 )
{
v1 = (ObjectManager *)operator new(0x150u);
cocos2d::CCNode::CCNode(v1);
v1->__vftable = (ObjectManager_vtbl *)&ObjectManager::`vftable';
v1->m_objectDefinitions = nullptr;
v1->m_loadedAnimations = nullptr;
qword_1406C2EA0 = (__int64)v1;
ObjectManager::init(v1);
return (ObjectManager *)qword_1406C2EA0;
}
return result;
}