//
// SecretLayer3::revealStep2 from 0x61cb98 to 0x61cd30 (408 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:55:00 +0000
//
unsigned int __fastcall SecretLayer3::revealStep2(SecretLayer3 *this)
{
cocos2d::CCArray *v2; // r10
cocos2d::CCObject *v3; // r0
cocos2d::CCObject *v4; // r0
cocos2d::CCObject *v5; // r0
int v6; // r2
cocos2d::CCDirector *v7; // r6
int v9; // [sp+4h] [bp-24h]
int v10; // [sp+4h] [bp-24h]
int v11; // [sp+4h] [bp-24h]
int v12; // [sp+Ch] [bp-1Ch] BYREF
int v13; // [sp+10h] [bp-18h]
int v14; // [sp+14h] [bp-14h]
int v15; // [sp+18h] [bp-10h] BYREF
int v16; // [sp+1Ch] [bp-Ch]
int v17; // [sp+20h] [bp-8h]
v12 = 0;
v13 = 0;
v14 = 0;
v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(this);
std::string::__init(&v12, "...", 3u);
v15 = 0;
v16 = 0;
v17 = 0;
std::string::__init(&v15, "I... I am free...?", 0x37u);
LOWORD(v9) = -1;
BYTE2(v9) = -1;
v3 = (cocos2d::CCObject *)DialogObject::create((int)&v12, (int)&v15, 15, 1065353216, 0, v9);
cocos2d::CCArray::addObject(v2, v3);
std::string::~string((int)&v15);
std::string::~string((int)&v12);
v12 = 0;
v13 = 0;
v14 = 0;
std::string::__init(&v12, "...", 3u);
v15 = 0;
v16 = 0;
v17 = 0;
std::string::__init(&v15, "So many years lost. Locked away in that filthy cage...", 0x44u);
LOWORD(v10) = -1;
BYTE2(v10) = -1;
v4 = (cocos2d::CCObject *)DialogObject::create((int)&v12, (int)&v15, 15, 1065353216, 0, v10);
cocos2d::CCArray::addObject(v2, v4);
std::string::~string((int)&v15);
std::string::~string((int)&v12);
v12 = 0;
v13 = 0;
v14 = 0;
std::string::__init(&v12, "...", 3u);
v15 = 0;
v16 = 0;
v17 = 0;
std::string::__init(&v15, "Now that I have my freedom,\nI must continue where I left off.", 0x4Bu);
LOWORD(v11) = -1;
BYTE2(v11) = -1;
v5 = (cocos2d::CCObject *)DialogObject::create((int)&v12, (int)&v15, 15, 1065353216, 0, v11);
cocos2d::CCArray::addObject(v2, v5);
std::string::~string((int)&v15);
std::string::~string((int)&v12);
v7 = DialogLayer::createWithObjects(v2, (cocos2d::CCArray *)byte_4, v6);
(*(void (__fastcall **)(SecretLayer3 *, cocos2d::CCDirector *, int))(*(_DWORD *)this + 232))(this, v7, 100);
*((_DWORD *)v7 + 122) = (char *)this + 316;
(*(void (__fastcall **)(cocos2d::CCDirector *, int))(*(_DWORD *)v7 + 36))(v7, 3);
DialogLayer::updateChatPlacement(v7, 1);
return DialogLayer::animateIn(v7, 1u);
}