//
// GauntletSelectLayer::rewardedVideoFinished from 0x1402ffef0 to 0x1402fff5e (110 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407695f8
// > ??> @ 0x14091e464
//
// 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:30:07 +0000
//
struct cocos2d::CCAction *__fastcall GauntletSelectLayer::rewardedVideoFinished(__int64 a1)
{
__int64 v1; // rax
cocos2d::CCNode *v2; // rdi
__int64 v3; // rbx
struct cocos2d::CCFiniteTimeAction *v4; // rax
struct cocos2d::CCAction *v5; // rax
v1 = *(_QWORD *)(a1 + 16);
v2 = (cocos2d::CCNode *)(a1 - 424);
*(_BYTE *)(a1 + 89) = 1;
*(_BYTE *)(a1 - 424 + 512) = 0;
*(_BYTE *)(v1 + 628) = 1;
v3 = cocos2d::CCCallFunc::create(a1 - 424, GauntletSelectLayer::playUnlockAnimation);
v4 = cocos2d::CCDelayTime::create(0.1);
v5 = cocos2d::CCSequence::create(v4, v3, 0);
return cocos2d::CCNode::runAction(v2, v5);
}