// // SecretLayer4::showFirstDialog from 0x1003548d8 to 0x100354af8 (544 bytes) // // 1 xrefs: // > SecretLayer4::init @ 0x1003540cc // // 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 SecretLayer4::showFirstDialog(SecretLayer4 *a1) { GameManager *v2; // x0 cocos2d::CCArray *v3; // x20 DialogLayer *v4; // x20 void *v5[2]; // [xsp+0h] [xbp-D0h] BYREF char v6; // [xsp+17h] [xbp-B9h] void *v7[2]; // [xsp+18h] [xbp-B8h] BYREF char v8; // [xsp+2Fh] [xbp-A1h] void *v9[2]; // [xsp+30h] [xbp-A0h] BYREF char v10; // [xsp+47h] [xbp-89h] void *v11[2]; // [xsp+48h] [xbp-88h] BYREF char v12; // [xsp+5Fh] [xbp-71h] void *__p[2]; // [xsp+60h] [xbp-70h] BYREF char v14; // [xsp+77h] [xbp-59h] void *v15[2]; // [xsp+78h] [xbp-58h] BYREF char v16; // [xsp+8Fh] [xbp-41h] void *v17[2]; // [xsp+90h] [xbp-40h] BYREF char v18; // [xsp+A7h] [xbp-29h] void *v19[2]; // [xsp+A8h] [xbp-28h] BYREF char v20; // [xsp+BFh] [xbp-11h] v2 = GameManager::sharedState(); GameManager::setUGV(v2, "9", 1); v3 = (cocos2d::CCArray *)sub_10024A15C(); sub_100009900(v19, "The Gatekeeper"); sub_100009900(v17, "Wait, you are not RubRub..."); DialogObject::create((__int64)v19, (__int64)v17, 3, 1, 0xFFFFFF, 1.0); sub_10024A2D0((__int64)v3); if ( v18 < 0 ) operator delete(v17[0]); if ( v20 < 0 ) operator delete(v19[0]); sub_100009900(v15, "The Gatekeeper"); sub_100009900(__p, "You seem to be skilled in the art of deception..."); DialogObject::create((__int64)v15, (__int64)__p, 3, 0, 0xFFFFFF, 1.0); sub_10024A2D0((__int64)v3); if ( v14 < 0 ) operator delete(__p[0]); if ( v16 < 0 ) operator delete(v15[0]); sub_100009900(v11, "The Gatekeeper"); sub_100009900(v9, "But it does not matter, your trickery ends here."); DialogObject::create((__int64)v11, (__int64)v9, 3, 0, 0xFFFFFF, 1.0); sub_10024A2D0((__int64)v3); if ( v10 < 0 ) operator delete(v9[0]); if ( v12 < 0 ) operator delete(v11[0]); sub_100009900(v7, "The Gatekeeper"); sub_100009900(v5, "Leave now, before you cause more problems..."); DialogObject::create((__int64)v7, (__int64)v5, 3, 0, 0xFFFFFF, 1.0); sub_10024A2D0((__int64)v3); if ( v6 < 0 ) operator delete(v5[0]); if ( v8 < 0 ) operator delete(v7[0]); v4 = DialogLayer::createWithObjects(v3, 2); ((void (__fastcall *)(SecretLayer4 *, DialogLayer *, __int64))a1->addChild_0)(a1, v4, 100); DialogLayer::updateChatPlacement(v4, Center); DialogLayer::animateIn(v4, FromLeft); }
GD Web Decomp Icon

GD Web Decomp

Raw Source