//
// SecretLayer::getThreadMessage from 0x1006d4a30 to 0x1006d5252 (2082 bytes)
//
// 3 xrefs:
// > SecretLayer::init @ 0x1006d1f44
// > SecretLayer::getMessage @ 0x1006d2444
// > SecretLayer::onSubmit @ 0x1006d3099
//
// 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:35:40 +0000
//
std::string *__fastcall SecretLayer::getThreadMessage(std::string *this, _DWORD *a2)
{
const std::string::value_type *v3; // r15
const std::string::value_type *v4; // rsi
__int64 v5; // rax
a2[109] = 0;
this->__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)30;
strcpy(this->__r_.__value_.__s.__data_, "zzzzzzZZZZZZZZZ");
v3 = "zzzZZZZ";
switch ( a2[107] )
{
case 6:
switch ( a2[108] )
{
case 0:
v3 = "You're here for my gold, aren't you?";
goto LABEL_129;
case 1:
v3 = "I had a secret coin once";
goto LABEL_129;
case 2:
v3 = "It was so beautiful";
goto LABEL_129;
case 3:
v4 = "I called it 'Sparky'";
goto LABEL_122;
default:
goto LABEL_130;
}
case 7:
switch ( a2[108] )
{
case 0:
v3 = "Don't tell RubRub, but I stole an icon";
goto LABEL_129;
case 1:
v3 = "He will never notice...";
goto LABEL_129;
case 2:
v3 = "I hid it with my name as the password";
goto LABEL_129;
case 3:
v4 = "Muahahaha!";
goto LABEL_122;
default:
goto LABEL_130;
}
case 8:
switch ( a2[108] )
{
case 0:
v3 = "You want a hint... don't you?";
goto LABEL_129;
case 1:
v3 = "I've hidden a password in the game";
goto LABEL_129;
case 2:
v3 = "I won't tell you where it is...";
goto LABEL_129;
case 3:
v4 = "It's definitely not on the support page.";
goto LABEL_122;
default:
goto LABEL_130;
}
case 9:
switch ( a2[108] )
{
case 0:
v3 = "I like the new Robot mode";
goto LABEL_129;
case 1:
v3 = "I even have my own Robot";
goto LABEL_129;
case 2:
v3 = "RubRub gave it to me as a present";
goto LABEL_129;
case 3:
v3 = "No, I won't give you a hint...";
goto LABEL_129;
case 4:
v3 = "I said no...";
goto LABEL_129;
case 5:
v4 = "You will have to ask RubRub...";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0xA:
switch ( a2[108] )
{
case 0:
v3 = "Ok, I will give you a hint.";
goto LABEL_129;
case 1:
v3 = "Without it, I'm dead.";
goto LABEL_129;
case 2:
v3 = "If I'm not, then I'm behind.";
goto LABEL_129;
case 3:
v3 = "What am I?";
goto LABEL_129;
case 4:
v4 = "That didn't go very well...";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0xB:
switch ( a2[108] )
{
case 0:
v3 = "So you met the GateKeeper...";
goto LABEL_129;
case 1:
v3 = "I heard he made fun of me";
goto LABEL_129;
case 2:
v3 = "Made fun of 'Sparky'...";
goto LABEL_129;
case 3:
goto LABEL_40;
case 4:
v3 = "Like he has a better name";
goto LABEL_129;
case 5:
v3 = "What does 'Glubfub' mean anyway?";
goto LABEL_129;
case 6:
v3 = "I mean... oh no...";
goto LABEL_129;
case 7:
std::string::assign(this, "I DIDNT TELL YOU ANYTHING!");
a2[107] = 0;
v5 = GameManager::sharedState();
GameManager::setUGV(v5, "3");
break;
default:
goto LABEL_130;
}
break;
case 0xD:
switch ( a2[108] )
{
case 0:
v3 = "Why are you still here?";
goto LABEL_129;
case 1:
v3 = "You're so stubborn";
goto LABEL_129;
case 2:
v3 = "Stubborn as a Fox...";
goto LABEL_129;
case 3:
v3 = "wait, that's not right";
goto LABEL_129;
case 4:
v3 = "Gah, I forgot the word";
goto LABEL_129;
case 5:
v3 = "Those animals that are stubborn";
goto LABEL_129;
case 6:
goto LABEL_41;
default:
goto LABEL_130;
}
case 0xE:
v3 = "It does get lonely sometimes";
switch ( a2[108] )
{
case 0:
std::string::assign(this, "I have to admit");
goto LABEL_129;
case 1:
goto LABEL_129;
case 2:
v3 = "It's so quiet...";
goto LABEL_129;
case 3:
v3 = "Except for the annoying music";
goto LABEL_129;
case 4:
v3 = "Just keeps looping";
goto LABEL_129;
case 5:
v3 = "Over and over and over";
goto LABEL_129;
case 6:
v3 = "It never ends";
goto LABEL_129;
case 7:
v3 = "It doesn't have an end";
goto LABEL_129;
case 8:
v3 = "...no ending";
goto LABEL_129;
case 9:
v4 = "That's like 5 hints";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0xF:
switch ( a2[108] )
{
case 0:
v3 = "There's a trail hidden somewhere";
goto LABEL_129;
case 1:
v3 = "But RubRub didn't tell me where";
goto LABEL_129;
case 2:
v3 = "...or what the password is";
goto LABEL_129;
case 3:
v3 = "You will have to ask him";
goto LABEL_129;
case 4:
v3 = "Fly, you fool!";
goto LABEL_129;
case 5:
v3 = "...or use the force";
goto LABEL_129;
case 6:
v3 = "Whichever comes first";
goto LABEL_129;
case 7:
v3 = "Sneaky hobbitses...";
goto LABEL_129;
case 8:
v4 = "Gryffindor!";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0x10:
switch ( a2[108] )
{
case 0:
v3 = "Secrets secrets secrets...";
goto LABEL_129;
case 1:
v3 = "It's hard to keep track of";
goto LABEL_129;
case 2:
v3 = "makes me feel Lost...";
goto LABEL_129;
case 3:
v3 = "Maybe we are in a twilight zone?";
goto LABEL_129;
case 4:
v3 = "Reminds me of a book I read";
goto LABEL_129;
case 5:
v3 = "The pages were weird";
goto LABEL_129;
case 6:
v3 = "Page one was page two";
goto LABEL_129;
case 7:
v3 = "Page three was page six";
goto LABEL_129;
case 8:
v4 = "Made it really hard to read";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0x11:
switch ( a2[108] )
{
case 0:
v3 = "I don't feel good about this...";
goto LABEL_129;
case 1:
v3 = "RubRub will be back soon";
goto LABEL_129;
case 2:
v3 = "...unless he's already here";
goto LABEL_129;
case 3:
v3 = "Watching, waiting, lurking...";
goto LABEL_129;
case 4:
v3 = "He knows every move I make";
goto LABEL_129;
case 5:
v3 = "Every move YOU make";
goto LABEL_129;
case 6:
v3 = "But maybe you can stop him?";
goto LABEL_129;
case 7:
v4 = "Maybe you are the key?";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0x13:
switch ( a2[108] )
{
case 0:
v3 = "What is the hardest Demon?";
goto LABEL_129;
case 1:
LABEL_40:
v3 = "...";
goto LABEL_129;
case 2:
v3 = "Even harder than Extreme Demons";
goto LABEL_129;
case 3:
v4 = "There must be more";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0x65:
switch ( a2[108] )
{
case 0:
v3 = "So... whats up?";
goto LABEL_129;
case 1:
v3 = "The back button is in the corner.";
goto LABEL_129;
case 2:
v3 = "Ready to leave yet?";
goto LABEL_129;
case 3:
v3 = "Whenever you're ready...";
goto LABEL_129;
case 4:
v4 = "Fine, I can wait.";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0x66:
switch ( a2[108] )
{
case 0:
v3 = "I have an idea for a gamemode";
goto LABEL_129;
case 1:
v3 = "You play as a cube";
goto LABEL_129;
case 2:
v3 = "that can jump";
goto LABEL_129;
case 3:
v3 = "...and there are spikes";
goto LABEL_129;
case 4:
v4 = "nevermind...";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0x67:
switch ( a2[108] )
{
case 0:
v3 = "Look behind you!";
goto LABEL_129;
case 1:
v3 = "I thought I saw something";
goto LABEL_129;
case 2:
v3 = "Maybe it's just my imagination";
goto LABEL_129;
case 3:
v3 = "Or was it?";
goto LABEL_129;
case 4:
v4 = "DUN DUN DUN!";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0x68:
switch ( a2[108] )
{
case 0:
v3 = "Don't you get tired of clicking?";
goto LABEL_129;
case 1:
v3 = "I mean, isn't it boring?";
goto LABEL_129;
case 2:
v3 = "Click click click";
goto LABEL_129;
case 3:
v4 = "Is that all you do?";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0x69:
switch ( a2[108] )
{
case 0:
v3 = "I heard a joke the other day";
goto LABEL_129;
case 1:
v3 = "Two cubes walk into a bar";
goto LABEL_129;
case 2:
v3 = "wait... did they walk or slide?";
goto LABEL_129;
case 3:
v3 = "I don't think cubes can walk";
goto LABEL_129;
case 4:
LABEL_41:
v4 = "Nevermind...";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0x78:
switch ( a2[108] )
{
case 0:
v3 = "Are you always like this?";
goto LABEL_129;
case 1:
v3 = "I mean, what's the point?";
goto LABEL_129;
case 2:
v3 = "Let me guess, you're gonna push the button?";
goto LABEL_129;
case 3:
v4 = "What a surprise...";
goto LABEL_122;
default:
goto LABEL_130;
}
case 0x79:
switch ( a2[108] )
{
case 0:
v3 = "Roses are red";
goto LABEL_129;
case 1:
v3 = "Violets are blue";
goto LABEL_129;
case 2:
v3 = "Click the back button";
goto LABEL_129;
case 3:
v4 = "So I get rid of you";
LABEL_122:
std::string::assign(this, v4);
a2[107] = 0;
break;
default:
goto LABEL_130;
}
break;
default:
LABEL_129:
std::string::assign(this, v3);
break;
}
LABEL_130:
++a2[108];
return this;
}