//
// PlayLayer::fullReset from 0x4079dc to 0x407ab2 (214 bytes)
//
// 1 xrefs:
// > UILayer::handleAction @ 0x3fe148
//
// 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:29 +0000
//
int __fastcall PlayLayer::fullReset(PlayLayer *this)
{
_QWORD *v2; // r1
int v3; // r6
int (__fastcall *v4)(int, _BYTE *); // r7
float v6[2]; // [sp+4h] [bp-18h] BYREF
_BYTE v7[8]; // [sp+Ch] [bp-10h] BYREF
cocos2d::CCDirector::sharedDirector(this);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v6);
v2 = (_QWORD *)(*((_DWORD *)this + 519) + 2128);
*((_QWORD *)this + 98) = 0;
*((_QWORD *)this + 100) = 0;
*((_QWORD *)this + 99) = 0;
*v2 = 0;
*(_QWORD *)(*((_DWORD *)this + 520) + 2128) = *((_QWORD *)this + 98);
(*(void (__fastcall **)(PlayLayer *))(*(_DWORD *)this + 792))(this);
*((_DWORD *)this + 2647) = 0;
*((_DWORD *)this + 3021) = 0;
*((_BYTE *)this + 10716) = 1;
*((_BYTE *)this + 10837) = 1;
if ( *((_BYTE *)this + 10784) )
PlayLayer::togglePracticeMode((unsigned __int8 *)this, 0);
else
PlayLayer::resetLevelFromStart(this);
v3 = *((_DWORD *)this + 2975);
v4 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v3 + 92);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v7,
*((float *)this + 212) + (float)(v6[0] * 0.5),
(float)(*((float *)this + 213) + (float)(v6[1] * 0.5)) + 85.0);
return v4(v3, v7);
}