//
// SecretLayer3::firstInteractionStep2 from 0x10030fea0 to 0x1003100d0 (560 bytes)
//
// 1 xrefs:
// > SecretLayer3::firstInteractionStep1 @ 0x10030fe68
//
// 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::firstInteractionStep2(SecretLayer3 *a1)
{
cocos2d::CCArray *v2; // x20
DialogLayer *v3; // x20
void *v4[2]; // [xsp+0h] [xbp-D0h] BYREF
char v5; // [xsp+17h] [xbp-B9h]
void *v6[2]; // [xsp+18h] [xbp-B8h] BYREF
char v7; // [xsp+2Fh] [xbp-A1h]
void *v8[2]; // [xsp+30h] [xbp-A0h] BYREF
char v9; // [xsp+47h] [xbp-89h]
void *v10[2]; // [xsp+48h] [xbp-88h] BYREF
char v11; // [xsp+5Fh] [xbp-71h]
void *__p[2]; // [xsp+60h] [xbp-70h] BYREF
char v13; // [xsp+77h] [xbp-59h]
void *v14[2]; // [xsp+78h] [xbp-58h] BYREF
char v15; // [xsp+8Fh] [xbp-41h]
void *v16[2]; // [xsp+90h] [xbp-40h] BYREF
char v17; // [xsp+A7h] [xbp-29h]
void *v18[2]; // [xsp+A8h] [xbp-28h] BYREF
char v19; // [xsp+BFh] [xbp-11h]
v2 = (cocos2d::CCArray *)sub_10024A15C();
sub_100009900(v18, "...");
sub_100009900(v16, "Well, well, well.\nWhat do we have here?");
DialogObject::create((__int64)v18, (__int64)v16, 15, 0, 0xFFFFFF, 1.0);
sub_10024A2D0((__int64)v2);
if ( v17 < 0 )
operator delete(v16[0]);
if ( v19 < 0 )
operator delete(v18[0]);
sub_100009900(v14, "...");
sub_100009900(__p, "You look like someone who is interested in a deal...");
DialogObject::create((__int64)v14, (__int64)__p, 15, 0, 0xFFFFFF, 1.0);
sub_10024A2D0((__int64)v2);
if ( v13 < 0 )
operator delete(__p[0]);
if ( v15 < 0 )
operator delete(v14[0]);
sub_100009900(v10, "...");
sub_100009900(v8, "Help me get out of here, and I will make it worth your while.");
DialogObject::create((__int64)v10, (__int64)v8, 15, 0, 0xFFFFFF, 1.0);
sub_10024A2D0((__int64)v2);
if ( v9 < 0 )
operator delete(v8[0]);
if ( v11 < 0 )
operator delete(v10[0]);
sub_100009900(v6, "...");
sub_100009900(v4, "See those locks over there?\nYou need to unlock them.");
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, 1);
DialogLayer::updateChatPlacement(v3, Top);
DialogLayer::animateIn(v3, FromCenter);
SecretLayer3::animateEyes(a1);
}