//
// EndPortalObject::setVisible from 0x1003fec64 to 0x1003fecc8 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x100816070
//
// 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 __fastcall EndPortalObject::setVisible(EndPortalObject *a1, bool a2)
{
_BOOL4 v2; // w21
char v4; // w20
v2 = a2;
v4 = ((__int64 (__fastcall *)(EndPortalObject *))a1->isVisible)(a1);
GameObject::setVisible(a1, v2);
if ( v2 && (v4 & 1) == 0 )
EndPortalObject::updateEndPos(a1, 1);
}