//
// LevelAreaInnerLayer::showFloor1CompleteDialog from 0x56b6c8 to 0x56b8e4 (540 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 LevelAreaInnerLayer::showFloor1CompleteDialog(LevelAreaInnerLayer *a1)
{
GameManager *v2; // r0
cocos2d::CCArray *v3; // r0
cocos2d::CCArray *v4; // r8
cocos2d::CCObject *v5; // r0
cocos2d::CCObject *v6; // r0
cocos2d::CCObject *v7; // r0
cocos2d::CCObject *v8; // r0
cocos2d::CCObject *v9; // r0
DialogLayer *v10; // r4
cocos2d::CCDirector *v11; // r0
int v12; // [sp+4h] [bp-20h]
int v13; // [sp+4h] [bp-20h]
int v14; // [sp+4h] [bp-20h]
int v15; // [sp+4h] [bp-20h]
int v16; // [sp+4h] [bp-20h]
char v17; // [sp+14h] [bp-10h] BYREF
_BYTE v18[4]; // [sp+18h] [bp-Ch] BYREF
v2 = GameManager::sharedState();
GameManager::setUGV(v2, "33", 1);
v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(v3);
sub_776584((int)&v17, "Scratch");
sub_776584((int)v18, "Where have you been?!\nI've been looking everywhere for you!");
LOWORD(v12) = -1;
BYTE2(v12) = -1;
v5 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v17,
(std::string)v18,
(std::string)14,
1065353216,
0.0,
v12);
cocos2d::CCArray::addObject(v4, v5);
sub_774008(v18);
sub_774008(&v17);
sub_776584((int)&v17, "Scratch");
sub_776584((int)v18, "You really shouldn't be poking around here.");
LOWORD(v13) = -1;
BYTE2(v13) = -1;
v6 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v17,
(std::string)v18,
(std::string)11,
1065353216,
0.0,
v13);
cocos2d::CCArray::addObject(v4, v6);
sub_774008(v18);
sub_774008(&v17);
sub_776584((int)&v17, "Scratch");
sub_776584((int)v18, "Never know what you could find.\nOr who...");
LOWORD(v14) = -1;
BYTE2(v14) = -1;
v7 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v17,
(std::string)v18,
(std::string)13,
1065353216,
0.0,
v14);
cocos2d::CCArray::addObject(v4, v7);
sub_774008(v18);
sub_774008(&v17);
sub_776584((int)&v17, "Scratch");
sub_776584((int)v18, "... I thought this was a simple cube game.");
LOWORD(v15) = -1;
BYTE2(v15) = -1;
v8 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v17,
(std::string)v18,
(std::string)26,
1065353216,
0.0,
v15);
cocos2d::CCArray::addObject(v4, v8);
sub_774008(v18);
sub_774008(&v17);
sub_776584((int)&v17, "Scratch");
sub_776584((int)v18, "...");
LOWORD(v16) = -1;
BYTE2(v16) = -1;
v9 = (cocos2d::CCObject *)DialogObject::create(
(DialogObject *)&v17,
(std::string)v18,
(std::string)8,
1065353216,
0.0,
v16);
cocos2d::CCArray::addObject(v4, v9);
sub_774008(v18);
sub_774008(&v17);
v10 = DialogLayer::createWithObjects(v4, (int)&dword_0 + 2);
v11 = cocos2d::CCDirector::sharedDirector();
v11->m_pRunningScene->addChild_0(v11->m_pRunningScene, v10, 1000);
v10->m_delegate = &a1->DialogDelegate;
DialogLayer::updateChatPlacement(v10, Center);
DialogLayer::animateInRandomSide(v10);
}