//
// RingObject::powerOnObject from 0x1001b4230 to 0x1001b4282 (82 bytes)
//
// 3 xrefs:
// > ??> @ 0x1008cd870
// > ??> @ 0x1008ce080
// > ??> @ 0x1008ce8a8
//
// 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 __fastcall RingObject::powerOnObject(RingObject *a1, int a2)
{
bool m_isRingPoweredOn; // r14
m_isRingPoweredOn = a1->m_isRingPoweredOn;
EnhancedGameObject::powerOnObject(a1, a2);
if ( !m_isRingPoweredOn
&& !GameManager::sharedState()->m_performanceMode
&& !GameManager::sharedState()->m_editorEnabled
&& !a1->m_hasNoEffects )
{
RingObject::spawnCircle(a1);
}
}