// // CreatorLayer::dialogClosed from 0x3aaef0 to 0x3aaf40 (80 bytes) // // 1 xrefs: // > `non-virtual thunk to'CreatorLayer::dialogClosed @ 0x3aaf4c // // 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 CreatorLayer::dialogClosed(CreatorLayer *a1, DialogLayer *a2) { int v3; // r0 GameManager *v4; // r0 cocos2d::CCSprite *m_secretDoorSprite; // r4 void (__fastcall *setDisplayFrame)(cocos2d::CCSprite *__hidden, cocos2d::CCSpriteFrame *); // r5 cocos2d::CCSpriteFrameCache *v7; // r0 cocos2d::CCSpriteFrame *v8; // r0 v3 = a2->getTag(a2); if ( v3 ) { if ( v3 == 1 ) CreatorLayer::onAdventureMap(a1, nullptr); } else { v4 = GameManager::sharedState(); GameManager::setUGV(v4, (const char *)&aO1i2r3e45s7t89[8], 1); m_secretDoorSprite = a1->m_secretDoorSprite; setDisplayFrame = m_secretDoorSprite->setDisplayFrame; v7 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, "secretDoorBtn_open_001.png"); setDisplayFrame(m_secretDoorSprite, v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source