// // SecretLayer3::revealStep5 from 0x61cd58 to 0x61cfaa (594 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:00 +0000 // unsigned int __fastcall SecretLayer3::revealStep5(SecretLayer3 *this) { cocos2d::CCArray *v2; // r9 cocos2d::CCObject *v3; // r0 cocos2d::CCObject *v4; // r0 cocos2d::CCObject *v5; // r0 cocos2d::CCObject *v6; // r0 cocos2d::CCObject *v7; // r0 int v8; // r2 cocos2d::CCDirector *v9; // r6 int v11; // [sp+4h] [bp-24h] 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] v16 = 0; v17 = 0; v18 = 0; v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(this); std::string::__init(&v16, "The Keymaster", 0xDu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "Hey I heard some noi...", 0x17u); LOWORD(v11) = -1; BYTE2(v11) = -1; v3 = (cocos2d::CCObject *)DialogObject::create((int)&v16, (int)&v19, 2, 1065353216, 0, v11); cocos2d::CCArray::addObject(v2, v3); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "The Keymaster", 0xDu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "Wait... Is the gate...", 0x3Au); LOWORD(v12) = -1; BYTE2(v12) = -1; v4 = (cocos2d::CCObject *)DialogObject::create((int)&v16, (int)&v19, 4, 1065353216, 0, v12); cocos2d::CCArray::addObject(v2, v4); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "The Keymaster", 0xDu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "... You opened the gate...", 0x3Eu); LOWORD(v13) = -1; BYTE2(v13) = -1; v5 = (cocos2d::CCObject *)DialogObject::create((int)&v16, (int)&v19, 17, 1065353216, 0, v13); cocos2d::CCArray::addObject(v2, v5); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "The Keymaster", 0xDu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "YOU OPENED THE GATE!\nGAH THIS IS BAD.", 0x2Bu); LOWORD(v14) = -1; BYTE2(v14) = -1; v6 = (cocos2d::CCObject *)DialogObject::create((int)&v16, (int)&v19, 18, 1065353216, 0, v14); cocos2d::CCArray::addObject(v2, v6); std::string::~string((int)&v19); std::string::~string((int)&v16); v16 = 0; v17 = 0; v18 = 0; std::string::__init(&v16, "The Keymaster", 0xDu); v19 = 0; v20 = 0; v21 = 0; std::string::__init(&v19, "BAD BAD BAD BAD BAD BAD BAD BAD BAD BAD BAD BAD...", 0x4Cu); LOWORD(v15) = -1; BYTE2(v15) = -1; v7 = (cocos2d::CCObject *)DialogObject::create((int)&v16, (int)&v19, 18, 1065353216, 0, v15); cocos2d::CCArray::addObject(v2, v7); std::string::~string((int)&v19); std::string::~string((int)&v16); v9 = DialogLayer::createWithObjects(v2, (cocos2d::CCArray *)((char *)&dword_0 + 2), v8); (*(void (__fastcall **)(SecretLayer3 *, cocos2d::CCDirector *, int))(*(_DWORD *)this + 232))(this, v9, 100); *((_DWORD *)v9 + 122) = (char *)this + 316; (*(void (__fastcall **)(cocos2d::CCDirector *, int))(*(_DWORD *)v9 + 36))(v9, 5); DialogLayer::updateChatPlacement(v9, 0); return DialogLayer::animateIn(v9, 2u); }
GD Web Decomp Icon

GD Web Decomp

Raw Source