//
// SecretLayer3::firstInteractionStep4 from 0x61be30 to 0x61c024 (500 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::firstInteractionStep4(SecretLayer3 *this)
{
cocos2d::CCArray *v2; // r10
cocos2d::CCObject *v3; // r0
cocos2d::CCObject *v4; // r0
cocos2d::CCObject *v5; // r0
cocos2d::CCObject *v6; // r0
int v7; // r2
cocos2d::CCDirector *v8; // r6
int v10; // [sp+4h] [bp-24h]
int v11; // [sp+4h] [bp-24h]
int v12; // [sp+4h] [bp-24h]
int v13; // [sp+4h] [bp-24h]
int v14; // [sp+Ch] [bp-1Ch] BYREF
int v15; // [sp+10h] [bp-18h]
int v16; // [sp+14h] [bp-14h]
int v17; // [sp+18h] [bp-10h] BYREF
int v18; // [sp+1Ch] [bp-Ch]
int v19; // [sp+20h] [bp-8h]
v14 = 0;
v15 = 0;
v16 = 0;
v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(this);
std::string::__init(&v14, "...", 3u);
v17 = 0;
v18 = 0;
v19 = 0;
std::string::__init(&v17, "RubRub locked me in here, for no reason.", 0x30u);
LOWORD(v10) = -1;
BYTE2(v10) = -1;
v3 = (cocos2d::CCObject *)DialogObject::create((int)&v14, (int)&v17, 15, 1065353216, 0, v10);
cocos2d::CCArray::addObject(v2, v3);
std::string::~string((int)&v17);
std::string::~string((int)&v14);
v14 = 0;
v15 = 0;
v16 = 0;
std::string::__init(&v14, "...", 3u);
v17 = 0;
v18 = 0;
v19 = 0;
std::string::__init(&v17, "He said there would be chicken.", 0x1Fu);
LOWORD(v11) = -1;
BYTE2(v11) = -1;
v4 = (cocos2d::CCObject *)DialogObject::create((int)&v14, (int)&v17, 15, 1065353216, 0, v11);
cocos2d::CCArray::addObject(v2, v4);
std::string::~string((int)&v17);
std::string::~string((int)&v14);
v14 = 0;
v15 = 0;
v16 = 0;
std::string::__init(&v14, "...", 3u);
v17 = 0;
v18 = 0;
v19 = 0;
std::string::__init(&v17, "There was no chicken...", 0x1Fu);
LOWORD(v12) = -1;
BYTE2(v12) = -1;
v5 = (cocos2d::CCObject *)DialogObject::create((int)&v14, (int)&v17, 15, 1065353216, 0, v12);
cocos2d::CCArray::addObject(v2, v5);
std::string::~string((int)&v17);
std::string::~string((int)&v14);
v14 = 0;
v15 = 0;
v16 = 0;
std::string::__init(&v14, "...", 3u);
v17 = 0;
v18 = 0;
v19 = 0;
std::string::__init(&v17, "I cannot stay here any longer.\nYou must find a way to release me.", 0x4Fu);
LOWORD(v13) = -1;
BYTE2(v13) = -1;
v6 = (cocos2d::CCObject *)DialogObject::create((int)&v14, (int)&v17, 15, 1063675494, 0, v13);
cocos2d::CCArray::addObject(v2, v6);
std::string::~string((int)&v17);
std::string::~string((int)&v14);
v8 = DialogLayer::createWithObjects(v2, (cocos2d::CCArray *)byte_4, v7);
(*(void (__fastcall **)(SecretLayer3 *, cocos2d::CCDirector *, int))(*(_DWORD *)this + 232))(this, v8, 100);
*((_DWORD *)v8 + 122) = (char *)this + 316;
(*(void (__fastcall **)(cocos2d::CCDirector *, int))(*(_DWORD *)v8 + 36))(v8, 2);
DialogLayer::updateChatPlacement(v8, 1);
return DialogLayer::animateIn(v8, 1u);
}