// // LevelPage::dialogClosed from 0x140446c60 to 0x140446d4b (235 bytes) // // 2 xrefs: // > @ 0x1407929f0 // > @ 0x140927218 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:32:23 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall LevelPage::dialogClosed(__int64 a1, __int64 a2) { __int64 v4; // rcx __int64 v5; // rdx __int64 v6; // rcx __int64 *v7; // rdi __int64 v8; // rdi __int64 v9; // rbx cocos2d::CCSpriteFrameCache *v10; // rax struct cocos2d::CCSpriteFrame *v11; // rax void *v12; // [rsp+38h] [rbp+10h] if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 2 ) { v4 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v12 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v4 = qword_14090BFD0; } GameManager::setUGV(v4, &word_14070D038, 1u); v7 = *(__int64 **)(a1 + 160); if ( v7 ) { v8 = *v7; v9 = *(_QWORD *)(a1 + 160); v10 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v6, v5); v11 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v10, "secretDoorBtn2_open_001.png"); (*(void (__fastcall **)(__int64, struct cocos2d::CCSpriteFrame *))(v8 + 1008))(v9, v11); } } else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == 1 ) { LevelPage::onTheTower(a1 - 408); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source