//
// GameObject::destroyObject from 0x76edf8 to 0x76ee24 (44 bytes)
//
// 6 xrefs:
// > PlayerObject::collidedWithObjectInternal @ 0x75b954
// > PlayerObject::collidedWithObjectInternal @ 0x75c5a4
// > PlayerObject::collidedWithObjectInternal @ 0x75c5b8
// > PlayerObject::collidedWithObjectInternal @ 0x75c5d8
// > GJBaseGameLayer::destroyObject @ 0x9c225c
// > ??> @ 0x54a00
//
// 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:12 +0000
//
__int64 __fastcall GameObject::destroyObject(GameObject *this)
{
__int64 v1; // x4
v1 = *(_QWORD *)this;
*((_BYTE *)this + 970) = 1;
*((_BYTE *)this + 774) = 1;
return (*(__int64 (__fastcall **)(GameObject *, _QWORD))(v1 + 912))(this, 0);
}