// // SecretLayer4::getBasicMessage from 0x6211c0 to 0x62138a (458 bytes) // // 1 xrefs: // > SecretLayer4::getMessage @ 0x6224be // // 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::getBasicMessage(SecretLayer4 *this, int a2) { int v4; // r3 int *v5; // r0 size_t v6; // r2 const char *v7; // r1 ++*(_DWORD *)(a2 + 344); v4 = *(_DWORD *)(a2 + 332); if ( v4 >= 0 ) { *(_DWORD *)(a2 + 332) = v4 + 1; } else { rand(); *(_DWORD *)(a2 + 332) = lroundf(); } if ( *(int *)(a2 + 332) > 20 ) *(_DWORD *)(a2 + 332) = 0; switch ( *(_DWORD *)(a2 + 332) ) { case 0: v5 = (int *)this; *(_DWORD *)this = 0; v6 = 23; *((_DWORD *)this + 1) = 0; v7 = "Why have I been awoken?"; *((_DWORD *)this + 2) = 0; break; case 1: v5 = (int *)this; *(_DWORD *)this = 0; v6 = 16; *((_DWORD *)this + 1) = 0; v7 = "Leave this place"; *((_DWORD *)this + 2) = 0; break; case 2: v5 = (int *)this; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v7 = "You are not welcome here"; *((_DWORD *)this + 2) = 0; goto LABEL_21; case 3: v5 = (int *)this; *(_DWORD *)this = 0; v6 = 15; *((_DWORD *)this + 1) = 0; v7 = "None shall pass"; *((_DWORD *)this + 2) = 0; break; case 4: v5 = (int *)this; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v7 = "You test my patience"; *((_DWORD *)this + 2) = 0; goto LABEL_24; case 5: v5 = (int *)this; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v7 = "..."; *((_DWORD *)this + 2) = 0; goto LABEL_33; case 6: v5 = (int *)this; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v7 = "How long will you keep this up?"; *((_DWORD *)this + 2) = 0; goto LABEL_17; case 7: v5 = (int *)this; *(_DWORD *)this = 0; v6 = 34; *((_DWORD *)this + 1) = 0; v7 = "Don't you have other things to do?"; *((_DWORD *)this + 2) = 0; break; case 8: v5 = (int *)this; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v7 = "..."; *((_DWORD *)this + 2) = 0; goto LABEL_33; case 9: v5 = (int *)this; *(_DWORD *)this = 0; v7 = "Gah I can't stand this anymore!"; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; LABEL_17: v6 = 31; break; case 0xA: v5 = (int *)this; *(_DWORD *)this = 0; v6 = 26; *((_DWORD *)this + 1) = 0; v7 = "The smell, it's killing me"; *((_DWORD *)this + 2) = 0; break; case 0xB: v5 = (int *)this; *(_DWORD *)this = 0; v6 = 17; *((_DWORD *)this + 1) = 0; v7 = "Can you smell it?"; *((_DWORD *)this + 2) = 0; break; case 0xC: v5 = (int *)this; *(_DWORD *)this = 0; v7 = "Chicken, burning chicken"; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; LABEL_21: v6 = 24; break; case 0xD: v5 = (int *)this; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v7 = "El pollo ardiente..."; *((_DWORD *)this + 2) = 0; goto LABEL_24; case 0xE: v5 = (int *)this; *(_DWORD *)this = 0; v7 = "Ok, playtime is over"; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; LABEL_24: v6 = 20; break; case 0xF: v5 = (int *)this; *(_DWORD *)this = 0; v6 = 9; *((_DWORD *)this + 1) = 0; v7 = "Tick tock"; *((_DWORD *)this + 2) = 0; break; case 0x10: v5 = (int *)this; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v7 = "Time is running out"; *((_DWORD *)this + 2) = 0; goto LABEL_29; case 0x11: v5 = (int *)this; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v7 = "..."; *((_DWORD *)this + 2) = 0; goto LABEL_33; case 0x12: v5 = (int *)this; *(_DWORD *)this = 0; v7 = "Really? Still here?"; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; LABEL_29: v6 = 19; break; case 0x13: v5 = (int *)this; *(_DWORD *)this = 0; v6 = 43; *((_DWORD *)this + 1) = 0; v7 = "This is my first conversation in 1000 years"; *((_DWORD *)this + 2) = 0; break; case 0x14: v5 = (int *)this; *(_DWORD *)this = 0; v6 = 28; *((_DWORD *)this + 1) = 0; v7 = "Not what I was hoping for..."; *((_DWORD *)this + 2) = 0; break; default: v5 = (int *)this; *(_DWORD *)this = 0; v7 = "..."; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; LABEL_33: v6 = 3; break; } std::string::__init(v5, v7, v6); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source