//
// SecretLayer3::revealStep2 from 0x100310ac8 to 0x100310c88 (448 bytes)
//
// 1 xrefs:
// > SecretLayer3::revealStep1 @ 0x10031060c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SecretLayer3::revealStep2(SecretLayer3 *a1)
{
cocos2d::CCArray *v2; // x20
DialogLayer *v3; // x20
void *v4[2]; // [xsp+0h] [xbp-A0h] BYREF
char v5; // [xsp+17h] [xbp-89h]
void *v6[2]; // [xsp+18h] [xbp-88h] BYREF
char v7; // [xsp+2Fh] [xbp-71h]
void *__p[2]; // [xsp+30h] [xbp-70h] BYREF
char v9; // [xsp+47h] [xbp-59h]
void *v10[2]; // [xsp+48h] [xbp-58h] BYREF
char v11; // [xsp+5Fh] [xbp-41h]
void *v12[2]; // [xsp+60h] [xbp-40h] BYREF
char v13; // [xsp+77h] [xbp-29h]
void *v14[2]; // [xsp+78h] [xbp-28h] BYREF
char v15; // [xsp+8Fh] [xbp-11h]
v2 = (cocos2d::CCArray *)sub_10024A15C();
sub_100009900(v14, "...");
sub_100009900(v12, "I... I am free...?");
DialogObject::create((__int64)v14, (__int64)v12, 15, 0, 0xFFFFFF, 1.0);
sub_10024A2D0((__int64)v2);
if ( v13 < 0 )
operator delete(v12[0]);
if ( v15 < 0 )
operator delete(v14[0]);
sub_100009900(v10, "...");
sub_100009900(__p, "So many years lost. Locked away in that filthy cage...");
DialogObject::create((__int64)v10, (__int64)__p, 15, 0, 0xFFFFFF, 1.0);
sub_10024A2D0((__int64)v2);
if ( v9 < 0 )
operator delete(__p[0]);
if ( v11 < 0 )
operator delete(v10[0]);
sub_100009900(v6, "...");
sub_100009900(v4, "Now that I have my freedom,\nI must continue where I left off.");
DialogObject::create((__int64)v6, (__int64)v4, 15, 0, 0xFFFFFF, 1.0);
sub_10024A2D0((__int64)v2);
if ( v5 < 0 )
operator delete(v4[0]);
if ( v7 < 0 )
operator delete(v6[0]);
v3 = DialogLayer::createWithObjects(v2, 4);
((void (__fastcall *)(SecretLayer3 *, DialogLayer *, __int64))a1->addChild_0)(a1, v3, 100);
v3->m_delegate = &a1->DialogDelegate;
((void (__fastcall *)(DialogLayer *, __int64))v3->setTag)(v3, 3);
DialogLayer::updateChatPlacement(v3, Top);
DialogLayer::animateIn(v3, FromCenter);
}