// // LevelPage::dialogClosed from 0x14031d7a0 to 0x14031d876 (214 bytes) // // 2 xrefs: // > @ 0x14058d2c0 // > @ 0x1406d4b38 // // 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 // // Hidden C++ exception states: #wind=1 void LevelPage::dialogClosed(LevelPage *a1, DialogLayer *a2) { GameManager *v4; // rcx __int64 v5; // rcx __int64 *v6; // rbx __int64 v7; // rbx cocos2d::CCSpriteFrameCache *v8; // rax struct cocos2d::CCSpriteFrame *v9; // rax void *v10; // [rsp+38h] [rbp+10h] if ( a2->getTag(a2) == 2 ) { v4 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v10 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v4 = (GameManager *)qword_1406C2ED8; } GameManager::setUGV(v4, "8", 1); v6 = *(__int64 **)&a1->m_sTransform.ty; if ( v6 ) { v7 = *v6; v8 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v5); v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, "secretDoorBtn2_open_001.png"); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCSpriteFrame *))(v7 + 992))(*(_QWORD *)&a1->m_sTransform.ty, v9); } } else if ( a2->getTag(a2) == 1 ) { LevelPage::onTheTower((LevelPage *)((char *)a1 - 408), nullptr); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source