//
// PlayLayer::delayedFullReset from 0x5d0624 to 0x5d0690 (108 bytes)
//
// 2 xrefs:
// > EndLevelLayer::onReplay @ 0x7d349c
// > ??> @ 0x2d558
//
// 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 PlayLayer::delayedFullReset(PlayLayer *a1)
{
float *v2; // x0
cocos2d::CCSequence *v3; // x20
cocos2d::CCFiniteTimeAction *v4; // x0
cocos2d::CCAction *v5; // x0
v2 = &a1->m_varianceValues.__elems_[1975];
if ( *((_BYTE *)v2 + 270) )
{
*((_BYTE *)v2 + 696) = 0;
*((_BYTE *)v2 + 2100) = 1;
}
v3 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(0.5);
v4 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(a1, PlayLayer::fullReset, 0);
v5 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v3, v4, 0);
cocos2d::CCNode::runAction(a1, v5);
}