//
// sub_10014B2C0 from 0x10014b2c0 to 0x10014b334 (116 bytes)
//
// 1 xrefs:
// > EndLevelLayer::onReplay @ 0x100393bc4
//
// 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 10:59:36 +0000
//
double __fastcall sub_10014B2C0(_BYTE *a1)
{
__int64 v2; // x20
__int64 v3; // x1
double result; // d0
if ( a1[12238] == 1 )
{
a1[12664] = 0;
a1[14172] = 1;
}
v2 = cocos2d::CCDelayTime::create(0.5);
cocos2d::CCCallFunc::create(a1, PlayLayer::fullReset, 0);
v3 = sub_10021D420(v2);
*(_QWORD *)&result = cocos2d::CCNode::runAction(a1, v3).n128_u64[0];
return result;
}