//
// LevelEditorLayer::clearPlayerPoints from 0x78f2ec to 0x78f37c (144 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::onPlaytest @ 0x796400
// > ??> @ 0xb9698
//
// 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:53:28 +0000
//
void __fastcall LevelEditorLayer::clearPlayerPoints(LevelEditorLayer *this)
{
__int64 v2; // x2
__int64 v3; // x1
__int64 v4; // x20
__int64 i; // x2
char *v6; // x0
char *v7; // x3
v2 = *((_QWORD *)this + 1801);
v3 = *((_QWORD *)this + 1802);
if ( v2 != v3 )
*((_QWORD *)this + 1802) = v3 + 8 * ~((unsigned __int64)(v3 - 8 - v2) >> 3);
v4 = *((_QWORD *)this + 1804);
for ( i = *((_QWORD *)this + 1805); v4 != i; i = *((_QWORD *)this + 1805) )
{
*((_QWORD *)this + 1805) = i - 24;
v6 = *(char **)(i - 24);
if ( v6 )
{
v7 = *(char **)(i - 16);
if ( v6 != v7 )
*(_QWORD *)(i - 16) = &v7[8 * ~((unsigned __int64)(v7 - 8 - v6) >> 3)];
operator delete(v6);
}
}
}