// // EndLevelLayer::onHideLayer from 0x1004c2290 to 0x1004c234c (188 bytes) // // 1 xrefs: // > EndLevelLayer::customSetup @ 0x1004c12c7 // // 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) { cocos2d::CCMoveTo *v3; // rax cocos2d::CCEaseInOut *v4; // r14 unsigned __int8 v5; // di cocos2d::CCFadeTo *v6; // r14 a1->m_hidden ^= 1u; cocos2d::CCNode::stopActionByTag(a1->m_mainLayer, 12341); cocos2d::CCNode::stopActionByTag(a1, 12341); v3 = cocos2d::CCMoveTo::create(1.0, (const cocos2d::CCPoint *)&a1->m_endPosition + a1->m_hidden); v4 = cocos2d::CCEaseInOut::create(v3, 2.0); ((void (__fastcall *)(cocos2d::CCEaseInOut *, __int64))v4->setTag)(v4, 12341); cocos2d::CCNode::runAction(a1->m_mainLayer, v4); v5 = 100; if ( a1->m_hidden ) v5 = 0; v6 = cocos2d::CCFadeTo::create(1.0, v5); ((void (__fastcall *)(cocos2d::CCFadeTo *, __int64))v6->setTag)(v6, 12341); cocos2d::CCNode::runAction(a1, v6); }