// // WorldSelectLayer::showCompleteDialog from 0x62d4e0 to 0x62d66e (398 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:55:14 +0000 // unsigned int __fastcall WorldSelectLayer::showCompleteDialog(WorldSelectLayer *this) { GameManager *v2; // r0 cocos2d::CCArray *v3; // r0 cocos2d::CCArray *v4; // r8 cocos2d::CCObject *v5; // r0 cocos2d::CCObject *v6; // r0 cocos2d::CCObject *v7; // r0 int v8; // r2 cocos2d::CCDirector *v9; // r4 int v11; // [sp+4h] [bp-24h] int v12; // [sp+4h] [bp-24h] int v13; // [sp+4h] [bp-24h] int v14; // [sp+Ch] [bp-1Ch] BYREF int v15; // [sp+10h] [bp-18h] int v16; // [sp+14h] [bp-14h] int v17; // [sp+18h] [bp-10h] BYREF int v18; // [sp+1Ch] [bp-Ch] int v19; // [sp+20h] [bp-8h] *((_BYTE *)this + 344) = 0; v2 = (GameManager *)GameManager::sharedState(this); v3 = (cocos2d::CCArray *)GameManager::setUGV(v2, "18", (_BYTE *)&dword_0 + 1); v14 = 0; v15 = 0; v16 = 0; v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(v3); std::string::__init(&v14, "The Keymaster", 0xDu); v17 = 0; v18 = 0; v19 = 0; std::string::__init( &v17, "Well, well, well... I see you have completed the first two islands.", 0x59u); LOWORD(v11) = -1; BYTE2(v11) = -1; v5 = (cocos2d::CCObject *)DialogObject::create((int)&v14, (int)&v17, 2, 1065353216, 0, v11); cocos2d::CCArray::addObject(v4, v5); std::string::~string((int)&v17); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "The Keymaster", 0xDu); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "Not bad, not bad at all.\nWhy not try some online levels?", 0x4Cu); LOWORD(v12) = -1; BYTE2(v12) = -1; v6 = (cocos2d::CCObject *)DialogObject::create((int)&v14, (int)&v17, 2, 1062836634, 0, v12); cocos2d::CCArray::addObject(v4, v6); std::string::~string((int)&v17); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "The Keymaster", 0xDu); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "Let's see what more you can do...", 0x3Bu); LOWORD(v13) = -1; BYTE2(v13) = -1; v7 = (cocos2d::CCObject *)DialogObject::create((int)&v14, (int)&v17, 2, 1065353216, 0, v13); cocos2d::CCArray::addObject(v4, v7); std::string::~string((int)&v17); std::string::~string((int)&v14); v9 = DialogLayer::createWithObjects(v4, (cocos2d::CCArray *)((char *)&dword_0 + 2), v8); (*(void (__fastcall **)(WorldSelectLayer *, cocos2d::CCDirector *, int))(*(_DWORD *)this + 232))(this, v9, 100); DialogLayer::updateChatPlacement(v9, 0); return DialogLayer::animateInRandomSide(v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source