// // LevelAreaLayer::showDialog from 0xb5a57c to 0xb5a7a4 (552 bytes) // // 3 xrefs: // > @ 0x5d538 // > LevelAreaLayer::init @ 0xb5c514 // > @ 0x15422e0 // // 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:02:08 +0000 // __int64 __fastcall LevelAreaLayer::showDialog(LevelAreaLayer *this) { GameManager *v2; // x0 cocos2d::CCArray *v3; // x0 cocos2d::CCArray *v4; // x23 cocos2d::CCObject *v5; // x0 cocos2d::CCObject *v6; // x0 char *v7; // x21 DialogLayer *v8; // x0 DialogLayer *v9; // x19 __int64 v10; // x0 __int64 v12; // [xsp+58h] [xbp+58h] BYREF __int64 v13; // [xsp+60h] [xbp+60h] void *v14; // [xsp+68h] [xbp+68h] __int64 v15; // [xsp+70h] [xbp+70h] BYREF __int64 v16; // [xsp+78h] [xbp+78h] void *v17; // [xsp+80h] [xbp+80h] v2 = (GameManager *)GameManager::sharedState(_stack_chk_guard); v3 = (cocos2d::CCArray *)GameManager::setUGV(v2, "29", 1u); v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(v3); v12 = 0; v13 = 0; v14 = nullptr; std::string::__init(&v12, "Scratch", 7u); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "Who left the lights on?", 0x1Fu); v5 = (cocos2d::CCObject *)DialogObject::create((char *)&v12, (char *)&v15, 13, 0, 0xFFFFFF, 1.0); cocos2d::CCArray::addObject(v4, v5); if ( (v15 & 1) != 0 ) operator delete(v17); if ( (v12 & 1) != 0 ) operator delete(v14); v12 = 0; v13 = 0; v14 = nullptr; std::string::__init(&v12, "Scratch", 7u); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "I got a bad feeling about this...", 0x3Bu); v6 = (cocos2d::CCObject *)DialogObject::create((char *)&v12, (char *)&v15, 11, 0, 0xFFFFFF, 1.0); cocos2d::CCArray::addObject(v4, v6); if ( (v15 & 1) != 0 ) operator delete(v17); if ( (v12 & 1) != 0 ) operator delete(v14); v7 = (char *)this + 408; v8 = (DialogLayer *)DialogLayer::createWithObjects(v4, (cocos2d::CCArray *)((char *)&dword_0 + 2)); *((_QWORD *)v8 + 78) = v7; v9 = v8; v10 = cocos2d::CCDirector::sharedDirector(v8); (*(void (__fastcall **)(_QWORD, DialogLayer *, __int64))(**(_QWORD **)(v10 + 272) + 464LL))( *(_QWORD *)(v10 + 272), v9, 1000); *((_QWORD *)v9 + 78) = v7; DialogLayer::updateChatPlacement((__int64)v9, 0); DialogLayer::animateInRandomSide(v9); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source