// // SecretLayer4::getBasicMessage from 0xa94378 to 0xa94754 (988 bytes) // // 2 xrefs: // > SecretLayer4::getMessage @ 0xa9621c // > @ 0x9b8c0 // // 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:42 +0000 // __int64 *__usercall SecretLayer4::getBasicMessage@(SecretLayer4 *this@, __int64 *a2@) { char v2; // cf char v3; // zf int v5; // w1 int v6; // w0 unsigned int v7; // w0 __int64 v8; // x8 __int64 *result; // x0 int v10; // w0 __int64 *v11; // [xsp+28h] [xbp+28h] __int64 *v12; // [xsp+28h] [xbp+28h] __int64 *v13; // [xsp+28h] [xbp+28h] __int64 *v14; // [xsp+28h] [xbp+28h] __int64 *v15; // [xsp+28h] [xbp+28h] __int64 *v16; // [xsp+28h] [xbp+28h] __int64 *v17; // [xsp+28h] [xbp+28h] __int64 *v18; // [xsp+28h] [xbp+28h] __int64 *v19; // [xsp+28h] [xbp+28h] __int64 *v20; // [xsp+28h] [xbp+28h] __int64 *v21; // [xsp+28h] [xbp+28h] __int64 *v22; // [xsp+28h] [xbp+28h] __int64 *v23; // [xsp+28h] [xbp+28h] __int64 *v24; // [xsp+28h] [xbp+28h] __int64 *v25; // [xsp+28h] [xbp+28h] __int64 *v26; // [xsp+28h] [xbp+28h] __int64 *v27; // [xsp+28h] [xbp+28h] __int64 *v28; // [xsp+28h] [xbp+28h] __int64 *v29; // [xsp+28h] [xbp+28h] __int64 *v30; // [xsp+28h] [xbp+28h] v5 = *((_DWORD *)this + 112); v6 = *((_DWORD *)this + 109); *((_DWORD *)this + 112) = v5 + 1; if ( v6 < 0 ) { v13 = a2; v10 = rand(); a2 = v13; v7 = llroundf((float)((float)v10 * 4.6566e-10) * 20.0); } else { v7 = v6 + 1; } *((_DWORD *)this + 109) = v7; if ( !v3 & v2 ) { LABEL_8: *a2 = 0; a2[1] = 0; a2[2] = 0; v12 = a2; std::string::__init(a2, "...", 3u); return v12; } else { switch ( v7 ) { case 0u: goto LABEL_4; case 1u: *a2 = 0; a2[1] = 0; a2[2] = 0; v16 = a2; std::string::__init(a2, "Leave this place", 0x10u); v8 = (__int64)v16; goto LABEL_5; case 2u: *a2 = 0; a2[1] = 0; a2[2] = 0; v17 = a2; std::string::__init(a2, "You are not welcome here", 0x18u); v8 = (__int64)v17; goto LABEL_5; case 3u: *a2 = 0; a2[1] = 0; a2[2] = 0; v18 = a2; std::string::__init(a2, "None shall pass", 0xFu); v8 = (__int64)v18; goto LABEL_5; case 4u: *a2 = 0; a2[1] = 0; a2[2] = 0; v19 = a2; std::string::__init(a2, "You test my patience", 0x14u); v8 = (__int64)v19; goto LABEL_5; case 5u: case 8u: case 0x11u: goto LABEL_8; case 6u: *a2 = 0; a2[1] = 0; a2[2] = 0; v20 = a2; std::string::__init(a2, "How long will you keep this up?", 0x1Fu); v8 = (__int64)v20; goto LABEL_5; case 7u: *a2 = 0; a2[1] = 0; a2[2] = 0; v21 = a2; std::string::__init(a2, "Don't you have other things to do?", 0x22u); v8 = (__int64)v21; goto LABEL_5; case 9u: *a2 = 0; a2[1] = 0; a2[2] = 0; v23 = a2; std::string::__init(a2, "Gah I can't stand this anymore!", 0x1Fu); v8 = (__int64)v23; goto LABEL_5; case 0xAu: *a2 = 0; a2[1] = 0; a2[2] = 0; v24 = a2; std::string::__init(a2, "The smell, it's killing me", 0x1Au); v8 = (__int64)v24; goto LABEL_5; case 0xBu: *a2 = 0; a2[1] = 0; a2[2] = 0; v25 = a2; std::string::__init(a2, "Can you smell it?", 0x11u); v8 = (__int64)v25; goto LABEL_5; case 0xCu: *a2 = 0; a2[1] = 0; a2[2] = 0; v26 = a2; std::string::__init(a2, "Chicken, burning chicken", 0x18u); v8 = (__int64)v26; goto LABEL_5; case 0xDu: *a2 = 0; a2[1] = 0; a2[2] = 0; v27 = a2; std::string::__init(a2, "El pollo ardiente...", 0x14u); v8 = (__int64)v27; goto LABEL_5; case 0xEu: *a2 = 0; a2[1] = 0; a2[2] = 0; v28 = a2; std::string::__init(a2, "Ok, playtime is over", 0x14u); v8 = (__int64)v28; goto LABEL_5; case 0xFu: *a2 = 0; a2[1] = 0; a2[2] = 0; v29 = a2; std::string::__init(a2, "Tick tock", 9u); v8 = (__int64)v29; goto LABEL_5; case 0x10u: *a2 = 0; a2[1] = 0; a2[2] = 0; v30 = a2; std::string::__init(a2, "Time is running out", 0x13u); v8 = (__int64)v30; goto LABEL_5; case 0x12u: *a2 = 0; a2[1] = 0; a2[2] = 0; v14 = a2; std::string::__init(a2, "Really? Still here?", 0x13u); v8 = (__int64)v14; goto LABEL_5; case 0x13u: *a2 = 0; a2[1] = 0; a2[2] = 0; v22 = a2; std::string::__init(a2, "This is my first conversation in 1000 years", 0x2Bu); v8 = (__int64)v22; goto LABEL_5; case 0x14u: *a2 = 0; a2[1] = 0; a2[2] = 0; v15 = a2; std::string::__init(a2, "Not what I was hoping for...", 0x1Cu); v8 = (__int64)v15; goto LABEL_5; default: *((_DWORD *)this + 109) = 0; LABEL_4: *a2 = 0; a2[1] = 0; a2[2] = 0; v11 = a2; std::string::__init(a2, "Why have I been awoken?", 0x17u); v8 = (__int64)v11; LABEL_5: result = (__int64 *)v8; break; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source