//
// EnhancedGameObject::restoreObject from 0x1401a49e0 to 0x1401a4a15 (53 bytes)
//
// 5 xrefs:
// > ??> @ 0x14055e718
// > ??> @ 0x14060d940
// > ??> @ 0x140610618
// > ??> @ 0x140617408
// > ??> @ 0x1406cc060
//
// 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 EnhancedGameObject::restoreObject(EnhancedGameObject *a1)
{
GLubyte v2; // dl
a1->m_isDisabled = 0;
a1->m_isDisabled2 = 0;
v2 = -1;
a1->setOpacity(&a1->cocos2d::CCRGBAProtocol, v2);
*(_WORD *)&a1->m_activatedByPlayer1 = 0;
}