//
// SecretLayer3::firstInteractionStep2 from 0x4eb498 to 0x4eb662 (458 bytes)
//
// 0 xrefs:
//
// 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 SecretLayer3::firstInteractionStep2(SecretLayer3 *a1)
{
cocos2d::CCArray *v2; // r8
cocos2d::CCObject *v3; // r0
cocos2d::CCObject *v4; // r0
cocos2d::CCObject *v5; // r0
cocos2d::CCObject *v6; // r0
DialogLayer *v7; // r4
int v8; // [sp+4h] [bp-8h]
int v9; // [sp+4h] [bp-8h]
int v10; // [sp+4h] [bp-8h]
int v11; // [sp+4h] [bp-8h]
char v12; // [sp+14h] [bp+8h] BYREF
_BYTE v13[4]; // [sp+18h] [bp+Ch] BYREF
v2 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);
sub_776584((int)&v12, "...");
sub_776584((int)v13, "Well, well, well.\nWhat do we have here?");
LOWORD(v8) = -1;
BYTE2(v8) = -1;
v3 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v12,
(std::string)v13,
(std::string)15,
1065353216,
0.0,
v8);
cocos2d::CCArray::addObject(v2, v3);
sub_774008(v13);
sub_774008(&v12);
sub_776584((int)&v12, "...");
sub_776584((int)v13, "You look like someone who is interested in a deal...");
LOWORD(v9) = -1;
BYTE2(v9) = -1;
v4 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v12,
(std::string)v13,
(std::string)15,
1065353216,
0.0,
v9);
cocos2d::CCArray::addObject(v2, v4);
sub_774008(v13);
sub_774008(&v12);
sub_776584((int)&v12, "...");
sub_776584((int)v13, "Help me get out of here, and I will make it worth your while.");
LOWORD(v10) = -1;
BYTE2(v10) = -1;
v5 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v12,
(std::string)v13,
(std::string)15,
1065353216,
0.0,
v10);
cocos2d::CCArray::addObject(v2, v5);
sub_774008(v13);
sub_774008(&v12);
sub_776584((int)&v12, "...");
sub_776584((int)v13, "See those locks over there?\nYou need to unlock them.");
LOWORD(v11) = -1;
BYTE2(v11) = -1;
v6 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v12,
(std::string)v13,
(std::string)15,
1065353216,
0.0,
v11);
cocos2d::CCArray::addObject(v2, v6);
sub_774008(v13);
sub_774008(&v12);
v7 = DialogLayer::createWithObjects(v2, (int)byte_4);
a1->addChild_0(a1, v7, 100);
v7->m_delegate = &a1->DialogDelegate;
v7->setTag(v7, 1);
DialogLayer::updateChatPlacement(v7, Top);
DialogLayer::animateIn(v7, FromCenter);
SecretLayer3::animateEyes(a1);
}