//
// ObjectManager::instance from 0x3d6924 to 0x3d6970 (76 bytes)
//
// 7 xrefs:
// > CCAnimatedSprite::loadType @ 0x3c3892
// > CCAnimatedSprite::initWithType @ 0x3c3bce
// > SpriteAnimationManager::createAnimations @ 0x3d86a4
// > SpriteAnimationManager::createAnimations @ 0x3d86c2
// > SpriteAnimationManager::createAnimations @ 0x3d86da
// > SpriteAnimationManager::loadAnimations @ 0x3d8f18
// > LoadingLayer::loadAssets @ 0x3fbe5a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:44 +0000
//
int __fastcall ObjectManager::instance(ObjectManager *this)
{
cocos2d::CCNode *v1; // r4
if ( !dword_D2B170 )
{
v1 = (cocos2d::CCNode *)operator new(0x110u);
cocos2d::CCNode::CCNode(v1);
*(_DWORD *)v1 = &off_C87888;
*((_DWORD *)v1 + 66) = 0;
*((_DWORD *)v1 + 67) = 0;
dword_D2B170 = (int)v1;
ObjectManager::init(v1);
}
return dword_D2B170;
}