//
// GameObject::destroyObject from 0x44d21c to 0x44d230 (20 bytes)
//
// 5 xrefs:
// > PlayerObject::collidedWithObjectInternal @ 0x43cc68
// > PlayerObject::collidedWithObjectInternal @ 0x43ce20
// > PlayerObject::collidedWithObjectInternal @ 0x43d2d6
// > PlayerObject::collidedWithObjectInternal @ 0x43d4ce
// > GJBaseGameLayer::destroyObject @ 0x5a4a02
//
// 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:48:35 +0000
//
int __fastcall GameObject::destroyObject(GameObject *this)
{
int v1; // r3
v1 = *(_DWORD *)this;
*((_BYTE *)this + 834) = 1;
*((_BYTE *)this + 658) = 1;
return (*(int (__fastcall **)(GameObject *, _DWORD))(v1 + 456))(this, 0);
}