//
// SecretLayer3::revealStep1 from 0x140583680 to 0x140583866 (486 bytes)
//
// 2 xrefs:
// > SecretLayer3::onClick @ 0x140583053
// > ??> @ 0x14092c9c0
//
// 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 11:34:27 +0000
//
struct cocos2d::CCAction *__fastcall SecretLayer3::revealStep1(__int64 a1)
{
__int64 v1; // r13
const struct cocos2d::CCPoint *v3; // rax
struct cocos2d::CCFiniteTimeAction *v4; // r15
const struct cocos2d::CCPoint *v5; // rax
struct cocos2d::CCMoveBy *v6; // r14
const struct cocos2d::CCPoint *v7; // rax
struct cocos2d::CCMoveBy *v8; // rbp
const struct cocos2d::CCPoint *v9; // rax
struct cocos2d::CCMoveBy *v10; // rsi
const struct cocos2d::CCPoint *v11; // rax
struct cocos2d::CCMoveBy *v12; // rdi
const struct cocos2d::CCPoint *v13; // rax
struct cocos2d::CCMoveBy *v14; // rbx
const struct cocos2d::CCPoint *v15; // rax
struct cocos2d::CCActionInterval *v16; // rax
struct cocos2d::CCEaseElasticIn *v17; // rax
struct cocos2d::CCAction *v18; // rax
__int64 v19; // rbx
struct cocos2d::CCFiniteTimeAction *v20; // rax
struct cocos2d::CCAction *v21; // rax
_BYTE v23[8]; // [rsp+40h] [rbp-78h] BYREF
_BYTE v24[8]; // [rsp+48h] [rbp-70h] BYREF
_BYTE v25[16]; // [rsp+50h] [rbp-68h] BYREF
char v26; // [rsp+C0h] [rbp+8h] BYREF
char v27; // [rsp+C8h] [rbp+10h] BYREF
char v28; // [rsp+D0h] [rbp+18h] BYREF
char v29; // [rsp+D8h] [rbp+20h] BYREF
v1 = *(_QWORD *)(a1 + 416);
*(_BYTE *)(a1 + 424) = 1;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v26, -1.5, 0.0);
v4 = cocos2d::CCMoveBy::create(0.079999998, v3);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v27, 1.5, 0.0);
v6 = cocos2d::CCMoveBy::create(0.079999998, v5);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, -1.5, 0.0);
v8 = cocos2d::CCMoveBy::create(0.079999998, v7);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v29, 1.5, 0.0);
v10 = cocos2d::CCMoveBy::create(0.079999998, v9);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v23, -1.5, 0.0);
v12 = cocos2d::CCMoveBy::create(0.079999998, v11);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, 1.5, 0.0);
v14 = cocos2d::CCMoveBy::create(0.079999998, v13);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v25, 0.0, -130.0);
v16 = cocos2d::CCMoveBy::create(2.5, v15);
v17 = cocos2d::CCEaseElasticIn::create(v16, 1.6);
v18 = cocos2d::CCSequence::create(v4, v6, v8, v10, v12, v14, v17, 0);
cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(v1 + 320), v18);
v19 = cocos2d::CCCallFunc::create(a1, SecretLayer3::revealStep2);
v20 = cocos2d::CCDelayTime::create(4.0);
v21 = cocos2d::CCSequence::create(v20, v19, 0);
return cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v21);
}