//
// ObjectManager::init from 0x6ae628 to 0x6ae678 (80 bytes)
//
// 3 xrefs:
// > ObjectManager::instance @ 0x6ae6cc
// > ??> @ 0x74248
// > ??> @ 0x141bcc0
//
// This function is hookable on this platform (idp: arm, 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:50:49 +0000
//
__int64 __fastcall ObjectManager::init(ObjectManager *this, const char *a2)
{
cocos2d::CCObject *v3; // x0
cocos2d::CCDictionary *CopiedSets; // x0
cocos2d::CCObject *v5; // x0
v3 = (cocos2d::CCObject *)cocos2d::CCDictionary::createWithContentsOfFile(
(cocos2d::CCDictionary *)"objectDefinitions.plist",
a2);
*((_QWORD *)this + 40) = v3;
cocos2d::CCObject::retain(v3);
ObjectManager::loadCopiedAnimations((cocos2d::CCDictionary **)this);
CopiedSets = (cocos2d::CCDictionary *)ObjectManager::loadCopiedSets((cocos2d::CCDictionary **)this);
v5 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(CopiedSets);
*((_QWORD *)this + 41) = v5;
cocos2d::CCObject::retain(v5);
return 1;
}