//
// EndPortalObject::setVisible from 0x3ff070 to 0x3ff09a (42 bytes)
//
// 0 xrefs:
//
// 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 EndPortalObject::setVisible(EndPortalObject *a1, bool a2)
{
_BOOL4 v2; // r5
int v4; // r6
v2 = a2;
v4 = ((int (__fastcall *)(EndPortalObject *))a1->isVisible)(a1);
GameObject::setVisible(a1, v2);
if ( v2 && !v4 )
EndPortalObject::updateEndPos(a1, 1);
}