//
// RingObject::powerOnObject from 0x87275c to 0x8727b4 (88 bytes)
//
// 4 xrefs:
// > ??> @ 0xcc628
// > ??> @ 0x1448b70
// > ??> @ 0x1449380
// > ??> @ 0x144c420
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:55:46 +0000
//
__int64 __fastcall RingObject::powerOnObject(RingObject *this, int a2)
{
int v3; // w20
__int64 result; // x0
v3 = *((unsigned __int8 *)this + 760);
result = EnhancedGameObject::powerOnObject((__int64)this, a2);
if ( !v3 )
{
result = *(unsigned __int8 *)(GameManager::sharedState((GameManager *)result) + 925);
if ( !(_DWORD)result )
{
result = *(unsigned __int8 *)(GameManager::sharedState((GameManager *)result) + 706);
if ( !(_DWORD)result )
{
result = *((unsigned __int8 *)this + 1044);
if ( !*((_BYTE *)this + 1044) )
return RingObject::spawnCircle(this);
}
}
}
return result;
}