//
// RetryLevelLayer::showLayer from 0x9184d8 to 0x9185e0 (264 bytes)
//
// 2 xrefs:
// > ??> @ 0xd0ea0
// > ??> @ 0x1469a10
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:57:20 +0000
//
__int64 __fastcall RetryLevelLayer::showLayer(cocos2d::CCNode **this, unsigned __int8 a2)
{
int v3; // w20
cocos2d::CCScaleTo *v4; // x0
cocos2d::CCEaseElasticOut *v5; // x0
cocos2d::CCActionInterval *v6; // x1
cocos2d::CCSequence *v7; // x20
cocos2d::CCFiniteTimeAction *v8; // x0
cocos2d::CCAction *v9; // x0
unsigned __int8 v10; // w1
cocos2d::CCAction *v11; // x0
v3 = a2;
cocos2d::CCNode::stopAllActions(*(this + 72));
(*((void (__fastcall **)(cocos2d::CCNode **))*this + 168))(this);
if ( v3 )
{
(*(void (__fastcall **)(_QWORD, char *))(*(_QWORD *)*(this + 72) + 184LL))(*(this + 72), (char *)this + 544);
(*((void (__fastcall **)(cocos2d::CCNode **, __int64))*this + 146))(this, 100);
return (*((__int64 (__fastcall **)(cocos2d::CCNode **))*this + 170))(this);
}
else
{
v4 = (cocos2d::CCScaleTo *)(*(__int64 (__fastcall **)(_QWORD, float))(*(_QWORD *)*(this + 72) + 160LL))(
*(this + 72),
0.1);
v5 = (cocos2d::CCEaseElasticOut *)cocos2d::CCScaleTo::create(v4, 0.5, 1.0);
v7 = (cocos2d::CCSequence *)cocos2d::CCEaseElasticOut::create(v5, v6, 0.6);
v8 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, 1360, 1);
v9 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v7, v8, 0);
cocos2d::CCNode::runAction(*(this + 72), v9);
(*((void (__fastcall **)(cocos2d::CCNode **, _QWORD))*this + 146))(this, 0);
v11 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)((char *)&qword_60 + 4), 0.5, v10);
return cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v11);
}
}