// // SecretLayer3::firstInteractionStep4 from 0x4ea4f8 to 0x4ea6ba (450 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::firstInteractionStep4(SecretLayer3 *a1) { cocos2d::CCArray *v2; // r9 cocos2d::CCObject *v3; // r0 cocos2d::CCObject *v4; // r0 cocos2d::CCObject *v5; // r0 cocos2d::CCObject *v6; // r0 DialogLayer *v7; // r4 int v8; // [sp+4h] [bp-8h] int v9; // [sp+4h] [bp-8h] int v10; // [sp+4h] [bp-8h] int v11; // [sp+4h] [bp-8h] char v12; // [sp+14h] [bp+8h] BYREF _BYTE v13[4]; // [sp+18h] [bp+Ch] BYREF v2 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)a1); sub_776584((int)&v12, "..."); sub_776584((int)v13, "RubRub locked me in here, for no reason."); LOWORD(v8) = -1; BYTE2(v8) = -1; v3 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v12, (std::string)v13, (std::string)15, 1065353216, 0.0, v8); cocos2d::CCArray::addObject(v2, v3); sub_774008(v13); sub_774008(&v12); sub_776584((int)&v12, "..."); sub_776584((int)v13, "He said there would be chicken."); LOWORD(v9) = -1; BYTE2(v9) = -1; v4 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v12, (std::string)v13, (std::string)15, 1065353216, 0.0, v9); cocos2d::CCArray::addObject(v2, v4); sub_774008(v13); sub_774008(&v12); sub_776584((int)&v12, "..."); sub_776584((int)v13, "There was no chicken..."); LOWORD(v10) = -1; BYTE2(v10) = -1; v5 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v12, (std::string)v13, (std::string)15, 1065353216, 0.0, v10); cocos2d::CCArray::addObject(v2, v5); sub_774008(v13); sub_774008(&v12); sub_776584((int)&v12, "..."); sub_776584((int)v13, "I cannot stay here any longer.\nYou must find a way to release me."); LOWORD(v11) = -1; BYTE2(v11) = -1; v6 = (cocos2d::CCObject *)DialogObject::create( (DialogObject *)&v12, (std::string)v13, (std::string)15, 1063675494, 0.0, v11); cocos2d::CCArray::addObject(v2, v6); sub_774008(v13); sub_774008(&v12); v7 = DialogLayer::createWithObjects(v2, (int)byte_4); a1->addChild_0(a1, v7, 100); v7->m_delegate = &a1->DialogDelegate; v7->setTag(v7, 2); DialogLayer::updateChatPlacement(v7, Top); DialogLayer::animateIn(v7, FromCenter); }
GD Web Decomp Icon

GD Web Decomp

Raw Source