//
// GJBaseGameLayer::updateExtendedCollision from 0x593748 to 0x593772 (42 bytes)
//
// 2 xrefs:
// > SetupObjectOptionsPopup::onExtendedCollision @ 0x6398f8
// > SetupObjectOptionsPopup::onExtendedCollision @ 0x63991e
//
// 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:07 +0000
//
_DWORD *__fastcall GJBaseGameLayer::updateExtendedCollision(_DWORD *this, GameObject *a2, int a3)
{
_DWORD *v3; // r5
char v5; // r6
v3 = this;
v5 = a3;
if ( *((unsigned __int8 *)a2 + 536) != a3 )
{
GJBaseGameLayer::removeObjectFromSection(this, a2);
*((_BYTE *)a2 + 536) = v5;
return (_DWORD *)(*(int (__fastcall **)(_DWORD *, GameObject *))(*v3 + 672))(v3, a2);
}
return this;
}