//
// GameObject::commonInteractiveSetup from 0x140196d80 to 0x140196e39 (185 bytes)
//
// 4 xrefs:
// > GameObject::customSetup @ 0x140190fd5
// > GameObject::customSetup @ 0x140193b0c
// > EnhancedGameObject::customSetup @ 0x1401a5913
// > ??> @ 0x1406cba18
//
// 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
//
void GameObject::commonInteractiveSetup(GameObject *a1)
{
GJSpriteColor *m_baseColor; // rax
__int64 v3; // rax
cocos2d::CCPoint v4; // [rsp+40h] [rbp+8h] BYREF
m_baseColor = a1->m_baseColor;
a1->m_objectType = Collectible;
a1->m_defaultZOrder = 9;
a1->m_colorZLayerRelated = 1;
a1->m_unk28c = 1;
a1->m_colorSpriteLocked = 1;
a1->m_particleUseObjectColor = 1;
if ( m_baseColor )
{
m_baseColor->m_defaultColorID = 1;
m_baseColor->m_colorID = 0;
}
if ( !a1->m_editorEnabled && !a1->m_hasNoEffects && a1->m_objectID != 1614 )
{
GameObject::createAndAddParticle(a1, a1->m_objectType, "keyEffect.plist", 0, kCCPositionTypeGrouped);
cocos2d::CCPoint::CCPoint(&v4, 0.0, -5.0);
cocos2d::CCPoint::operator=(&a1->m_particleOffset, v3);
}
}