//
// ObjectManager::init from 0x1002ea3c8 to 0x1002ea418 (80 bytes)
//
// 2 xrefs:
// > ObjectManager::instance @ 0x1002ea374
// > ??> @ 0x100927020
//
// 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 11:02:52 +0000
//
__int64 __fastcall ObjectManager::init(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
v2 = cocos2d::CCDictionary::createWithContentsOfFile("objectDefinitions.plist");
*(_QWORD *)(a1 + 320) = v2;
cocos2d::CCObject::retain(v2);
sub_1002EA418(a1);
v3 = sub_1002EA62C(a1);
v4 = cocos2d::CCDictionary::create(v3);
*(_QWORD *)(a1 + 328) = v4;
cocos2d::CCObject::retain(v4);
return 1;
}