//
// SlideInLayer::showLayer from 0x10027a140 to 0x10027a225 (229 bytes)
//
// 1 xrefs:
// > ??> @ 0x100afcc18
//
// 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:27:41 +0000
//
__int64 __fastcall SlideInLayer::showLayer(__int64 *a1, int a2)
{
__int64 v3; // rax
int v4; // r14d
int v5; // eax
int v6; // ecx
int v7; // r8d
int v8; // r9d
__int64 v9; // rax
__int64 v10; // rax
cocos2d::CCNode::stopAllActions(a1[68]);
(*(void (__fastcall **)(__int64 *))(*a1 + 1344))(a1);
if ( a2 )
{
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)a1[68] + 184LL))(a1[68], a1 + 72);
(*(void (__fastcall **)(__int64 *, __int64))(*a1 + 1168))(a1, 125);
return (*(__int64 (__fastcall **)(__int64 *))(*a1 + 1360))(a1);
}
else
{
v3 = cocos2d::CCMoveTo::create(a1 + 72, 0.5);
v4 = cocos2d::CCEaseInOut::create(v3, 2.0);
v5 = cocos2d::CCCallFunc::create(a1, 1361, 0);
v9 = sub_10039EB60(v4, v5, 0, v6, v7, v8);
cocos2d::CCNode::runAction(a1[68], v9);
(*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 1168))(a1, 0);
v10 = cocos2d::CCFadeTo::create(125, 0.5);
return cocos2d::CCNode::runAction((__int64)a1, v10);
}
}