// // SecretLayer3::revealStep4 from 0x61d73c to 0x61dac8 (908 bytes) // // 0 xrefs: // // 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:01 +0000 // int __fastcall SecretLayer3::revealStep4(SecretLayer3 *this) { cocos2d::CCArray *v2; // r7 cocos2d::CCObject *v3; // r0 cocos2d::CCObject *v4; // r0 GameManager *v5; // r0 int v6; // r0 char *v7; // r1 cocos2d::CCString *v8; // r0 const char *CString; // r10 size_t v10; // r0 char *v11; // r1 size_t v12; // r0 cocos2d::CCObject *v13; // r0 cocos2d::CCObject *v14; // r0 cocos2d::CCObject *v15; // r0 cocos2d::CCObject *v16; // r0 int v17; // r2 cocos2d::CCDirector *v18; // r4 int v20; // [sp+4h] [bp-80h] int v21; // [sp+4h] [bp-80h] int v22; // [sp+4h] [bp-80h] int v23; // [sp+4h] [bp-80h] int v24; // [sp+4h] [bp-80h] int v25; // [sp+4h] [bp-80h] char *v26; // [sp+Ch] [bp-78h] int v27[2]; // [sp+10h] [bp-74h] BYREF char *v28; // [sp+18h] [bp-6Ch] int v29[3]; // [sp+1Ch] [bp-68h] BYREF int v30[3]; // [sp+28h] [bp-5Ch] BYREF int v31[3]; // [sp+34h] [bp-50h] BYREF int v32[3]; // [sp+40h] [bp-44h] BYREF int v33[3]; // [sp+4Ch] [bp-38h] BYREF int v34[3]; // [sp+58h] [bp-2Ch] BYREF int v35; // [sp+64h] [bp-20h] BYREF int v36; // [sp+68h] [bp-1Ch] int v37; // [sp+6Ch] [bp-18h] int v38; // [sp+70h] [bp-14h] BYREF int v39; // [sp+74h] [bp-10h] char *v40; // [sp+78h] [bp-Ch] v35 = 0; v36 = 0; v37 = 0; v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(this); std::string::__init(&v35, "...", 3u); v38 = 0; v39 = 0; v40 = nullptr; std::string::__init(&v38, "RubRub told me he was cooking some chicken. Then he locked me in.", 0x4Fu); LOWORD(v20) = -1; BYTE2(v20) = -1; v3 = (cocos2d::CCObject *)DialogObject::create((int)&v35, (int)&v38, 16, 1061997773, 0, v20); cocos2d::CCArray::addObject(v2, v3); std::string::~string((int)&v38); std::string::~string((int)&v35); v35 = 0; v36 = 0; v37 = 0; std::string::__init(&v35, "...", 3u); v38 = 0; v39 = 0; v40 = nullptr; std::string::__init(&v38, "Now that you have freed me, I can continue my master plan.", 0x3Au); LOWORD(v21) = -1; BYTE2(v21) = -1; v4 = (cocos2d::CCObject *)DialogObject::create((int)&v35, (int)&v38, 16, 1065353216, 0, v21); cocos2d::CCArray::addObject(v2, v4); std::string::~string((int)&v38); v5 = (GameManager *)std::string::~string((int)&v35); v6 = GameManager::sharedState(v5); std::string::basic_string(&v38, v6 + 448); if ( (v38 & 1) != 0 ) v7 = v40; else v7 = (char *)&v38 + 1; v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"DESTROY the world of Geometry Dash! And I could" "n't have done it without you %s.", v7, (unsigned __int8)v38 << 31); CString = (const char *)cocos2d::CCString::getCString(v8); v27[0] = 0; v27[1] = 0; v28 = nullptr; v10 = strlen(CString); std::string::__init(v27, CString, v10); std::string::~string((int)&v38); memset(v29, 0, sizeof(v29)); std::string::__init(v29, "...", 3u); if ( (v27[0] & 1) == 0 ) v11 = (char *)v27 + 1; v30[0] = 0; if ( (v27[0] & 1) != 0 ) v11 = v28; v30[1] = 0; v30[2] = 0; v26 = v11; v12 = strlen(v11); std::string::__init(v30, v26, v12); LOWORD(v22) = -1; BYTE2(v22) = -1; v13 = (cocos2d::CCObject *)DialogObject::create((int)v29, (int)v30, 16, 1061997773, 0, v22); cocos2d::CCArray::addObject(v2, v13); std::string::~string((int)v30); std::string::~string((int)v29); memset(v31, 0, sizeof(v31)); std::string::__init(v31, "...", 3u); memset(v32, 0, sizeof(v32)); std::string::__init( v32, "But I almost forgot, I left you a small gift. As a token of my appreciation.", 0x5Au); LOWORD(v23) = -1; BYTE2(v23) = -1; v14 = (cocos2d::CCObject *)DialogObject::create((int)v31, (int)v32, 16, 1061997773, 0, v23); cocos2d::CCArray::addObject(v2, v14); std::string::~string((int)v32); std::string::~string((int)v31); memset(v33, 0, sizeof(v33)); std::string::__init(v33, "...", 3u); memset(v34, 0, sizeof(v34)); std::string::__init(v34, "You should prepare yourself for when I return.", 0x36u); LOWORD(v24) = -1; BYTE2(v24) = -1; v15 = (cocos2d::CCObject *)DialogObject::create((int)v33, (int)v34, 16, 1065353216, 0, v24); cocos2d::CCArray::addObject(v2, v15); std::string::~string((int)v34); std::string::~string((int)v33); v35 = 0; v36 = 0; v37 = 0; std::string::__init(&v35, "...", 3u); v38 = 0; v39 = 0; v40 = nullptr; std::string::__init(&v38, "You will need it...", 0x2Du); LOWORD(v25) = -1; BYTE2(v25) = -1; v16 = (cocos2d::CCObject *)DialogObject::create((int)&v35, (int)&v38, 16, 1065353216, 0, v25); cocos2d::CCArray::addObject(v2, v16); std::string::~string((int)&v38); std::string::~string((int)&v35); v18 = DialogLayer::createWithObjects(v2, (cocos2d::CCArray *)byte_4, v17); (*(void (__fastcall **)(SecretLayer3 *, cocos2d::CCDirector *, int))(*(_DWORD *)this + 232))(this, v18, 100); *((_DWORD *)v18 + 122) = (char *)this + 316; (*(void (__fastcall **)(cocos2d::CCDirector *, int))(*(_DWORD *)v18 + 36))(v18, 4); DialogLayer::updateChatPlacement(v18, 1); DialogLayer::animateIn(v18, 1u); return std::string::~string((int)v27); }
GD Web Decomp Icon

GD Web Decomp

Raw Source