//
// ObjectManager::init from 0x14007bf50 to 0x14007bfa4 (84 bytes)
//
// 5 xrefs:
// > ObjectManager::instance @ 0x14007bf24
// > ObjectManager::instance @ 0x14007bf36
// > ObjectManager::instance @ 0x14007bf15
// > ??> @ 0x140711108
// > ??> @ 0x140911dec
//
// 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 11:25:53 +0000
//
char __fastcall ObjectManager::init(__int64 a1)
{
cocos2d::CCObject *v2; // rax
cocos2d::CCObject *v3; // rax
v2 = cocos2d::CCDictionary::createWithContentsOfFile("objectDefinitions.plist");
*(_QWORD *)(a1 + 320) = v2;
cocos2d::CCObject::retain(v2);
ObjectManager::loadCopiedAnimations(a1);
ObjectManager::loadCopiedSets(a1);
v3 = (cocos2d::CCObject *)cocos2d::CCDictionary::create();
*(_QWORD *)(a1 + 328) = v3;
cocos2d::CCObject::retain(v3);
return 1;
}