//
// GameManager::rewardedVideoAdFinished from 0x100380350 to 0x1003803ff (175 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 GameManager::rewardedVideoAdFinished(GameManager *a1, int a2)
{
unsigned int v2; // r14d
unsigned int v3; // eax
int v4; // ecx
int v5; // r8d
int v6; // r9d
cocos2d::CCAction *v7; // r14
timeb v8; // [rsp+0h] [rbp-20h] BYREF
ftime(&v8);
a1->m_adTimer = (double)(v8.millitm + 1000 * (v8.time & 0xFFFFF)) / 1000.0;
cocos2d::CCNode::stopActionByTag(a1, 10);
v2 = (unsigned int)cocos2d::CCDelayTime::create(0.050000001);
v3 = (unsigned int)cocos2d::CCCallFunc::create(
a1,
(cocos2d::SEL_CallFunc)(unsigned __int64)GameManager::rewardedVideoHidden);
v7 = (cocos2d::CCAction *)sub_1003B5760(v2, v3, 0, v4, v5, v6);
((void (__fastcall *)(cocos2d::CCAction *, __int64))v7->setTag)(v7, 10);
cocos2d::CCActionManager::addAction(a1->m_pActionManager, v7, a1, 0);
}