// // SecretLayer3::revealStep5 from 0x4ea894 to 0x4eaaa8 (532 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 SecretLayer3::revealStep5(SecretLayer3 *a1) { cocos2d::CCArray *v2; // r8 cocos2d::CCObject *v3; // r0 cocos2d::CCObject *v4; // r0 cocos2d::CCObject *v5; // r0 cocos2d::CCObject *v6; // r0 cocos2d::CCObject *v7; // r0 DialogLayer *v8; // r4 int v9; // [sp+4h] [bp-8h] int v10; // [sp+4h] [bp-8h] int v11; // [sp+4h] [bp-8h] int v12; // [sp+4h] [bp-8h] int v13; // [sp+4h] [bp-8h] char v14; // [sp+14h] [bp+8h] BYREF _BYTE v15[4]; // [sp+18h] [bp+Ch] BYREF v2 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1); sub_776584((int)&v14, "The Keymaster"); sub_776584((int)v15, "Hey I heard some noi..."); LOWORD(v9) = -1; BYTE2(v9) = -1; v3 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v14, (std::string)v15, (std::string)2, 1065353216, 0.0, v9); cocos2d::CCArray::addObject(v2, v3); sub_774008(v15); sub_774008(&v14); sub_776584((int)&v14, "The Keymaster"); sub_776584((int)v15, "Wait... Is the gate..."); LOWORD(v10) = -1; BYTE2(v10) = -1; v4 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v14, (std::string)v15, (std::string)4, 1065353216, 0.0, v10); cocos2d::CCArray::addObject(v2, v4); sub_774008(v15); sub_774008(&v14); sub_776584((int)&v14, "The Keymaster"); sub_776584((int)v15, "... You opened the gate..."); LOWORD(v11) = -1; BYTE2(v11) = -1; v5 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v14, (std::string)v15, (std::string)17, 1065353216, 0.0, v11); cocos2d::CCArray::addObject(v2, v5); sub_774008(v15); sub_774008(&v14); sub_776584((int)&v14, "The Keymaster"); sub_776584((int)v15, "YOU OPENED THE GATE!\nGAH THIS IS BAD."); LOWORD(v12) = -1; BYTE2(v12) = -1; v6 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v14, (std::string)v15, (std::string)18, 1065353216, 0.0, v12); cocos2d::CCArray::addObject(v2, v6); sub_774008(v15); sub_774008(&v14); sub_776584((int)&v14, "The Keymaster"); sub_776584((int)v15, "BAD BAD BAD BAD BAD BAD BAD BAD BAD BAD BAD BAD..."); LOWORD(v13) = -1; BYTE2(v13) = -1; v7 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v14, (std::string)v15, (std::string)18, 1065353216, 0.0, v13); cocos2d::CCArray::addObject(v2, v7); sub_774008(v15); sub_774008(&v14); v8 = DialogLayer::createWithObjects(v2, (int)&dword_0 + 2); a1->addChild_0(a1, v8, 100); v8->m_delegate = &a1->DialogDelegate; v8->setTag(v8, 5); DialogLayer::updateChatPlacement(v8, Center); DialogLayer::animateIn(v8, FromLeft); }
GD Web Decomp Icon

GD Web Decomp

Raw Source