//
// EndLevelLayer::onHideLayer from 0x533f3c to 0x533fc4 (136 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:52:06 +0000
//
int __fastcall EndLevelLayer::onHideLayer(EndLevelLayer *this, cocos2d::CCObject *a2)
{
const cocos2d::CCPoint *v3; // r2
char *v4; // r1
cocos2d::CCEaseInOut *v5; // r0
float v6; // r2
cocos2d::CCAction *v7; // r5
unsigned __int8 v8; // r2
float v9; // r1
cocos2d::CCAction *v10; // r5
*((_BYTE *)this + 541) ^= 1u;
cocos2d::CCNode::stopActionByTag(*((cocos2d::CCNode **)this + 116), 12341);
cocos2d::CCNode::stopActionByTag(this, 12341);
if ( *((_BYTE *)this + 541) )
v4 = (char *)this + 448;
else
v4 = (char *)this + 440;
v5 = (cocos2d::CCEaseInOut *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)0x3F800000, *(float *)&v4, v3);
v7 = (cocos2d::CCAction *)cocos2d::CCEaseInOut::create(v5, (cocos2d::CCActionInterval *)0x40000000, v6);
(*(void (__fastcall **)(cocos2d::CCAction *, int))(*(_DWORD *)v7 + 36))(v7, 12341);
cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 116), v7);
if ( *((_BYTE *)this + 541) )
v9 = 0.0;
else
LODWORD(v9) = 100;
v10 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3F800000, v9, v8);
(*(void (__fastcall **)(cocos2d::CCAction *, int))(*(_DWORD *)v10 + 36))(v10, 12341);
return cocos2d::CCNode::runAction(this, v10);
}