//
// sub_10046293C from 0x10046293c to 0x100462a4c (272 bytes)
//
// 1 xrefs:
// > sub_1004624A8 @ 0x100462570
//
// 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:05:30 +0000
//
__int64 __fastcall sub_10046293C(unsigned int *a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x19
float *v5; // x0
float *v6; // x21
char v7; // w0
__int64 v8; // x1
__int64 v9; // x2
__int64 v10; // x3
__int64 v11; // x4
__int64 v12; // x5
__int64 v13; // x6
__int64 v14; // x7
__int64 v15; // x0
_QWORD *v16; // x21
__int64 v17; // x22
int v18; // w0
v2 = GameStatsManager::sharedState();
v3 = sub_1003D5064(v2, a1[165]);
if ( !v3 )
return sub_100462A4C(a1);
v4 = v3;
v5 = cocos2d::CCFadeTo::create(0, 0.2);
cocos2d::CCNode::runAction((__int64)a1, (__int64)v5);
v6 = cocos2d::CCDelayTime::create(0.2);
v7 = (unsigned __int8)cocos2d::CCCallFunc::create((__int64)a1, (__int64)sub_100462A4C, 0);
v15 = sub_10021D420((__int64)v6, v8, v9, v10, v11, v12, v13, v14, v7);
cocos2d::CCNode::runAction((__int64)a1, v15);
v16 = RewardUnlockLayer::create(*(unsigned int *)(v4 + 64), 0);
v17 = (*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)a1 + 512LL))(a1);
v18 = (*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)a1 + 104LL))(a1);
(*(void (__fastcall **)(__int64, _QWORD *, _QWORD))(*(_QWORD *)v17 + 464LL))(v17, v16, (unsigned int)(v18 + 1));
return RewardUnlockLayer::showCollectReward((__int64)v16, v4);
}