//
// PlayLayer::fullReset from 0x703550 to 0x70365c (268 bytes)
//
// 4 xrefs:
// > UILayer::handleAction @ 0x6f1468
// > ??> @ 0x6d660
// > PlayLayer::delayedFullReset @ 0x6f6b5c
// > ??> @ 0x1542b50
//
// 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 12:52:04 +0000
//
__int64 __fastcall PlayLayer::fullReset(PlayLayer *this)
{
cocos2d::CCDirector *v2; // x0
__int64 v3; // x1
int v4; // w2
__int64 v5; // x21
float v6; // s1
float v7; // s0
void (__fastcall *v8)(__int64, _BYTE *); // x19
__int64 v10; // [xsp+48h] [xbp+48h] BYREF
_BYTE v11[8]; // [xsp+50h] [xbp+50h] BYREF
v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v10, v2);
v3 = *((_QWORD *)this + 407);
*((_QWORD *)this + 115) = 0;
*((_QWORD *)this + 117) = 0;
*((_QWORD *)this + 116) = 0;
*(_QWORD *)(v3 + 2624) = 0;
*(_QWORD *)(*((_QWORD *)this + 408) + 2624LL) = *((_QWORD *)this + 115);
(*(void (__fastcall **)(PlayLayer *))(*(_QWORD *)this + 1584LL))(this);
*((_DWORD *)this + 3053) = 0;
*((_DWORD *)this + 3656) = 0;
v4 = *((unsigned __int8 *)this + 12544);
*((_BYTE *)this + 12424) = 1;
*((_BYTE *)this + 12617) = 1;
if ( v4 )
PlayLayer::togglePracticeMode(this, 0);
else
PlayLayer::resetLevelFromStart(this);
v5 = *((_QWORD *)this + 1791);
v6 = *((float *)this + 249) + (float)(*((float *)&v10 + 1) * 0.5);
v7 = *((float *)this + 248);
v8 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, v7 + (float)(*(float *)&v10 * 0.5), v6 + 85.0);
v8(v5, v11);
return _stack_chk_guard;
}