// // SecretLayer4::getThreadMessage from 0x1003b48e0 to 0x1003b4b86 (678 bytes) // // 3 xrefs: // > SecretLayer4::init @ 0x1003b11e3 // > SecretLayer4::getMessage @ 0x1003b1dd9 // > SecretLayer4::onSubmit @ 0x1003b26a5 // // 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 // std::string *__fastcall SecretLayer4::getThreadMessage(std::string *this, _DWORD *a2) { const std::string::value_type *v3; // rsi int v5; // eax const std::string::value_type *v6; // rsi a2[112] = 0; this->__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)30; strcpy(this->__r_.__value_.__s.__data_, "zzzzzzZZZZZZZZZ"); switch ( a2[110] ) { case 1: switch ( a2[111] ) { case 0: v3 = "I hide behind rocks and rills"; goto LABEL_11; case 1: v3 = "under the mountains and hills"; goto LABEL_11; case 2: v3 = "I cannot be seen or felt"; goto LABEL_11; case 3: v3 = "nor heard or smelt"; goto LABEL_11; case 4: v3 = "the more I am the less you see"; goto LABEL_11; case 5: v6 = "what am I?"; goto LABEL_44; default: goto LABEL_12; } case 2: switch ( a2[111] ) { case 0: v3 = "Shh, quiet!"; goto LABEL_11; case 1: v3 = "Can you feel it closing in?"; goto LABEL_11; case 2: v3 = "Shadows creep where it begins"; goto LABEL_11; case 3: v3 = "Speak its name and it is gone"; goto LABEL_11; case 4: v6 = "from every moment dusk till dawn"; goto LABEL_44; default: goto LABEL_12; } case 3: switch ( a2[111] ) { case 0: v3 = "What always runs, but never walks"; goto LABEL_11; case 1: v3 = "Often murmurs, never talks"; goto LABEL_11; case 2: v3 = "Has a bed, but never sleeps"; goto LABEL_11; case 3: v6 = "Has a mouth, but never eats?"; goto LABEL_44; default: goto LABEL_12; } case 4: switch ( a2[111] ) { case 0: v3 = "The less you consume"; goto LABEL_11; case 1: v3 = "the stronger I become"; goto LABEL_11; case 2: v3 = "wait too long"; goto LABEL_11; case 3: v3 = "and death will come"; goto LABEL_11; case 4: goto LABEL_21; default: goto LABEL_12; } case 5: switch ( a2[111] ) { case 0: v3 = "My thunder comes before my lightning"; goto LABEL_11; case 1: v3 = "My lightning comes before my rain"; goto LABEL_11; case 2: v3 = "My rain dries up all the land it touches"; goto LABEL_11; case 3: LABEL_21: v6 = "What am I?"; goto LABEL_44; default: goto LABEL_12; } case 6: v5 = a2[111]; switch ( v5 ) { case 0: v3 = "Legend tells of a level so hard no one can beat it"; goto LABEL_11; case 2: v6 = "Don't even get me started"; LABEL_44: std::string::assign(this, v6); a2[110] = 0; break; case 1: v3 = "Anything harder than it is impossible"; goto LABEL_11; } break; case 7: switch ( a2[111] ) { case 0: v3 = "Good levels are hard to find sometimes"; goto LABEL_11; case 1: v3 = "Wish I had someone who could find them for me"; goto LABEL_11; case 2: v3 = "..."; goto LABEL_11; case 3: v6 = "Forget it..."; goto LABEL_44; default: goto LABEL_12; } default: v3 = "zzzZZZZ"; LABEL_11: std::string::assign(this, v3); break; } LABEL_12: ++a2[111]; return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source