//
// GameObject::commonInteractiveSetup from 0x64854c to 0x648620 (212 bytes)
//
// 4 xrefs:
// > GameObject::customSetup @ 0x64f0b8
// > GameObject::customSetup @ 0x64f944
// > EnhancedGameObject::customSetup @ 0x6536f8
// > ??> @ 0x31f38
//
// 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)
{
cocos2d::CCPoint v2; // x2
float v3; // s0
float v4; // s1
cocos2d::CCPoint v5[2]; // [xsp+40h] [xbp+40h] BYREF
a1->m_colorZLayerRelated = 1;
a1->m_unk28c = 1;
a1->m_colorSpriteLocked = 1;
a1->m_particleUseObjectColor = 1;
v2 = (cocos2d::CCPoint)_stack_chk_guard;
a1->m_objectType = Collectible;
a1->m_defaultZOrder = 9;
v5[1] = v2;
GameObject::setDefaultMainColorMode(a1, 1);
if ( !a1->m_editorEnabled && !a1->m_hasNoEffects && a1->m_objectID != 1614 )
{
GameObject::createAndAddParticle(a1, a1->m_objectType, "keyEffect.plist", 0, kCCPositionTypeGrouped);
cocos2d::CCPoint::CCPoint(v5, 0.0, -5.0);
cocos2d::CCPoint::operator=(&a1->m_particleOffset, v3, v4);
}
}