//
// RewardUnlockLayer::showCloseButton from 0x1403d0480 to 0x1403d04f0 (112 bytes)
//
// 2 xrefs:
// > RewardUnlockLayer::playRewardEffect @ 0x1403d03c3
// > ??> @ 0x1406d7c4c
//
// 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 RewardUnlockLayer::showCloseButton(RewardUnlockLayer *a1)
{
float v1; // xmm3_4
bool v3; // dl
_BOOL8 v4; // rdx
CCLightFlash *v5; // rbx
struct cocos2d::CCFadeIn *v6; // rax
cocos2d::ccColor3B *v7; // r8
float v8; // [rsp+50h] [rbp+28h]
v3 = 1;
a1->m_rewardBtn->setVisible(a1->m_rewardBtn, v3);
LOBYTE(v4) = 1;
a1->m_rewardBtn->setEnabled(a1->m_rewardBtn, v4);
v5 = (CCLightFlash *)a1->m_rewardBtn->getNormalImage(a1->m_rewardBtn);
(*(void (__fastcall **)(cocos2d::CCArray **, _QWORD))&v5->m_lightStripArray->m_unknown2)(&v5->m_lightStripArray, 0);
v6 = cocos2d::CCFadeIn::create(1.0);
cocos2d::CCNode::runAction(v5, (cocos2d::CCPoint)v6, v7, v1, v8);
}