//
// EnhancedGameObject::create from 0x3607d8 to 0x3608ee (278 bytes)
//
// 1 xrefs:
// > GameObject::createWithKey @ 0x362520
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
EnhancedGameObject *EnhancedGameObject::create(const char *a1)
{
EnhancedGameObject *v2; // r4
EnhancedGameObject_vtbl *v3; // r3
int *v4; // r0
v2 = (EnhancedGameObject *)operator new(0x4F0u);
GameObject::GameObject(v2);
v2->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (EnhancedGameObject_vtbl *)&off_A4AFF8;
v2->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A4B39C;
v2->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A4B3DC;
v2->m_poweredOn = 0;
v2->m_state = 0;
v2->m_animationRandomizedStartValue = 0;
v2->m_animationStart = 0.0;
v2->m_unk540 = 0.0;
v2->m_unk544 = 0.0;
v2->m_unk548 = 0;
v2->m_randomFrameTime = 1.0;
v2->m_visible = 0;
v2->m_shouldNotHideAnimFreeze = 0;
v2->m_usesSpecialAnimation = 0;
v2->m_frameTime = 1.0;
v2->m_frames = 1;
v2->m_hasCustomAnimation = 0;
v2->m_hasCustomRotation = 0;
v2->m_disableRotation = 0;
v2->m_rotationSpeed = 0.0;
v2->m_rotationAngle = 0.0;
v2->m_rotationDelta = 0.0;
v2->m_rotationAnimationSpeed = 0.0;
v2->m_animationRandomizedStart = 0;
v2->m_animationSpeed = 1.0;
v2->m_animationShouldUseSpeed = 0;
v2->m_animateOnTrigger = 0;
v2->m_disableDelayedLoop = 0;
v2->m_disableAnimShine = 0;
v2->m_singleFrame = 0;
v2->m_animationOffset = 0;
v2->m_animationTriggered = 0;
v2->m_unkAnimationInt = 0;
v2->m_maybeAnimationVariableXInt = 0;
v2->m_maybeAnimationVariableYInt = 0;
v2->m_animateOnlyWhenActive = 0;
v2->m_isNoMultiActivate = 0;
v2->m_isMultiActivate = 0;
v2->m_activated = 0;
v2->m_activatedByPlayer1 = 0;
v2->m_activatedByPlayer2 = 0;
v2->m_hasUniqueCoin = 0;
if ( EnhancedGameObject::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = (int *)v2;
v2 = nullptr;
v3->~EnhancedGameObject_0((EnhancedGameObject *)v4);
}
return v2;
}