// // SecretLayer::getBasicMessage from 0xa5e968 to 0xa5ef1c (1460 bytes) // // 3 xrefs: // > SecretLayer::getMessage @ 0xa60248 // > SecretLayer::onSubmit @ 0xa61308 // > @ 0xd5ce8 // // 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:13 +0000 // __int64 *__usercall SecretLayer::getBasicMessage@(SecretLayer *this@, __int64 *a2@) { char v2; // cf char v3; // zf int v5; // w1 int v6; // w0 unsigned int v7; // w0 __int64 *v8; // x8 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] __int64 *v31; // [xsp+28h] [xbp+28h] __int64 *v32; // [xsp+28h] [xbp+28h] __int64 *v33; // [xsp+28h] [xbp+28h] __int64 *v34; // [xsp+28h] [xbp+28h] __int64 *v35; // [xsp+28h] [xbp+28h] __int64 *v36; // [xsp+28h] [xbp+28h] __int64 *v37; // [xsp+28h] [xbp+28h] __int64 *v38; // [xsp+28h] [xbp+28h] __int64 *v39; // [xsp+28h] [xbp+28h] __int64 *v40; // [xsp+28h] [xbp+28h] __int64 *v41; // [xsp+28h] [xbp+28h] v5 = *((_DWORD *)this + 109); v6 = *((_DWORD *)this + 106); *((_DWORD *)this + 109) = v5 + 1; if ( v6 < 0 ) { v13 = a2; v10 = rand(); a2 = v13; v7 = llroundf((float)((float)v10 * 4.6566e-10) * 10.0); } else { v7 = v6 + 1; } *((_DWORD *)this + 106) = v7; if ( !v3 & v2 ) { LABEL_8: *a2 = 0; a2[1] = 0; a2[2] = 0; v12 = a2; std::string::__init(a2, "Don't touch that!", 0x11u); 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, "What are you poking around for?", 0x1Fu); return v16; case 2u: *a2 = 0; a2[1] = 0; a2[2] = 0; v17 = a2; std::string::__init(a2, "Don't you have better things to do?", 0x23u); return v17; case 3u: *a2 = 0; a2[1] = 0; a2[2] = 0; v18 = a2; std::string::__init(a2, "There is no spoon", 0x11u); return v18; case 4u: *a2 = 0; a2[1] = 0; a2[2] = 0; v19 = a2; std::string::__init(a2, "Go away!", 8u); return v19; case 5u: *a2 = 0; a2[1] = 0; a2[2] = 0; v20 = a2; std::string::__init(a2, "I should have hid this room better...", 0x25u); return v20; case 6u: *a2 = 0; a2[1] = 0; a2[2] = 0; v21 = a2; std::string::__init(a2, "You're not supposed to be in here...", 0x24u); return v21; case 7u: *a2 = 0; a2[1] = 0; a2[2] = 0; v22 = a2; std::string::__init(a2, "RubRub won't like this...", 0x19u); return v22; case 8u: *a2 = 0; a2[1] = 0; a2[2] = 0; v23 = a2; std::string::__init(a2, "zzzZZZZ...", 0xAu); return v23; case 9u: goto LABEL_8; case 0xAu: *a2 = 0; a2[1] = 0; a2[2] = 0; v24 = a2; std::string::__init(a2, "Why U touch my stuff?", 0x15u); return v24; case 0xBu: *a2 = 0; a2[1] = 0; a2[2] = 0; v25 = a2; std::string::__init(a2, "RubRub better not find you in here...", 0x25u); return v25; case 0xCu: *a2 = 0; a2[1] = 0; a2[2] = 0; v26 = a2; std::string::__init(a2, "Can't you just leave?", 0x15u); return v26; case 0xDu: *a2 = 0; a2[1] = 0; a2[2] = 0; v27 = a2; std::string::__init(a2, "This is not the room you are looking for...", 0x2Bu); return v27; case 0xEu: *a2 = 0; a2[1] = 0; a2[2] = 0; v28 = a2; std::string::__init(a2, "Sneaky sneaky...", 0x10u); return v28; case 0xFu: *a2 = 0; a2[1] = 0; a2[2] = 0; v29 = a2; std::string::__init(a2, "It's my precious...", 0x13u); return v29; case 0x10u: *a2 = 0; a2[1] = 0; a2[2] = 0; v30 = a2; std::string::__init(a2, "You shall not pass!", 0x13u); return v30; case 0x11u: *a2 = 0; a2[1] = 0; a2[2] = 0; v31 = a2; std::string::__init(a2, "Don't push the button!", 0x16u); return v31; case 0x12u: *a2 = 0; a2[1] = 0; a2[2] = 0; v32 = a2; std::string::__init(a2, "You're gonna get me in trouble...", 0x21u); return v32; case 0x13u: *a2 = 0; a2[1] = 0; a2[2] = 0; v33 = a2; std::string::__init(a2, "This is getting ridiculus...", 0x1Cu); return v33; case 0x14u: *a2 = 0; a2[1] = 0; a2[2] = 0; v34 = a2; std::string::__init(a2, "Go collect some stars", 0x15u); return v34; case 0x15u: *a2 = 0; a2[1] = 0; a2[2] = 0; v35 = a2; std::string::__init(a2, "Maybe there are new levels?", 0x1Bu); return v35; case 0x16u: *a2 = 0; a2[1] = 0; a2[2] = 0; v36 = a2; std::string::__init(a2, "Just, stop bothering me", 0x17u); return v36; case 0x17u: *a2 = 0; a2[1] = 0; a2[2] = 0; v37 = a2; std::string::__init(a2, "I'm gonna stop talking", 0x16u); return v37; case 0x18u: *a2 = 0; a2[1] = 0; a2[2] = 0; v38 = a2; std::string::__init(a2, "...", 3u); return v38; case 0x19u: *a2 = 0; a2[1] = 0; a2[2] = 0; v39 = a2; std::string::__init(a2, "......", 6u); return v39; case 0x1Au: *a2 = 0; a2[1] = 0; a2[2] = 0; v40 = a2; std::string::__init(a2, "GAH!", 4u); return v40; case 0x1Bu: *a2 = 0; a2[1] = 0; a2[2] = 0; v41 = a2; std::string::__init(a2, "You're hopeless...", 0x12u); return v41; case 0x1Cu: *a2 = 0; a2[1] = 0; a2[2] = 0; v14 = a2; std::string::__init(a2, "Really, still here?", 0x13u); return v14; case 0x1Du: *a2 = 0; a2[1] = 0; a2[2] = 0; v15 = a2; std::string::__init(a2, "Fine, press the button", 0x16u); return v15; default: *((_DWORD *)this + 106) = 0; LABEL_4: *a2 = 0; a2[1] = 0; a2[2] = 0; v11 = a2; std::string::__init(a2, "How did you get in here?!", 0x19u); v8 = v11; break; } } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source