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