//
// LevelAreaInnerLayer::showFloor1CompleteDialog from 0x6a3e14 to 0x6a406e (602 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:56:29 +0000
//
unsigned int __fastcall LevelAreaInnerLayer::showFloor1CompleteDialog(LevelAreaInnerLayer *this)
{
GameManager *v2; // r0
cocos2d::CCArray *v3; // r0
cocos2d::CCArray *v4; // r9
cocos2d::CCObject *v5; // r0
cocos2d::CCObject *v6; // r0
cocos2d::CCObject *v7; // r0
cocos2d::CCObject *v8; // r0
cocos2d::CCObject *v9; // r0
int v10; // r2
cocos2d::CCLayerColor *v11; // r6
int v12; // r0
int v14; // [sp+4h] [bp-24h]
int v15; // [sp+4h] [bp-24h]
int v16; // [sp+4h] [bp-24h]
int v17; // [sp+4h] [bp-24h]
int v18; // [sp+4h] [bp-24h]
int v19; // [sp+Ch] [bp-1Ch] BYREF
int v20; // [sp+10h] [bp-18h]
int v21; // [sp+14h] [bp-14h]
int v22; // [sp+18h] [bp-10h] BYREF
int v23; // [sp+1Ch] [bp-Ch]
int v24; // [sp+20h] [bp-8h]
v2 = (GameManager *)GameManager::sharedState(this);
v3 = (cocos2d::CCArray *)GameManager::setUGV(v2, "33", (_BYTE *)&dword_0 + 1);
v19 = 0;
v20 = 0;
v21 = 0;
v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(v3);
std::string::__init(&v19, "Scratch", 7u);
v22 = 0;
v23 = 0;
v24 = 0;
std::string::__init(&v22, "Where have you been?!\nI've been looking everywhere for you!", 0x3Bu);
LOWORD(v14) = -1;
BYTE2(v14) = -1;
v5 = (cocos2d::CCObject *)DialogObject::create((int)&v19, (int)&v22, 14, 1065353216, 0, v14);
cocos2d::CCArray::addObject(v4, v5);
std::string::~string((int)&v22);
std::string::~string((int)&v19);
v19 = 0;
v20 = 0;
v21 = 0;
std::string::__init(&v19, "Scratch", 7u);
v22 = 0;
v23 = 0;
v24 = 0;
std::string::__init(&v22, "You really shouldn't be poking around here.", 0x33u);
LOWORD(v15) = -1;
BYTE2(v15) = -1;
v6 = (cocos2d::CCObject *)DialogObject::create((int)&v19, (int)&v22, 11, 1065353216, 0, v15);
cocos2d::CCArray::addObject(v4, v6);
std::string::~string((int)&v22);
std::string::~string((int)&v19);
v19 = 0;
v20 = 0;
v21 = 0;
std::string::__init(&v19, "Scratch", 7u);
v22 = 0;
v23 = 0;
v24 = 0;
std::string::__init(&v22, "Never know what you could find.\nOr who...", 0x49u);
LOWORD(v16) = -1;
BYTE2(v16) = -1;
v7 = (cocos2d::CCObject *)DialogObject::create((int)&v19, (int)&v22, 13, 1065353216, 0, v16);
cocos2d::CCArray::addObject(v4, v7);
std::string::~string((int)&v22);
std::string::~string((int)&v19);
v19 = 0;
v20 = 0;
v21 = 0;
std::string::__init(&v19, "Scratch", 7u);
v22 = 0;
v23 = 0;
v24 = 0;
std::string::__init(&v22, "... I thought this was a simple cube game.", 0x52u);
LOWORD(v17) = -1;
BYTE2(v17) = -1;
v8 = (cocos2d::CCObject *)DialogObject::create((int)&v19, (int)&v22, 26, 1065353216, 0, v17);
cocos2d::CCArray::addObject(v4, v8);
std::string::~string((int)&v22);
std::string::~string((int)&v19);
v19 = 0;
v20 = 0;
v21 = 0;
std::string::__init(&v19, "Scratch", 7u);
v22 = 0;
v23 = 0;
v24 = 0;
std::string::__init(&v22, "...", 0xFu);
LOWORD(v18) = -1;
BYTE2(v18) = -1;
v9 = (cocos2d::CCObject *)DialogObject::create((int)&v19, (int)&v22, 8, 1065353216, 0, v18);
cocos2d::CCArray::addObject(v4, v9);
std::string::~string((int)&v22);
std::string::~string((int)&v19);
v11 = DialogLayer::createWithObjects(v4, (cocos2d::CCArray *)((char *)&dword_0 + 2), v10);
v12 = cocos2d::CCDirector::sharedDirector(v11);
(*(void (__fastcall **)(_DWORD, cocos2d::CCLayerColor *, int))(**(_DWORD **)(v12 + 220) + 232))(
*(_DWORD *)(v12 + 220),
v11,
1000);
*((_DWORD *)v11 + 122) = (char *)this + 316;
DialogLayer::updateChatPlacement(v11, 0);
return DialogLayer::animateInRandomSide(v11);
}