// // SecretLayer4::showFirstDialog from 0x4eff50 to 0x4f0110 (448 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 SecretLayer4::showFirstDialog(SecretLayer4 *a1) { GameManager *v2; // r0 cocos2d::CCArray *v3; // r0 cocos2d::CCArray *v4; // r8 cocos2d::CCObject *v5; // r0 cocos2d::CCObject *v6; // r0 cocos2d::CCObject *v7; // r0 cocos2d::CCObject *v8; // r0 DialogLayer *v9; // r4 int v10; // [sp+4h] [bp-20h] int v11; // [sp+4h] [bp-20h] int v12; // [sp+4h] [bp-20h] int v13; // [sp+4h] [bp-20h] char v14; // [sp+14h] [bp-10h] BYREF _BYTE v15[4]; // [sp+18h] [bp-Ch] BYREF v2 = GameManager::sharedState(); GameManager::setUGV(v2, (const char *)&aO1i2r3e45s7t89[13], 1); v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(v3); sub_776584((int)&v14, "The Gatekeeper"); sub_776584((int)v15, "Wait, you are not RubRub..."); LOWORD(v10) = -1; BYTE2(v10) = -1; v5 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v14, (std::string)v15, (std::string)3, 1065353216, COERCE_FLOAT(1), v10); cocos2d::CCArray::addObject(v4, v5); sub_774008(v15); sub_774008(&v14); sub_776584((int)&v14, "The Gatekeeper"); sub_776584((int)v15, "You seem to be skilled in the art of deception..."); LOWORD(v11) = -1; BYTE2(v11) = -1; v6 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v14, (std::string)v15, (std::string)3, 1065353216, 0.0, v11); cocos2d::CCArray::addObject(v4, v6); sub_774008(v15); sub_774008(&v14); sub_776584((int)&v14, "The Gatekeeper"); sub_776584((int)v15, "But it does not matter, your trickery ends here."); LOWORD(v12) = -1; BYTE2(v12) = -1; v7 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v14, (std::string)v15, (std::string)3, 1065353216, 0.0, v12); cocos2d::CCArray::addObject(v4, v7); sub_774008(v15); sub_774008(&v14); sub_776584((int)&v14, "The Gatekeeper"); sub_776584((int)v15, "Leave now, before you cause more problems..."); LOWORD(v13) = -1; BYTE2(v13) = -1; v8 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v14, (std::string)v15, (std::string)3, 1065353216, 0.0, v13); cocos2d::CCArray::addObject(v4, v8); sub_774008(v15); sub_774008(&v14); v9 = DialogLayer::createWithObjects(v4, (int)&dword_0 + 2); a1->addChild_0(a1, v9, 100); DialogLayer::updateChatPlacement(v9, Center); DialogLayer::animateIn(v9, FromLeft); }
GD Web Decomp Icon

GD Web Decomp

Raw Source