//
// GameObject::commonInteractiveSetup from 0x3573ac to 0x35742e (130 bytes)
//
// 3 xrefs:
// > GameObject::customSetup @ 0x35d87c
// > GameObject::customSetup @ 0x35fc0c
// > EnhancedGameObject::customSetup @ 0x36139e
//
// 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)
{
int v2; // r3
int v3; // r2
bool v4; // r3
cocos2d::CCPoint v5; // [sp+Ch] [bp-Ch] BYREF
int v6; // [sp+14h] [bp-4h]
a1->m_colorZLayerRelated = 1;
a1->m_unk28c = 1;
a1->m_colorSpriteLocked = 1;
v2 = _stack_chk_guard;
a1->m_particleUseObjectColor = 1;
v6 = v2;
a1->m_objectType = Collectible;
a1->m_defaultZOrder = 9;
GameObject::setDefaultMainColorMode(a1, 1);
if ( !a1->m_editorEnabled && !a1->m_hasNoEffects && a1->m_objectID != 1614 )
{
GameObject::createAndAddParticle(
a1,
a1->m_objectType,
"keyEffect.plist",
a1->m_hasNoEffects,
kCCPositionTypeGrouped);
cocos2d::CCPoint::CCPoint(&v5, 0.0, -5.0);
cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_particleOffset, COERCE_FLOAT(&v5), v3, v4);
}
}