//
// EndPortalObject::setVisible from 0x8b5448 to 0x8b54ac (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x8bc48
// > ??> @ 0x1459028
//
// 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:56:24 +0000
//
__int64 __fastcall EndPortalObject::setVisible(cocos2d::CCParticleSystem **this, unsigned __int8 a2)
{
unsigned int v2; // w20
unsigned int v4; // w21
__int64 result; // x0
v2 = a2;
v4 = (*((unsigned __int8 (__fastcall **)(cocos2d::CCParticleSystem **))*this + 44))(this);
result = GameObject::setVisible(this, v2);
if ( v4 < v2 )
return EndPortalObject::updateEndPos((EndPortalObject *)this, 1u);
return result;
}