// // SecretLayer3::revealStep4 from 0x100310db4 to 0x100311158 (932 bytes) // // 1 xrefs: // > SecretLayer3::revealStep3 @ 0x100310d7c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall SecretLayer3::revealStep4(SecretLayer3 *a1) { cocos2d::CCArray *v2; // x20 GameManager *v3; // x0 const char *p_dst; // x8 cocos2d::CCString *v5; // x0 char *CString; // x0 char *v7; // x1 DialogLayer *v8; // x20 void *v9[2]; // [xsp+10h] [xbp-180h] BYREF char v10; // [xsp+27h] [xbp-169h] void *v11[2]; // [xsp+28h] [xbp-168h] BYREF char v12; // [xsp+3Fh] [xbp-151h] void *v13[2]; // [xsp+40h] [xbp-150h] BYREF char v14; // [xsp+57h] [xbp-139h] void *v15[2]; // [xsp+58h] [xbp-138h] BYREF char v16; // [xsp+6Fh] [xbp-121h] void *v17[2]; // [xsp+70h] [xbp-120h] BYREF char v18; // [xsp+87h] [xbp-109h] void *v19[2]; // [xsp+88h] [xbp-108h] BYREF char v20; // [xsp+9Fh] [xbp-F1h] void *__p[2]; // [xsp+A0h] [xbp-F0h] BYREF char v22; // [xsp+B7h] [xbp-D9h] void *v23[2]; // [xsp+B8h] [xbp-D8h] BYREF char v24; // [xsp+CFh] [xbp-C1h] __int128 __dst; // [xsp+D0h] [xbp-C0h] BYREF char *longStorage; // [xsp+E0h] [xbp-B0h] void *v27[2]; // [xsp+E8h] [xbp-A8h] BYREF char v28; // [xsp+FFh] [xbp-91h] void *v29[2]; // [xsp+100h] [xbp-90h] BYREF char v30; // [xsp+117h] [xbp-79h] void *v31[2]; // [xsp+118h] [xbp-78h] BYREF char v32; // [xsp+12Fh] [xbp-61h] void *v33[2]; // [xsp+130h] [xbp-60h] BYREF char v34; // [xsp+147h] [xbp-49h] void *v35[2]; // [xsp+148h] [xbp-48h] BYREF char v36; // [xsp+15Fh] [xbp-31h] v2 = (cocos2d::CCArray *)sub_10024A15C(); sub_100009900(v35, "..."); sub_100009900(v33, "RubRub told me he was cooking some chicken. Then he locked me in."); DialogObject::create((__int64)v35, (__int64)v33, 16, 0, 0xFFFFFF, 0.8); sub_10024A2D0((__int64)v2); if ( v34 < 0 ) operator delete(v33[0]); if ( v36 < 0 ) operator delete(v35[0]); sub_100009900(v31, "..."); sub_100009900(v29, "Now that you have freed me, I can continue my master plan."); DialogObject::create((__int64)v31, (__int64)v29, 16, 0, 0xFFFFFF, 1.0); sub_10024A2D0((__int64)v2); if ( v30 < 0 ) operator delete(v29[0]); if ( v32 < 0 ) operator delete(v31[0]); v3 = GameManager::sharedState(); if ( v3->m_playerName.m_data.m_short.shortStorage.__elems_[22] < 0 ) { sub_1000097D0(&__dst, (void *)v3->m_playerName.m_data.m_long.capacitym1, v3->m_playerName.m_data.m_long.size); } else { __dst = *(_OWORD *)&v3->m_playerName.m_data.m_short.sizex2; longStorage = v3->m_playerName.m_data.m_long.longStorage; } p_dst = (const char *)&__dst; if ( SHIBYTE(longStorage) < 0 ) p_dst = (const char *)__dst; v5 = (cocos2d::CCString *)sub_100268F4C( "DESTROY the world of Geometry Dash! And I couldn't have done it with" "out you %s.", p_dst); CString = (char *)cocos2d::CCString::getCString(v5); sub_100009900(v27, CString); if ( SHIBYTE(longStorage) < 0 ) operator delete((void *)__dst); sub_100009900(v23, "..."); if ( v28 >= 0 ) v7 = (char *)v27; else v7 = (char *)v27[0]; sub_100009900(__p, v7); DialogObject::create((__int64)v23, (__int64)__p, 16, 0, 0xFFFFFF, 0.8); sub_10024A2D0((__int64)v2); if ( v22 < 0 ) operator delete(__p[0]); if ( v24 < 0 ) operator delete(v23[0]); sub_100009900(v19, "..."); sub_100009900(v17, "But I almost forgot, I left you a small gift. As a token of my appreciation."); DialogObject::create((__int64)v19, (__int64)v17, 16, 0, 0xFFFFFF, 0.8); sub_10024A2D0((__int64)v2); if ( v18 < 0 ) operator delete(v17[0]); if ( v20 < 0 ) operator delete(v19[0]); sub_100009900(v15, "..."); sub_100009900(v13, "You should prepare yourself for when I return."); DialogObject::create((__int64)v15, (__int64)v13, 16, 0, 0xFFFFFF, 1.0); sub_10024A2D0((__int64)v2); if ( v14 < 0 ) operator delete(v13[0]); if ( v16 < 0 ) operator delete(v15[0]); sub_100009900(v11, "..."); sub_100009900(v9, "You will need it..."); DialogObject::create((__int64)v11, (__int64)v9, 16, 0, 0xFFFFFF, 1.0); sub_10024A2D0((__int64)v2); if ( v10 < 0 ) operator delete(v9[0]); if ( v12 < 0 ) operator delete(v11[0]); v8 = DialogLayer::createWithObjects(v2, 4); ((void (__fastcall *)(SecretLayer3 *, DialogLayer *, __int64))a1->addChild_0)(a1, v8, 100); v8->m_delegate = &a1->DialogDelegate; ((void (__fastcall *)(DialogLayer *, __int64))v8->setTag)(v8, 4); DialogLayer::updateChatPlacement(v8, Top); DialogLayer::animateIn(v8, FromCenter); if ( v28 < 0 ) operator delete(v27[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source