// // WorldSelectLayer::showCompleteDialog from 0x4fc678 to 0x4fc7ee (374 bytes) // // 0 xrefs: // // 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 WorldSelectLayer::showCompleteDialog(WorldSelectLayer *a1) { GameManager *v2; // r0 cocos2d::CCArray *v3; // r0 cocos2d::CCArray *v4; // r7 cocos2d::CCObject *v5; // r0 cocos2d::CCObject *v6; // r0 cocos2d::CCObject *v7; // r0 DialogLayer *v8; // r4 int v9; // [sp+4h] [bp-10h] int v10; // [sp+4h] [bp-10h] int v11; // [sp+4h] [bp-10h] char v12; // [sp+1Ch] [bp+8h] BYREF _BYTE v13[4]; // [sp+20h] [bp+Ch] BYREF a1->m_buttonsLocked = 0; v2 = GameManager::sharedState(); GameManager::setUGV(v2, "18", 1); v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(v3); sub_776584((int)&v12, "The Keymaster"); sub_776584((int)v13, "Well, well, well... I see you have completed the first two islands."); LOWORD(v9) = -1; BYTE2(v9) = -1; v5 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v12, (std::string)v13, (std::string)2, 1065353216, 0.0, v9); cocos2d::CCArray::addObject(v4, v5); sub_774008(v13); sub_774008(&v12); sub_776584((int)&v12, "The Keymaster"); sub_776584((int)v13, "Not bad, not bad at all.\nWhy not try some online levels?"); LOWORD(v10) = -1; BYTE2(v10) = -1; v6 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v12, (std::string)v13, (std::string)2, 1062836634, 0.0, v10); cocos2d::CCArray::addObject(v4, v6); sub_774008(v13); sub_774008(&v12); sub_776584((int)&v12, "The Keymaster"); sub_776584((int)v13, "Let's see what more you can do..."); LOWORD(v11) = -1; BYTE2(v11) = -1; v7 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v12, (std::string)v13, (std::string)2, 1065353216, 0.0, v11); cocos2d::CCArray::addObject(v4, v7); sub_774008(v13); sub_774008(&v12); v8 = DialogLayer::createWithObjects(v4, (int)&dword_0 + 2); a1->addChild_0(a1, v8, 100); DialogLayer::updateChatPlacement(v8, Center); DialogLayer::animateInRandomSide(v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source