// // SecretLayer::getThreadMessage from 0x4c98e0 to 0x4ca0ac (1996 bytes) // // 1 xrefs: // > SecretLayer::getMessage @ 0x4ca4b0 // // 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 // SecretLayer *__fastcall SecretLayer::getThreadMessage(SecretLayer *this, _DWORD *a2) { int v4; // r3 SecretLayer *v5; // r0 char *v6; // r1 GameManager *v7; // r0 a2[84] = 0; sub_776584((int)this, "zzzzzzZZZZZZZZZ"); v4 = a2[82]; if ( v4 == 16 ) { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "Secrets secrets secrets..."); break; case 1: sub_7753D4((int)this, "It's hard to keep track of"); break; case 2: sub_7753D4((int)this, "makes me feel Lost..."); break; case 3: sub_7753D4((int)this, "Maybe we are in a twilight zone?"); break; case 4: sub_7753D4((int)this, "Reminds me of a book I read"); break; case 5: sub_7753D4((int)this, "The pages were weird"); break; case 6: sub_7753D4((int)this, "Page one was page two"); break; case 7: sub_7753D4((int)this, "Page three was page six"); break; case 8: v5 = this; v6 = "Made it really hard to read"; LABEL_37: sub_7753D4((int)v5, v6); a2[82] = 0; break; default: break; } } else if ( v4 > 16 ) { if ( v4 == 103 ) { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "Look behind you!"); break; case 1: sub_7753D4((int)this, "I thought I saw something"); break; case 2: sub_7753D4((int)this, "Maybe it's just my imagination"); break; case 3: sub_7753D4((int)this, "Or was it?"); break; case 4: v5 = this; v6 = "DUN DUN DUN!"; goto LABEL_37; default: break; } } else if ( v4 > 103 ) { if ( v4 == 105 ) { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "I heard a joke the other day"); break; case 1: sub_7753D4((int)this, "Two cubes walk into a bar"); break; case 2: sub_7753D4((int)this, "wait... did they walk or slide?"); break; case 3: sub_7753D4((int)this, "I don't think cubes can walk"); break; case 4: v5 = this; v6 = "Nevermind..."; goto LABEL_37; default: break; } } else if ( v4 < 105 ) { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "Don't you get tired of clicking?"); break; case 1: sub_7753D4((int)this, "I mean, isn't it boring?"); break; case 2: sub_7753D4((int)this, "Click click click"); break; case 3: v5 = this; v6 = "Is that all you do?"; goto LABEL_37; default: break; } } else if ( v4 == 120 ) { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "Are you always like this?"); break; case 1: sub_7753D4((int)this, "I mean, what's the point?"); break; case 2: sub_7753D4((int)this, "Let me guess, you're gonna push the button?"); break; case 3: v5 = this; v6 = "What a surprise..."; goto LABEL_37; default: break; } } else { if ( v4 != 121 ) goto LABEL_160; switch ( a2[83] ) { case 0: sub_7753D4((int)this, "Roses are red"); break; case 1: sub_7753D4((int)this, "Violets are blue"); break; case 2: sub_7753D4((int)this, "Click the back button"); break; case 3: v5 = this; v6 = "So I get rid of you"; goto LABEL_37; default: break; } } } else if ( v4 == 19 ) { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "What is the hardest Demon?"); break; case 1: LABEL_103: sub_7753D4((int)this, "..."); break; case 2: sub_7753D4((int)this, "Even harder than Extreme Demons"); break; case 3: v5 = this; v6 = "There must be more"; goto LABEL_37; default: break; } } else if ( v4 > 19 ) { if ( v4 == 101 ) { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "So... whats up?"); break; case 1: sub_7753D4((int)this, "The back button is in the corner."); break; case 2: sub_7753D4((int)this, "Ready to leave yet?"); break; case 3: sub_7753D4((int)this, "Whenever you're ready..."); break; case 4: v5 = this; v6 = "Fine, I can wait."; goto LABEL_37; default: break; } } else { if ( v4 != 102 ) goto LABEL_160; switch ( a2[83] ) { case 0: sub_7753D4((int)this, "I have an idea for a gamemode"); break; case 1: sub_7753D4((int)this, "You play as a cube"); break; case 2: sub_7753D4((int)this, "that can jump"); break; case 3: sub_7753D4((int)this, "...and there are spikes"); break; case 4: v5 = this; v6 = "nevermind..."; goto LABEL_37; default: break; } } } else { if ( v4 != 17 ) goto LABEL_160; switch ( a2[83] ) { case 0: sub_7753D4((int)this, "I don't feel good about this..."); break; case 1: sub_7753D4((int)this, "RubRub will be back soon"); break; case 2: sub_7753D4((int)this, "...unless he's already here"); break; case 3: sub_7753D4((int)this, "Watching, waiting, lurking..."); break; case 4: sub_7753D4((int)this, "He knows every move I make"); break; case 5: sub_7753D4((int)this, "Every move YOU make"); break; case 6: sub_7753D4((int)this, "But maybe you can stop him?"); break; case 7: v5 = this; v6 = "Maybe you are the key?"; goto LABEL_37; default: break; } } } else if ( v4 == 10 ) { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "Ok, I will give you a hint."); break; case 1: sub_7753D4((int)this, "Without it, I'm dead."); break; case 2: sub_7753D4((int)this, "If I'm not, then I'm behind."); break; case 3: sub_7753D4((int)this, "What am I?"); break; case 4: v5 = this; v6 = "That didn't go very well..."; goto LABEL_37; default: break; } } else if ( v4 > 10 ) { if ( v4 == 13 ) { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "Why are you still here?"); break; case 1: sub_7753D4((int)this, "You're so stubborn"); break; case 2: sub_7753D4((int)this, "Stubborn as a Fox..."); break; case 3: sub_7753D4((int)this, "wait, that's not right"); break; case 4: sub_7753D4((int)this, "Gah, I forgot the word"); break; case 5: sub_7753D4((int)this, "Those animals that are stubborn"); break; case 6: v5 = this; v6 = "Nevermind..."; goto LABEL_37; default: break; } } else if ( v4 > 13 ) { if ( v4 == 14 ) { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "I have to admit"); goto LABEL_118; case 1: LABEL_118: sub_7753D4((int)this, "It does get lonely sometimes"); break; case 2: sub_7753D4((int)this, "It's so quiet..."); break; case 3: sub_7753D4((int)this, "Except for the annoying music"); break; case 4: sub_7753D4((int)this, "Just keeps looping"); break; case 5: sub_7753D4((int)this, "Over and over and over"); break; case 6: sub_7753D4((int)this, "It never ends"); break; case 7: sub_7753D4((int)this, "It doesn't have an end"); break; case 8: sub_7753D4((int)this, "...no ending"); break; case 9: v5 = this; v6 = "That's like 5 hints"; goto LABEL_37; default: break; } } else { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "There's a trail hidden somewhere"); break; case 1: sub_7753D4((int)this, "But RubRub didn't tell me where"); break; case 2: sub_7753D4((int)this, "...or what the password is"); break; case 3: sub_7753D4((int)this, "You will have to ask him"); break; case 4: sub_7753D4((int)this, "Fly, you fool!"); break; case 5: sub_7753D4((int)this, "...or use the force"); break; case 6: sub_7753D4((int)this, "Whichever comes first"); break; case 7: sub_7753D4((int)this, "Sneaky hobbitses..."); break; case 8: v5 = this; v6 = "Gryffindor!"; goto LABEL_37; default: break; } } } else { if ( v4 != 11 ) goto LABEL_160; switch ( a2[83] ) { case 0: sub_7753D4((int)this, "So you met the GateKeeper..."); break; case 1: sub_7753D4((int)this, "I heard he made fun of me"); break; case 2: sub_7753D4((int)this, "Made fun of 'Sparky'..."); break; case 3: goto LABEL_103; case 4: sub_7753D4((int)this, "Like he has a better name"); break; case 5: sub_7753D4((int)this, "What does 'Glubfub' mean anyway?"); break; case 6: sub_7753D4((int)this, "I mean... oh no..."); break; case 7: sub_7753D4((int)this, "I DIDNT TELL YOU ANYTHING!"); a2[82] = 0; v7 = GameManager::sharedState(); GameManager::setUGV(v7, (const char *)&aO1i2r3e45s7t89[5], 1); break; default: break; } } } else if ( v4 == 7 ) { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "Don't tell RubRub, but I stole an icon"); break; case 1: sub_7753D4((int)this, "He will never notice..."); break; case 2: sub_7753D4((int)this, "I hid it with my name as the password"); break; case 3: v5 = this; v6 = "Muahahaha!"; goto LABEL_37; default: break; } } else if ( v4 > 7 ) { if ( v4 == 8 ) { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "You want a hint... don't you?"); break; case 1: sub_7753D4((int)this, "I've hidden a password in the game"); break; case 2: sub_7753D4((int)this, "I won't tell you where it is..."); break; case 3: v5 = this; v6 = "It's definitely not on the support page."; goto LABEL_37; default: break; } } else { switch ( a2[83] ) { case 0: sub_7753D4((int)this, "I like the new Robot mode"); break; case 1: sub_7753D4((int)this, "I even have my own Robot"); break; case 2: sub_7753D4((int)this, "RubRub gave it to me as a present"); break; case 3: sub_7753D4((int)this, "No, I won't give you a hint..."); break; case 4: sub_7753D4((int)this, "I said no..."); break; case 5: v5 = this; v6 = "You will have to ask RubRub..."; goto LABEL_37; default: break; } } } else { if ( v4 != 6 ) { LABEL_160: sub_7753D4((int)this, "zzzZZZZ"); goto LABEL_161; } switch ( a2[83] ) { case 0: sub_7753D4((int)this, "You're here for my gold, aren't you?"); break; case 1: sub_7753D4((int)this, "I had a secret coin once"); break; case 2: sub_7753D4((int)this, "It was so beautiful"); break; case 3: v5 = this; v6 = "I called it 'Sparky'"; goto LABEL_37; default: break; } } LABEL_161: ++a2[83]; return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source