//
// RingObject::powerOnObject from 0x4e7d9c to 0x4e7dd0 (52 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:51:06 +0000
//
GameManager *__fastcall RingObject::powerOnObject(RingObject *this, int a2, int a3, bool a4)
{
int v5; // r5
GameManager *result; // r0
int v7; // r1
int v8; // r2
v5 = *((unsigned __int8 *)this + 644);
result = (GameManager *)EnhancedGameObject::powerOnObject((int)this, a2);
if ( !v5 )
{
result = (GameManager *)GameManager::sharedState(result);
if ( !*((_BYTE *)result + 725) )
{
result = (GameManager *)GameManager::sharedState(result);
if ( !*((_BYTE *)result + 506) && !*((_BYTE *)this + 908) )
return (GameManager *)RingObject::spawnCircle(this, v7, v8, a4);
}
}
return result;
}