//
// RetryLevelLayer::showLayer from 0x1004f8030 to 0x1004f8127 (247 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b63ad0
//
// This function is hookable on this platform (idp: pc, 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:31:27 +0000
//
__int64 __fastcall RetryLevelLayer::showLayer(__int64 *a1, int a2)
{
__int64 v3; // rdi
_OWORD *v5; // rax
__int64 v6; // r14
__int64 v7; // rax
__int64 v8; // rax
_OWORD *v9; // rax
cocos2d::CCNode::stopAllActions(a1[72]);
(*(void (__fastcall **)(__int64 *))(*a1 + 1344))(a1);
v3 = a1[72];
if ( a2 )
{
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v3 + 184LL))(v3, a1 + 68);
(*(void (__fastcall **)(__int64 *, __int64))(*a1 + 1168))(a1, 100);
return (*(__int64 (__fastcall **)(__int64 *))(*a1 + 1360))(a1);
}
else
{
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v3 + 160LL))(v3, 0.1);
v5 = cocos2d::CCScaleTo::create_1((__m128)0x3F000000u, 1.0);
v6 = cocos2d::CCEaseElasticOut::create(v5, 0.60000002);
v7 = cocos2d::CCCallFunc::create(a1, 1361, 0);
v8 = sub_10039EB60(v6, v7, 0);
cocos2d::CCNode::runAction(a1[72], v8);
(*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 1168))(a1, 0);
v9 = cocos2d::CCFadeTo::create(100, (__m128)0x3F000000u);
return cocos2d::CCNode::runAction((__int64)a1, (__int64)v9);
}
}