//
// RetryLevelLayer::showLayer from 0x546f78 to 0x547024 (172 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:24 +0000
//
int __fastcall RetryLevelLayer::showLayer(cocos2d::CCNode **this, int a2)
{
int *v4; // r0
int v5; // r3
float v7; // r2
cocos2d::CCEaseElasticOut *v8; // r0
float v9; // r2
cocos2d::CCSequence *v10; // r6
cocos2d::CCFiniteTimeAction *v11; // r0
int v12; // r3
cocos2d::CCAction *v13; // r0
unsigned __int8 v14; // r2
cocos2d::CCAction *v15; // r1
cocos2d::CCNode::stopAllActions(*(this + 116));
(*((void (__fastcall **)(cocos2d::CCNode **))*this + 168))(this);
v4 = (int *)*(this + 116);
v5 = *v4;
if ( a2 )
{
(*(void (__fastcall **)(int *, char *))(v5 + 92))(v4, (char *)this + 440);
(*((void (__fastcall **)(cocos2d::CCNode **, int))*this + 146))(this, 100);
return (*((int (__fastcall **)(cocos2d::CCNode **))*this + 170))(this);
}
else
{
(*(void (__fastcall **)(int *, int))(v5 + 80))(v4, 1036831949);
v8 = (cocos2d::CCEaseElasticOut *)cocos2d::CCScaleTo::create((cocos2d::CCScaleTo *)0x3F000000, 1.0, v7);
v10 = (cocos2d::CCSequence *)cocos2d::CCEaseElasticOut::create(v8, (cocos2d::CCActionInterval *)0x3F19999A, v9);
v11 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, 680, 1);
v13 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v10, v11, 0, v12, 680, 1);
cocos2d::CCNode::runAction(*(this + 116), v13);
(*((void (__fastcall **)(cocos2d::CCNode **, _DWORD))*this + 146))(this, 0);
v15 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3F000000, COERCE_FLOAT(100), v14);
return cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v15);
}
}