//
// EndPortalObject::setVisible from 0x10039ca20 to 0x10039ca73 (83 bytes)
//
// 1 xrefs:
// > ??> @ 0x100923480
//
// 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)
{
char v2; // r14
v2 = ((__int64 (__fastcall *)(EndPortalObject *))a1->isVisible)(a1);
GameObject::setVisible(a1, a2);
if ( a2 && !v2 )
EndPortalObject::updateEndPos(a1, 1);
}