//
// SecretRewardsLayer::showDialogMechanic from 0x100714a60 to 0x100715bbc (4444 bytes)
//
// 1 xrefs:
// > SecretRewardsLayer::onShop @ 0x10070f4e5
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:36:08 +0000
//
__int64 __fastcall SecretRewardsLayer::showDialogMechanic(_DWORD *a1, __m128 a2)
{
__int64 v3; // r12
__int64 v4; // rax
__int64 v5; // rax
char *v6; // rax
char *v7; // rax
char *v8; // rax
char *v9; // rax
char *v10; // rax
char v11; // r15
char *v12; // rax
char *v13; // rax
std::string::pointer data; // rdi
char *v15; // rax
__int64 v16; // rax
const char *v17; // r15
size_t v18; // rax
std::string::size_type v19; // r12
char *v20; // r13
char *v21; // rax
char *v22; // rax
char *v23; // rax
__int64 v24; // rax
const char *CString; // r15
size_t v26; // rax
std::string::size_type v27; // r12
char *v28; // r13
char *v29; // rax
char *v30; // rax
char *v31; // rax
size_t v32; // r14
char *v33; // rax
char *v34; // rax
char *v35; // rax
size_t v36; // r14
char *v37; // rax
char *v38; // rax
__int64 v39; // rax
int v40; // eax
int v41; // ecx
char *v42; // r14
std::string v44; // [rsp+0h] [rbp-3C0h] BYREF
std::string v45; // [rsp+18h] [rbp-3A8h] BYREF
std::string v46; // [rsp+30h] [rbp-390h] BYREF
std::string v47; // [rsp+48h] [rbp-378h] BYREF
std::string v48; // [rsp+60h] [rbp-360h] BYREF
std::string v49; // [rsp+78h] [rbp-348h] BYREF
std::string v50; // [rsp+90h] [rbp-330h] BYREF
std::string v51; // [rsp+A8h] [rbp-318h] BYREF
std::string v52; // [rsp+C0h] [rbp-300h] BYREF
std::string v53; // [rsp+D8h] [rbp-2E8h] BYREF
std::string v54; // [rsp+F0h] [rbp-2D0h] BYREF
std::string v55; // [rsp+108h] [rbp-2B8h] BYREF
std::string v56; // [rsp+120h] [rbp-2A0h] BYREF
std::string v57; // [rsp+138h] [rbp-288h] BYREF
std::string v58; // [rsp+150h] [rbp-270h] BYREF
std::string v59; // [rsp+168h] [rbp-258h] BYREF
std::string v60; // [rsp+180h] [rbp-240h] BYREF
std::string v61; // [rsp+198h] [rbp-228h] BYREF
std::string v62; // [rsp+1B0h] [rbp-210h] BYREF
std::string v63; // [rsp+1C8h] [rbp-1F8h] BYREF
std::string v64; // [rsp+1E0h] [rbp-1E0h] BYREF
std::string v65; // [rsp+1F8h] [rbp-1C8h] BYREF
std::string v66; // [rsp+210h] [rbp-1B0h] BYREF
std::string v67; // [rsp+228h] [rbp-198h] BYREF
std::string v68; // [rsp+240h] [rbp-180h] BYREF
std::string v69; // [rsp+258h] [rbp-168h] BYREF
std::string v70; // [rsp+270h] [rbp-150h] BYREF
std::string v71; // [rsp+288h] [rbp-138h] BYREF
std::string v72; // [rsp+2A0h] [rbp-120h] BYREF
std::string v73; // [rsp+2B8h] [rbp-108h] BYREF
std::string v74; // [rsp+2D0h] [rbp-F0h] BYREF
std::string v75; // [rsp+2E8h] [rbp-D8h] BYREF
std::string v76; // [rsp+300h] [rbp-C0h] BYREF
std::string v77; // [rsp+318h] [rbp-A8h] BYREF
std::string v78; // [rsp+330h] [rbp-90h] BYREF
std::string v79; // [rsp+348h] [rbp-78h] BYREF
std::string v80; // [rsp+360h] [rbp-60h] BYREF
std::string __dst; // [rsp+378h] [rbp-48h] BYREF
__int64 v82; // [rsp+390h] [rbp-30h]
v3 = sub_1007FE900(a1);
v4 = GameStatsManager::sharedState();
if ( (int)GameStatsManager::getStat(v4, "13", a2) >= 2000 )
{
v5 = GameManager::sharedState();
if ( (unsigned __int8)GameManager::getUGV(v5, "36") )
{
v61.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v61.__r_.__value_.__s.__data_, "The Mechanic");
v44.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x40u);
v44.__r_.__value_.__r.__words[0] = 65;
v44.__r_.__value_.__l.__size_ = 56;
strcpy(v44.__r_.__value_.__l.__data_, "Now that's an impressive collection of Diamonds!");
v6 = DialogObject::create(&v61, &v44, 39, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v6);
if ( (*(_BYTE *)&v44.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v44.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v61.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v61.__r_.__value_.__l.__data_);
v62.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v62.__r_.__value_.__s.__data_, "The Mechanic");
v45.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x28u);
v45.__r_.__value_.__r.__words[0] = 41;
v45.__r_.__value_.__l.__size_ = 35;
strcpy(v45.__r_.__value_.__l.__data_, "If anyone asks I didn't let you in.");
v7 = DialogObject::create(&v62, &v45, 37, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v7);
if ( (*(_BYTE *)&v45.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v45.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v62.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v62.__r_.__value_.__l.__data_);
v63.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v63.__r_.__value_.__s.__data_, "The Mechanic");
v46.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x48u);
v46.__r_.__value_.__r.__words[0] = 73;
v46.__r_.__value_.__l.__size_ = 67;
strcpy(v46.__r_.__value_.__l.__data_, "Scratch keeps trying to sneak past my security...");
v8 = DialogObject::create(&v63, &v46, 50, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v8);
if ( (*(_BYTE *)&v46.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v46.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v63.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v63.__r_.__value_.__l.__data_);
v64.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v64.__r_.__value_.__s.__data_, "The Mechanic");
v47.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x30u);
v47.__r_.__value_.__r.__words[0] = 49;
v47.__r_.__value_.__l.__size_ = 41;
strcpy(v47.__r_.__value_.__l.__data_, "I CAN'T SEE!?");
v9 = DialogObject::create(&v64, &v47, 44, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v9);
if ( (*(_BYTE *)&v47.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v47.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v64.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v64.__r_.__value_.__l.__data_);
v65.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v65.__r_.__value_.__s.__data_, "The Mechanic");
v48.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x40u);
v48.__r_.__value_.__r.__words[0] = 65;
v48.__r_.__value_.__l.__size_ = 61;
strcpy(v48.__r_.__value_.__l.__data_, "Ah sorry, my goggles were off.\nCome in.");
v10 = DialogObject::create(&v65, &v48, 51, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v10);
if ( (*(_BYTE *)&v48.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v48.__r_.__value_.__l.__data_);
v11 = 1;
if ( (*(_BYTE *)&v65.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v65.__r_.__value_.__l.__data_);
goto LABEL_101;
}
}
switch ( a1[145] )
{
case 0:
v66.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v66.__r_.__value_.__s.__data_, "The Mechanic");
v49.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x30u);
v49.__r_.__value_.__r.__words[0] = 49;
v49.__r_.__value_.__l.__size_ = 44;
strcpy(v49.__r_.__value_.__l.__data_, "I'm in the middle of a job.\nCome back later.");
v12 = DialogObject::create(&v66, &v49, 38, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v12);
if ( (*(_BYTE *)&v49.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v49.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v66.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v66.__r_.__value_.__l.__data_);
v67.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v67.__r_.__value_.__s.__data_, "The Mechanic");
v50.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x40u);
v50.__r_.__value_.__r.__words[0] = 65;
v50.__r_.__value_.__l.__size_ = 57;
strcpy(v50.__r_.__value_.__l.__data_, "Can never get any peace and quiet in this game...");
v13 = DialogObject::create(&v67, &v50, 37, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v13);
if ( (*(_BYTE *)&v50.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v50.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v67.__r_.__value_.__s.0 & 1) != 0 )
{
data = v67.__r_.__value_.__l.__data_;
goto LABEL_84;
}
goto LABEL_98;
case 1:
v68.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v68.__r_.__value_.__s.__data_, "The Mechanic");
v51.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x20u);
v51.__r_.__value_.__r.__words[0] = 33;
v51.__r_.__value_.__l.__size_ = 30;
strcpy(v51.__r_.__value_.__l.__data_, "You again!? What now!?");
v29 = DialogObject::create(&v68, &v51, 46, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v29);
if ( (*(_BYTE *)&v51.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v51.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v68.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v68.__r_.__value_.__l.__data_);
v69.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v69.__r_.__value_.__s.__data_, "The Mechanic");
v52.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x28u);
v52.__r_.__value_.__r.__words[0] = 41;
v52.__r_.__value_.__l.__size_ = 32;
strcpy(v52.__r_.__value_.__l.__data_, "I'm busy go bother someone else.");
v30 = DialogObject::create(&v69, &v52, 51, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v30);
if ( (*(_BYTE *)&v52.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v52.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v69.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v69.__r_.__value_.__l.__data_);
v70.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v70.__r_.__value_.__s.__data_, "The Mechanic");
v53.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x50u);
v53.__r_.__value_.__r.__words[0] = 81;
v53.__r_.__value_.__l.__size_ = 78;
strcpy(
v53.__r_.__value_.__l.__data_,
"You take one job then all of a sudden you're bugfixing the whole game.");
v31 = DialogObject::create(&v70, &v53, 37, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v31);
if ( (*(_BYTE *)&v53.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v53.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v70.__r_.__value_.__s.0 & 1) != 0 )
{
data = v70.__r_.__value_.__l.__data_;
goto LABEL_84;
}
goto LABEL_98;
case 2:
v71.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v71.__r_.__value_.__s.__data_, "The Mechanic");
v54.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x48u);
v54.__r_.__value_.__r.__words[0] = 73;
v54.__r_.__value_.__l.__size_ = 65;
strcpy(v54.__r_.__value_.__l.__data_, "Hmm so if I push here... maybe...");
v21 = DialogObject::create(&v71, &v54, 45, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v21);
if ( (*(_BYTE *)&v54.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v54.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v71.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v71.__r_.__value_.__l.__data_);
v72.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v72.__r_.__value_.__s.__data_, "The Mechanic");
v55.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x20u);
v55.__r_.__value_.__r.__words[0] = 33;
v55.__r_.__value_.__l.__size_ = 27;
strcpy(v55.__r_.__value_.__l.__data_, "No, still broken...");
v22 = DialogObject::create(&v72, &v55, 49, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v22);
if ( (*(_BYTE *)&v55.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v55.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v72.__r_.__value_.__s.0 & 1) != 0 )
{
data = v72.__r_.__value_.__l.__data_;
goto LABEL_84;
}
goto LABEL_98;
case 3:
v73.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v73.__r_.__value_.__s.__data_, "The Mechanic");
v56.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x40u);
v56.__r_.__value_.__r.__words[0] = 65;
v56.__r_.__value_.__l.__size_ = 62;
strcpy(v56.__r_.__value_.__l.__data_, "I have enough work as it is, can't go around helping everyone.");
v23 = DialogObject::create(&v73, &v56, 51, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v23);
if ( (*(_BYTE *)&v56.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v56.__r_.__value_.__l.__data_);
v82 = v3;
if ( (*(_BYTE *)&v73.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v73.__r_.__value_.__l.__data_);
v74.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v74.__r_.__value_.__s.__data_, "The Mechanic");
v24 = sub_10088E820(
"Collect %i Diamonds so I know you're legit, then we can talk.",
*(_BYTE *)&v44.__r_.__value_.__l.0);
CString = (const char *)cocos2d::CCString::getCString(v24);
v26 = strlen(CString);
if ( v26 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100003630();
v27 = v26;
if ( v26 >= 0x17 )
{
v36 = 26;
if ( (v26 | 7) != 0x17 )
v36 = (v26 | 7) + 1;
v28 = (char *)operator new(v36);
v80.__r_.__value_.__r.__words[2] = (std::string::size_type)v28;
v80.__r_.__value_.__r.__words[0] = v36 | 1;
v80.__r_.__value_.__l.__size_ = v27;
}
else
{
v80.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v26);
v28 = v80.__r_.__value_.__s.__data_;
if ( !v26 )
goto LABEL_89;
}
memmove(v28, CString, v27);
LABEL_89:
v28[v27] = 0;
v37 = DialogObject::create(&v74, &v80, 37, 0, 0xFFFFFF, 1.0);
v3 = v82;
sub_1007FEBF0(v82, v37);
if ( (*(_BYTE *)&v80.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v80.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v74.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v74.__r_.__value_.__l.__data_);
v75.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v75.__r_.__value_.__s.__data_, "The Mechanic");
v57.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u);
v57.__r_.__value_.__r.__words[0] = 57;
v57.__r_.__value_.__l.__size_ = 53;
strcpy(v57.__r_.__value_.__l.__data_, "Who ordered this thing it doesn't even fit...");
v38 = DialogObject::create(&v75, &v57, 49, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v38);
if ( (*(_BYTE *)&v57.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v57.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v75.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v75.__r_.__value_.__l.__data_);
v39 = GameManager::sharedState();
GameManager::setUGV(v39, "36");
LABEL_98:
v40 = a1[145];
v41 = v40 + 1;
v11 = 0;
if ( v40 >= 4 )
v41 = 0;
a1[145] = v41;
LABEL_101:
v42 = DialogLayer::createWithObjects(v3, 4u);
(*(void (__fastcall **)(_DWORD *, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v42, 100);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v42 + 72LL))(v42, 4);
if ( v11 )
*((_QWORD *)v42 + 78) = a1 + 102;
DialogLayer::updateChatPlacement((__int64)v42, 0);
return DialogLayer::animateInRandomSide((__int64)v42);
case 4:
v76.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v76.__r_.__value_.__s.__data_, "The Mechanic");
v58.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x30u);
v58.__r_.__value_.__r.__words[0] = 49;
v58.__r_.__value_.__l.__size_ = 42;
strcpy(v58.__r_.__value_.__l.__data_, "Scanning user...");
v15 = DialogObject::create(&v76, &v58, 49, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v15);
if ( (*(_BYTE *)&v58.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v58.__r_.__value_.__l.__data_);
v82 = v3;
if ( (*(_BYTE *)&v76.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v76.__r_.__value_.__l.__data_);
v77.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v77.__r_.__value_.__s.__data_, "The Mechanic");
v16 = sub_10088E820(
"Scan complete.\nDiamonds: %i, Required: %i",
*(_BYTE *)&v44.__r_.__value_.__l.0);
v17 = (const char *)cocos2d::CCString::getCString(v16);
v18 = strlen(v17);
if ( v18 >= 0xFFFFFFFFFFFFFFF8LL )
sub_100003630();
v19 = v18;
if ( v18 >= 0x17 )
{
v32 = 26;
if ( (v18 | 7) != 0x17 )
v32 = (v18 | 7) + 1;
v20 = (char *)operator new(v32);
__dst.__r_.__value_.__r.__words[2] = (std::string::size_type)v20;
__dst.__r_.__value_.__r.__words[0] = v32 | 1;
__dst.__r_.__value_.__l.__size_ = v19;
}
else
{
__dst.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v18);
v20 = __dst.__r_.__value_.__s.__data_;
if ( !v18 )
{
LABEL_72:
v20[v19] = 0;
v33 = DialogObject::create(&v77, &__dst, 45, 0, 0xFFFFFF, 1.0);
v3 = v82;
sub_1007FEBF0(v82, v33);
if ( (*(_BYTE *)&__dst.__r_.__value_.__s.0 & 1) != 0 )
operator delete(__dst.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v77.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v77.__r_.__value_.__l.__data_);
v78.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v78.__r_.__value_.__s.__data_, "The Mechanic");
v59.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x30u);
v59.__r_.__value_.__r.__words[0] = 49;
v59.__r_.__value_.__l.__size_ = 40;
strcpy(v59.__r_.__value_.__l.__data_, "Hey who are you trying to fool?!");
v34 = DialogObject::create(&v78, &v59, 46, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v34);
if ( (*(_BYTE *)&v59.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v59.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v78.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v78.__r_.__value_.__l.__data_);
v79.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24;
strcpy(v79.__r_.__value_.__s.__data_, "The Mechanic");
v60.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x60u);
v60.__r_.__value_.__r.__words[0] = 97;
v60.__r_.__value_.__l.__size_ = 92;
strcpy(
v60.__r_.__value_.__l.__data_,
"Come back when you have\ncollected more Diamonds...");
v35 = DialogObject::create(&v79, &v60, 50, 0, 0xFFFFFF, 1.0);
sub_1007FEBF0(v3, v35);
if ( (*(_BYTE *)&v60.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v60.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&v79.__r_.__value_.__s.0 & 1) != 0 )
{
data = v79.__r_.__value_.__l.__data_;
LABEL_84:
operator delete(data);
}
goto LABEL_98;
}
}
memmove(v20, v17, v19);
goto LABEL_72;
default:
goto LABEL_98;
}
}