//
// RewardUnlockLayer::showCloseButton from 0x140565de0 to 0x140565e53 (115 bytes)
//
// 2 xrefs:
// > RewardUnlockLayer::playRewardEffect @ 0x140565d25
// > ??> @ 0x14092c54c
//
// 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:34:17 +0000
//
struct cocos2d::CCAction *__fastcall RewardUnlockLayer::showCloseButton(__int64 a1, __int64 a2)
{
__int64 v3; // rdx
cocos2d::CCNode *v4; // rbx
struct cocos2d::CCAction *v5; // rax
LOBYTE(a2) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 728) + 336LL))(*(_QWORD *)(a1 + 728), a2);
LOBYTE(v3) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 728) + 936LL))(*(_QWORD *)(a1 + 728), v3);
v4 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 728) + 952LL))(*(_QWORD *)(a1 + 728));
(*(void (__fastcall **)(_QWORD *, _QWORD))(*((_QWORD *)v4 + 40) + 40LL))((_QWORD *)v4 + 40, 0);
v5 = cocos2d::CCFadeIn::create(1.0);
return cocos2d::CCNode::runAction(v4, v5);
}