// // DialogLayer::updateNavButtonFrame from 0x1003c7c80 to 0x1003c7ce5 (101 bytes) // // 0 xrefs: // // 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 __fastcall DialogLayer::updateNavButtonFrame(DialogLayer *a1) { cocos2d::CCArray *m_dialogObjects; // rdi const char *v3; // r14 cocos2d::CCSprite *m_navButtonSprite; // rbx cocos2d::CCSpriteFrameCache *v5; // rax cocos2d::CCSpriteFrame *v6; // rax m_dialogObjects = a1->m_dialogObjects; if ( m_dialogObjects ) { v3 = "GJ_chatBtn_01_001.png"; if ( !(unsigned int)sub_100720070(m_dialogObjects) ) v3 = "GJ_chatBtn_02_001.png"; } else { v3 = "GJ_chatBtn_02_001.png"; } m_navButtonSprite = a1->m_navButtonSprite; v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v3); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))m_navButtonSprite->setDisplayFrame)( m_navButtonSprite, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source