//
// PlayLayer::delayedFullReset from 0x402164 to 0x4021ba (86 bytes)
//
// 1 xrefs:
// > EndLevelLayer::onReplay @ 0x5352b2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:24 +0000
//
int __fastcall PlayLayer::delayedFullReset(PlayLayer *this, float a2)
{
cocos2d::CCSequence *v3; // r6
cocos2d::CCFiniteTimeAction *v4; // r0
int v5; // r3
cocos2d::CCAction *v6; // r0
if ( *((_BYTE *)this + 10614) )
{
*((_BYTE *)this + 10880) = 0;
*((_BYTE *)this + 11788) = 1;
}
v3 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x3F000000, a2);
v4 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, PlayLayer::fullReset, 0);
v6 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v3, v4, 0, v5, PlayLayer::fullReset, 0);
return cocos2d::CCNode::runAction(this, v6);
}