//
// GJShopLayer::rewardedVideoFinished from 0x1001ca8b0 to 0x1001ca90c (92 bytes)
//
// 2 xrefs:
// > sub_1001CA940 @ 0x1001ca944
// > ??> @ 0x1008ee0a0
//
// This function is hookable on this platform (idp: arm, 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:00:20 +0000
//
double __fastcall GJShopLayer::rewardedVideoFinished(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x1
double result; // d0
*(_BYTE *)(a1 + 504) = 0;
v2 = cocos2d::CCDelayTime::create(2.5);
cocos2d::CCCallFunc::create(a1, sub_1001CA90C, 0);
v3 = sub_10021D420(v2);
*(_QWORD *)&result = cocos2d::CCNode::runAction(a1, v3).n128_u64[0];
return result;
}