// // LevelPage::dialogClosed from 0x5139bc to 0x513a1a (94 bytes) // // 1 xrefs: // > `non-virtual thunk to'LevelPage::dialogClosed @ 0x513a28 // // 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:51:34 +0000 // cocos2d::CCSpriteFrameCache *__fastcall LevelPage::dialogClosed(LevelPage *this, DialogLayer *a2) { GameManager *v4; // r0 cocos2d::CCSpriteFrameCache *result; // r0 int v6; // r4 int (__fastcall *v7)(int, int); // r5 cocos2d::CCSpriteFrameCache *v8; // r0 int v9; // r0 if ( (*(int (__fastcall **)(DialogLayer *))(*(_DWORD *)a2 + 32))(a2) == 2 ) { v4 = (GameManager *)GameManager::sharedState((GameManager *)((char *)&dword_0 + 2)); result = (cocos2d::CCSpriteFrameCache *)GameManager::setUGV(v4, (char *)&a1i2r3e45s789g[10], (_BYTE *)&dword_0 + 1); v6 = *((_DWORD *)this + 100); if ( v6 ) { v7 = *(int (__fastcall **)(int, int))(*(_DWORD *)v6 + 580); v8 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(result); v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, "secretDoorBtn2_open_001.png"); return (cocos2d::CCSpriteFrameCache *)v7(v6, v9); } } else { result = (cocos2d::CCSpriteFrameCache *)(*(int (__fastcall **)(DialogLayer *))(*(_DWORD *)a2 + 32))(a2); if ( result == (cocos2d::CCSpriteFrameCache *)((char *)&dword_0 + 1) ) return (cocos2d::CCSpriteFrameCache *)LevelPage::onTheTower(this, nullptr); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source