// // SecretLayer4::showFirstDialog from 0x621958 to 0x621b4c (500 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:06 +0000 // unsigned int __fastcall SecretLayer4::showFirstDialog(SecretLayer4 *this) { GameManager *v2; // r0 cocos2d::CCArray *v3; // r0 cocos2d::CCArray *v4; // r9 cocos2d::CCObject *v5; // r0 cocos2d::CCObject *v6; // r0 cocos2d::CCObject *v7; // r0 cocos2d::CCObject *v8; // r0 int v9; // r2 cocos2d::CCDirector *v10; // r4 int v12; // [sp+4h] [bp-24h] int v13; // [sp+4h] [bp-24h] int v14; // [sp+4h] [bp-24h] int v15; // [sp+4h] [bp-24h] int v16; // [sp+Ch] [bp-1Ch] BYREF int v17; // [sp+10h] [bp-18h] int v18; // [sp+14h] [bp-14h] int v19; // [sp+18h] [bp-10h] BYREF int v20; // [sp+1Ch] [bp-Ch] int v21; // [sp+20h] [bp-8h] v2 = (GameManager *)GameManager::sharedState(this); v3 = (cocos2d::CCArray *)GameManager::setUGV(v2, (char *)&a1i2r3e45s789g[11], (_BYTE *)&dword_0 + 1); v16 = 0; v17 = 0; v18 = 0; v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(v3); std::string::__init(&v16, "The Gatekeeper", 0xEu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "Wait, you are not RubRub...", 0x23u); LOWORD(v12) = -1; BYTE2(v12) = -1; v5 = (cocos2d::CCObject *)DialogObject::create((int)&v16, (int)&v19, 3, 1065353216, 1, v12); cocos2d::CCArray::addObject(v4, v5); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "The Gatekeeper", 0xEu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "You seem to be skilled in the art of deception...", 0x39u); LOWORD(v13) = -1; BYTE2(v13) = -1; v6 = (cocos2d::CCObject *)DialogObject::create((int)&v16, (int)&v19, 3, 1065353216, 0, v13); cocos2d::CCArray::addObject(v4, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "The Gatekeeper", 0xEu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "But it does not matter, your trickery ends here.", 0x38u); LOWORD(v14) = -1; BYTE2(v14) = -1; v7 = (cocos2d::CCObject *)DialogObject::create((int)&v16, (int)&v19, 3, 1065353216, 0, v14); cocos2d::CCArray::addObject(v4, v7); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "The Gatekeeper", 0xEu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "Leave now, before you cause more problems...", 0x4Cu); LOWORD(v15) = -1; BYTE2(v15) = -1; v8 = (cocos2d::CCObject *)DialogObject::create((int)&v16, (int)&v19, 3, 1065353216, 0, v15); cocos2d::CCArray::addObject(v4, v8); std::string::~string((int)&v19); std::string::~string((int)&v16); v10 = DialogLayer::createWithObjects(v4, (cocos2d::CCArray *)((char *)&dword_0 + 2), v9); (*(void (__fastcall **)(SecretLayer4 *, cocos2d::CCDirector *, int))(*(_DWORD *)this + 232))(this, v10, 100); DialogLayer::updateChatPlacement(v10, 0); return DialogLayer::animateIn(v10, 2u); }
GD Web Decomp Icon

GD Web Decomp

Raw Source