// // SecretLayer3::revealStep4 from 0xa8ec34 to 0xa8f26c (1592 bytes) // // 3 xrefs: // > @ 0x47cb0 // > SecretLayer3::revealStep3 @ 0xa8b38c // > @ 0x1541610 // // 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:39 +0000 // __int64 __fastcall SecretLayer3::revealStep4(SecretLayer3 *this) { cocos2d::CCArray *v2; // x20 cocos2d::CCObject *v3; // x0 cocos2d::CCObject *v4; // x0 GameManager *v5; // x0 __int64 v6; // x0 __int64 v7; // x1 char *v8; // x1 cocos2d::CCString *v9; // x0 size_t v10; // x0 const char *v11; // x1 size_t v12; // x0 cocos2d::CCObject *v13; // x0 cocos2d::CCObject *v14; // x0 cocos2d::CCObject *v15; // x0 cocos2d::CCObject *v16; // x0 cocos2d::CCNode *v17; // x19 __int64 v18; // x2 char *CString; // [xsp+68h] [xbp+68h] char *v21; // [xsp+68h] [xbp+68h] __int64 v22[2]; // [xsp+70h] [xbp+70h] BYREF void *v23; // [xsp+80h] [xbp+80h] __int64 v24[2]; // [xsp+88h] [xbp+88h] BYREF void *v25; // [xsp+98h] [xbp+98h] __int64 v26[2]; // [xsp+A0h] [xbp+A0h] BYREF void *v27; // [xsp+B0h] [xbp+B0h] __int64 v28[2]; // [xsp+B8h] [xbp+B8h] BYREF void *v29; // [xsp+C8h] [xbp+C8h] __int64 v30[2]; // [xsp+D0h] [xbp+D0h] BYREF void *v31; // [xsp+E0h] [xbp+E0h] __int64 v32[2]; // [xsp+E8h] [xbp+E8h] BYREF void *v33; // [xsp+F8h] [xbp+F8h] __int64 v34[2]; // [xsp+100h] [xbp+100h] BYREF void *v35; // [xsp+110h] [xbp+110h] GameManager *v36; // [xsp+118h] [xbp+118h] BYREF __int64 v37; // [xsp+120h] [xbp+120h] void *v38; // [xsp+128h] [xbp+128h] __int64 v39; // [xsp+130h] [xbp+130h] BYREF __int64 v40; // [xsp+138h] [xbp+138h] char *v41; // [xsp+140h] [xbp+140h] v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(_stack_chk_guard); v36 = nullptr; v37 = 0; v38 = nullptr; std::string::__init((__int64 *)&v36, "...", 3u); v39 = 0; v40 = 0; v41 = nullptr; std::string::__init(&v39, "RubRub told me he was cooking some chicken. Then he locked me in.", 0x4Fu); v3 = (cocos2d::CCObject *)DialogObject::create((char *)&v36, (char *)&v39, 16, 0, 0xFFFFFF, 0.8); cocos2d::CCArray::addObject(v2, v3); if ( (v39 & 1) != 0 ) operator delete(v41); if ( ((unsigned __int8)v36 & 1) != 0 ) operator delete(v38); v36 = nullptr; v37 = 0; v38 = nullptr; std::string::__init((__int64 *)&v36, "...", 3u); v39 = 0; v40 = 0; v41 = nullptr; std::string::__init(&v39, "Now that you have freed me, I can continue my master plan.", 0x3Au); v4 = (cocos2d::CCObject *)DialogObject::create((char *)&v36, (char *)&v39, 16, 0, 0xFFFFFF, 1.0); cocos2d::CCArray::addObject(v2, v4); if ( (v39 & 1) != 0 ) operator delete(v41); v5 = (GameManager *)(unsigned __int8)v36; if ( ((unsigned __int8)v36 & 1) != 0 ) operator delete(v38); v6 = GameManager::sharedState(v5); v39 = 0; v40 = 0; v41 = nullptr; if ( (*(_BYTE *)(v6 + 632) & 1) != 0 ) { std::string::__init(&v39, *(void **)(v6 + 648), *(_QWORD *)(v6 + 640)); } else { v7 = *(_QWORD *)(v6 + 640); v39 = *(_QWORD *)(v6 + 632); v40 = v7; v41 = *(char **)(v6 + 648); } v8 = (char *)&v39 + 1; if ( (v39 & 1) != 0 ) v8 = v41; v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"DESTROY the world of Geometry Dash! And I could" "n't have done it without you %s.", v8); CString = (char *)cocos2d::CCString::getCString(v9); v22[0] = 0; v22[1] = 0; v23 = nullptr; v10 = strlen(CString); std::string::__init(v22, CString, v10); if ( (v39 & 1) != 0 ) operator delete(v41); v24[0] = 0; v24[1] = 0; v25 = nullptr; std::string::__init(v24, "...", 3u); v11 = (char *)v22 + 1; if ( (v22[0] & 1) != 0 ) v11 = (const char *)v23; v21 = (char *)v11; v26[0] = 0; v26[1] = 0; v27 = nullptr; v12 = strlen(v11); std::string::__init(v26, v21, v12); v13 = (cocos2d::CCObject *)DialogObject::create((char *)v24, (char *)v26, 16, 0, 0xFFFFFF, 0.8); cocos2d::CCArray::addObject(v2, v13); if ( (v26[0] & 1) != 0 ) operator delete(v27); if ( (v24[0] & 1) != 0 ) operator delete(v25); v28[0] = 0; v28[1] = 0; v29 = nullptr; std::string::__init(v28, "...", 3u); v30[0] = 0; v30[1] = 0; v31 = nullptr; std::string::__init( v30, "But I almost forgot, I left you a small gift. As a token of my appreciation.", 0x5Au); v14 = (cocos2d::CCObject *)DialogObject::create((char *)v28, (char *)v30, 16, 0, 0xFFFFFF, 0.8); cocos2d::CCArray::addObject(v2, v14); if ( (v30[0] & 1) != 0 ) operator delete(v31); if ( (v28[0] & 1) != 0 ) operator delete(v29); v32[0] = 0; v32[1] = 0; v33 = nullptr; std::string::__init(v32, "...", 3u); v34[0] = 0; v34[1] = 0; v35 = nullptr; std::string::__init(v34, "You should prepare yourself for when I return.", 0x36u); v15 = (cocos2d::CCObject *)DialogObject::create((char *)v32, (char *)v34, 16, 0, 0xFFFFFF, 1.0); cocos2d::CCArray::addObject(v2, v15); if ( (v34[0] & 1) != 0 ) operator delete(v35); if ( (v32[0] & 1) != 0 ) operator delete(v33); v36 = nullptr; v37 = 0; v38 = nullptr; std::string::__init((__int64 *)&v36, "...", 3u); v39 = 0; v40 = 0; v41 = nullptr; std::string::__init(&v39, "You will need it...", 0x2Du); v16 = (cocos2d::CCObject *)DialogObject::create((char *)&v36, (char *)&v39, 16, 0, 0xFFFFFF, 1.0); cocos2d::CCArray::addObject(v2, v16); if ( (v39 & 1) != 0 ) operator delete(v41); if ( ((unsigned __int8)v36 & 1) != 0 ) operator delete(v38); v17 = (cocos2d::CCNode *)DialogLayer::createWithObjects(v2, (cocos2d::CCArray *)byte_4); (*(void (__fastcall **)(SecretLayer3 *, cocos2d::CCNode *, __int64))(*(_QWORD *)this + 464LL))(this, v17, 100); v18 = *(_QWORD *)v17; *((_QWORD *)v17 + 78) = (char *)this + 408; (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(v18 + 72))(v17, 4); DialogLayer::updateChatPlacement((__int64)v17, 1); DialogLayer::animateIn(v17, 1u); if ( (v22[0] & 1) != 0 ) operator delete(v23); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source