//
// GJBaseGameLayer::clearHitboxTrail from 0x58dd58 to 0x58dda0 (72 bytes)
//
// 2 xrefs:
// > PlayLayer::resetLevel @ 0x41234c
// > LevelEditorLayer::onPlaytest @ 0x4682fa
//
// 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:03 +0000
//
int __fastcall GJBaseGameLayer::clearHitboxTrail(int this)
{
int v1; // r1
_DWORD *i; // r2
int v3; // r1
_DWORD *j; // r2
v1 = *(_DWORD *)(this + 11596);
for ( i = (_DWORD *)(this + 11600); v1 != *i; *i -= 20 )
;
v3 = *(_DWORD *)(this + 11608);
for ( j = (_DWORD *)(this + 11612); v3 != *j; *j -= 20 )
;
*(_DWORD *)(this + 11620) = 0;
*(_DWORD *)(this + 11624) = 0;
*(_BYTE *)(this + 11628) = 1;
return this;
}