// // DialogLayer::finishCurrentAnimation from 0x1003c7f00 to 0x1003c7fb5 (181 bytes) // // 1 xrefs: // > DialogLayer::handleDialogTap @ 0x1003c7e56 // // 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::finishCurrentAnimation(DialogLayer *a1) { TextArea *m_textArea; // rdi cocos2d::CCArray *m_dialogObjects; // rdi const char *v4; // r14 cocos2d::CCSprite *m_navButtonSprite; // rbx cocos2d::CCSpriteFrameCache *v6; // rax cocos2d::CCSpriteFrame *v7; // rax a1->m_animating = 0; m_textArea = a1->m_textArea; if ( m_textArea ) { m_textArea->m_delegate = nullptr; TextArea::stopAllCharacterActions(m_textArea); TextArea::showAll(a1->m_textArea); } cocos2d::CCNode::stopAllActions(a1->m_navButtonSprite); ((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->m_navButtonSprite->setOpacity)(a1->m_navButtonSprite, 255); m_dialogObjects = a1->m_dialogObjects; if ( m_dialogObjects ) { v4 = "GJ_chatBtn_01_001.png"; if ( !(unsigned int)sub_100720070(m_dialogObjects) ) v4 = "GJ_chatBtn_02_001.png"; } else { v4 = "GJ_chatBtn_02_001.png"; } m_navButtonSprite = a1->m_navButtonSprite; v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, v4); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))m_navButtonSprite->setDisplayFrame)( m_navButtonSprite, v7); }