// // LevelAreaLayer::showDialog from 0x100345278 to 0x1003453d4 (348 bytes) // // 1 xrefs: // > LevelAreaLayer::init @ 0x100344628 // // 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 LevelAreaLayer::showDialog(LevelAreaLayer *a1) { GameManager *v2; // x0 cocos2d::CCArray *v3; // x20 DialogLayer *v4; // x20 DialogDelegate *v5; // x19 cocos2d::CCDirector *v6; // x0 void *v7[2]; // [xsp+0h] [xbp-70h] BYREF char v8; // [xsp+17h] [xbp-59h] void *v9[2]; // [xsp+18h] [xbp-58h] BYREF char v10; // [xsp+2Fh] [xbp-41h] void *__p[2]; // [xsp+30h] [xbp-40h] BYREF char v12; // [xsp+47h] [xbp-29h] void *v13[2]; // [xsp+48h] [xbp-28h] BYREF char v14; // [xsp+5Fh] [xbp-11h] v2 = GameManager::sharedState(); GameManager::setUGV(v2, "29", 1); v3 = (cocos2d::CCArray *)sub_10024A15C(); sub_100009900(v13, "Scratch"); sub_100009900(__p, "Who left the lights on?"); DialogObject::create((__int64)v13, (__int64)__p, 13, 0, 0xFFFFFF, 1.0); sub_10024A2D0((__int64)v3); if ( v12 < 0 ) operator delete(__p[0]); if ( v14 < 0 ) operator delete(v13[0]); sub_100009900(v9, "Scratch"); sub_100009900(v7, "I got a bad feeling about this..."); DialogObject::create((__int64)v9, (__int64)v7, 11, 0, 0xFFFFFF, 1.0); sub_10024A2D0((__int64)v3); if ( v8 < 0 ) operator delete(v7[0]); if ( v10 < 0 ) operator delete(v9[0]); v4 = DialogLayer::createWithObjects(v3, 2); v5 = &a1->DialogDelegate; v4->m_delegate = v5; v6 = cocos2d::CCDirector::sharedDirector(); ((void (__fastcall *)(cocos2d::CCScene *, DialogLayer *, __int64))v6->m_pRunningScene->addChild_0)( v6->m_pRunningScene, v4, 1000); v4->m_delegate = v5; DialogLayer::updateChatPlacement(v4, Center); DialogLayer::animateInRandomSide(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source