//
// SecretLayer3::revealStep4 from 0x4eae70 to 0x4eb144 (724 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::revealStep4(SecretLayer3 *a1)
{
cocos2d::CCArray *v1; // r9
cocos2d::CCObject *v2; // r0
cocos2d::CCObject *v3; // r0
cocos2d::CCString *v4; // r0
char *CString; // r0
cocos2d::CCObject *v6; // r0
cocos2d::CCObject *v7; // r0
cocos2d::CCObject *v8; // r0
cocos2d::CCObject *v9; // r0
DialogLayer *v10; // r10
int v11; // [sp+4h] [bp-28h]
int v12; // [sp+4h] [bp-28h]
int v13; // [sp+4h] [bp-28h]
int v14; // [sp+4h] [bp-28h]
int v15; // [sp+4h] [bp-28h]
int v16; // [sp+4h] [bp-28h]
char *v18; // [sp+18h] [bp-14h] BYREF
int v19; // [sp+1Ch] [bp-10h] BYREF
_BYTE v20[4]; // [sp+20h] [bp-Ch] BYREF
char v21; // [sp+24h] [bp-8h] BYREF
_BYTE v22[4]; // [sp+28h] [bp-4h] BYREF
int v23; // [sp+2Ch] [bp+0h] BYREF
_BYTE v24[4]; // [sp+30h] [bp+4h] BYREF
char v25; // [sp+34h] [bp+8h] BYREF
char *v26; // [sp+38h] [bp+Ch] BYREF
v1 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1);
sub_776584((int)&v25, "...");
sub_776584((int)&v26, "RubRub told me he was cooking some chicken. Then he locked me in.");
LOWORD(v11) = -1;
BYTE2(v11) = -1;
v2 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v25,
(std::string)&v26,
(std::string)16,
1061997773,
0.0,
v11);
cocos2d::CCArray::addObject(v1, v2);
sub_774008(&v26);
sub_774008(&v25);
sub_776584((int)&v25, "...");
sub_776584((int)&v26, "Now that you have freed me, I can continue my master plan.");
LOWORD(v12) = -1;
BYTE2(v12) = -1;
v3 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v25,
(std::string)&v26,
(std::string)16,
1065353216,
0.0,
v12);
cocos2d::CCArray::addObject(v1, v3);
sub_774008(&v26);
sub_774008(&v25);
GameManager::sharedState();
sub_775C20(&v26);
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"DESTROY the world of Geometry Dash! And I could"
"n't have done it without you %s.",
v26);
CString = (char *)cocos2d::CCString::getCString(v4);
sub_776584((int)&v18, CString);
sub_774008(&v26);
sub_776584((int)&v19, "...");
sub_776584((int)v20, v18);
LOWORD(v13) = -1;
BYTE2(v13) = -1;
v6 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v19,
(std::string)v20,
(std::string)16,
1061997773,
0.0,
v13);
cocos2d::CCArray::addObject(v1, v6);
sub_774008(v20);
sub_774008(&v19);
sub_776584((int)&v21, "...");
sub_776584((int)v22, "But I almost forgot, I left you a small gift. As a token of my appreciation.");
LOWORD(v14) = -1;
BYTE2(v14) = -1;
v7 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v21,
(std::string)v22,
(std::string)16,
1061997773,
0.0,
v14);
cocos2d::CCArray::addObject(v1, v7);
sub_774008(v22);
sub_774008(&v21);
sub_776584((int)&v23, "...");
sub_776584((int)v24, "You should prepare yourself for when I return.");
LOWORD(v15) = -1;
BYTE2(v15) = -1;
v8 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v23,
(std::string)v24,
(std::string)16,
1065353216,
0.0,
v15);
cocos2d::CCArray::addObject(v1, v8);
sub_774008(v24);
sub_774008(&v23);
sub_776584((int)&v25, "...");
sub_776584((int)&v26, "You will need it...");
LOWORD(v16) = -1;
BYTE2(v16) = -1;
v9 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v25,
(std::string)&v26,
(std::string)16,
1065353216,
0.0,
v16);
cocos2d::CCArray::addObject(v1, v9);
sub_774008(&v26);
sub_774008(&v25);
v10 = DialogLayer::createWithObjects(v1, (int)byte_4);
a1->addChild_0(a1, v10, 100);
v10->m_delegate = &a1->DialogDelegate;
v10->setTag(v10, 4);
DialogLayer::updateChatPlacement(v10, Top);
DialogLayer::animateIn(v10, FromCenter);
sub_774008(&v18);
}