//
// GJBaseGameLayer::resetRecordFull from 0x59b854 to 0x59b8d4 (128 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::resetRecord @ 0x5b0650
//
// 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:53:13 +0000
//
void __fastcall GJBaseGameLayer::resetRecordFull(GJBaseGameLayer *this)
{
_DWORD *v1; // r2
int v2; // r1
_DWORD *i; // r4
_DWORD *v5; // r6
_DWORD *v6; // r2
v1 = (_DWORD *)((char *)this + 11016);
v2 = *((_DWORD *)this + 2753);
while ( v2 != *v1 )
*v1 -= 16;
if ( *((_DWORD *)this + 2759) )
{
for ( i = *((_DWORD **)this + 2758); i; i = v5 )
{
v5 = (_DWORD *)*i;
std::string::~string((int)(i + 14));
operator delete(i);
}
*((_DWORD *)this + 2758) = 0;
v6 = *((_DWORD **)this + 2757);
while ( i != v6 )
{
*(_DWORD *)(*((_DWORD *)this + 2756) + 4 * (_DWORD)i) = 0;
i = (_DWORD *)((char *)i + 1);
}
*((_DWORD *)this + 2759) = 0;
}
*((_DWORD *)this + 2761) = 0;
*((_DWORD *)this + 2776) = 0;
*((_DWORD *)this + 2749) = 0;
}