// // SecretLayer4::getThreadMessage from 0x62221c to 0x6223ee (466 bytes) // // 1 xrefs: // > SecretLayer4::getMessage @ 0x6224c4 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:55:06 +0000 // SecretLayer4 *__fastcall SecretLayer4::getThreadMessage(SecretLayer4 *this, _DWORD *a2) { int *v4; // r0 char *v5; // r1 int *v6; // r0 char *v7; // r1 int v8; // r3 a2[86] = 0; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; std::string::__init((int *)this, "zzzzzzZZZZZZZZZ", 0xFu); switch ( a2[84] ) { case 1: switch ( a2[85] ) { case 0: v4 = (int *)this; v5 = "I hide behind rocks and rills"; goto LABEL_44; case 1: v4 = (int *)this; v5 = "under the mountains and hills"; goto LABEL_44; case 2: v4 = (int *)this; v5 = "I cannot be seen or felt"; goto LABEL_44; case 3: v4 = (int *)this; v5 = "nor heard or smelt"; goto LABEL_44; case 4: v4 = (int *)this; v5 = "the more I am the less you see"; goto LABEL_44; case 5: v6 = (int *)this; v7 = "what am I?"; goto LABEL_9; default: goto LABEL_45; } case 2: switch ( a2[85] ) { case 0: v4 = (int *)this; v5 = "Shh, quiet!"; goto LABEL_44; case 1: v4 = (int *)this; v5 = "Can you feel it closing in?"; goto LABEL_44; case 2: v4 = (int *)this; v5 = "Shadows creep where it begins"; goto LABEL_44; case 3: v4 = (int *)this; v5 = "Speak its name and it is gone"; goto LABEL_44; case 4: v6 = (int *)this; v7 = "from every moment dusk till dawn"; goto LABEL_9; default: goto LABEL_45; } case 3: switch ( a2[85] ) { case 0: v4 = (int *)this; v5 = "What always runs, but never walks"; goto LABEL_44; case 1: v4 = (int *)this; v5 = "Often murmurs, never talks"; goto LABEL_44; case 2: v4 = (int *)this; v5 = "Has a bed, but never sleeps"; goto LABEL_44; case 3: v6 = (int *)this; v7 = "Has a mouth, but never eats?"; goto LABEL_9; default: goto LABEL_45; } case 4: switch ( a2[85] ) { case 0: v4 = (int *)this; v5 = "The less you consume"; goto LABEL_44; case 1: v4 = (int *)this; v5 = "the stronger I become"; goto LABEL_44; case 2: v4 = (int *)this; v5 = "wait too long"; goto LABEL_44; case 3: v4 = (int *)this; v5 = "and death will come"; goto LABEL_44; case 4: v6 = (int *)this; v7 = "What am I?"; goto LABEL_9; default: goto LABEL_45; } case 5: switch ( a2[85] ) { case 0: v4 = (int *)this; v5 = "My thunder comes before my lightning"; goto LABEL_44; case 1: v4 = (int *)this; v5 = "My lightning comes before my rain"; goto LABEL_44; case 2: v4 = (int *)this; v5 = "My rain dries up all the land it touches"; goto LABEL_44; case 3: v6 = (int *)this; v7 = "What am I?"; goto LABEL_9; default: goto LABEL_45; } case 6: v8 = a2[85]; switch ( v8 ) { case 1: v4 = (int *)this; v5 = "Anything harder than it is impossible"; goto LABEL_44; case 2: v6 = (int *)this; v7 = "Don't even get me started"; LABEL_9: std::string::assign(v6, v7); a2[84] = 0; break; case 0: v4 = (int *)this; v5 = "Legend tells of a level so hard no one can beat it"; goto LABEL_44; } break; case 7: switch ( a2[85] ) { case 0: v4 = (int *)this; v5 = "Good levels are hard to find sometimes"; goto LABEL_44; case 1: v4 = (int *)this; v5 = "Wish I had someone who could find them for me"; goto LABEL_44; case 2: v4 = (int *)this; v5 = "..."; goto LABEL_44; case 3: v6 = (int *)this; v7 = "Forget it..."; goto LABEL_9; default: goto LABEL_45; } default: v4 = (int *)this; v5 = "zzzZZZZ"; LABEL_44: std::string::assign(v4, v5); break; } LABEL_45: ++a2[85]; return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source