//
// EndLevelLayer::onHideLayer from 0x1002f7658 to 0x1002f7714 (188 bytes)
//
// 1 xrefs:
// > EndLevelLayer::customSetup @ 0x1002f67d0
//
// 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 EndLevelLayer::onHideLayer(EndLevelLayer *a1, cocos2d::CCObject *a2)
{
__int64 v3; // x8
cocos2d::CCMoveTo *v4; // x0
cocos2d::CCEaseInOut *v5; // x20
unsigned __int8 v6; // w0
cocos2d::CCFadeTo *v7; // x20
a1->m_hidden ^= 1u;
cocos2d::CCNode::stopActionByTag(a1->m_mainLayer, 12341);
cocos2d::CCNode::stopActionByTag(a1, 12341);
v3 = 544;
if ( a1->m_hidden )
v3 = 552;
v4 = cocos2d::CCMoveTo::create(1.0, (const cocos2d::CCPoint *)((char *)a1 + v3));
v5 = cocos2d::CCEaseInOut::create(v4, 2.0);
((void (__fastcall *)(cocos2d::CCEaseInOut *, __int64))v5->setTag)(v5, 12341);
cocos2d::CCNode::runAction(a1->m_mainLayer, v5);
if ( a1->m_hidden )
v6 = 0;
else
v6 = 100;
v7 = cocos2d::CCFadeTo::create(1.0, v6);
((void (__fastcall *)(cocos2d::CCFadeTo *, __int64))v7->setTag)(v7, 12341);
cocos2d::CCNode::runAction(a1, v7);
}