//
// ObjectManager::instance from 0x1002ea334 to 0x1002ea388 (84 bytes)
//
// 7 xrefs:
// > LoadingLayer::loadAssets @ 0x10026f30c
// > sub_100399C98 @ 0x100399cc4
// > sub_100399DFC @ 0x100399e68
// > sub_1003C08B8 @ 0x1003c08e0
// > sub_1003C08B8 @ 0x1003c08fc
// > sub_1003C08B8 @ 0x1003c091c
// > sub_1003C11CC @ 0x1003c1210
//
// 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 ObjectManager::instance()
{
__int64 result; // x0
_QWORD *v1; // x19
result = qword_1009F62A0;
if ( !qword_1009F62A0 )
{
v1 = operator new(0x150u);
cocos2d::CCNode::CCNode((__int64)v1);
*v1 = off_100926FD0;
v1[40] = 0;
v1[41] = 0;
qword_1009F62A0 = (__int64)v1;
ObjectManager::init(v1);
return qword_1009F62A0;
}
return result;
}