//
// EndPortalObject::setVisible from 0x78aa0c to 0x78aa70 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x67008
// > ??> @ 0x1176fb8
//
// 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)
{
unsigned int v2; // w20
unsigned int v4; // w21
v2 = a2;
v4 = a1->isVisible(a1);
GameObject::setVisible(a1, v2);
if ( v4 < v2 )
EndPortalObject::updateEndPos(a1, 1);
}