//
// GJBaseGameLayer::updateExtendedCollision from 0x10011de50 to 0x10011de9d (77 bytes)
//
// 2 xrefs:
// > SetupObjectOptionsPopup::onExtendedCollision @ 0x1003057cd
// > SetupObjectOptionsPopup::onExtendedCollision @ 0x10030580c
//
// This function is hookable on this platform (idp: pc, 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:24:37 +0000
//
__int64 __fastcall GJBaseGameLayer::updateExtendedCollision(__int64 a1, __int64 a2, char a3)
{
__int64 result; // rax
if ( *(_BYTE *)(a2 + 636) != a3 )
{
GJBaseGameLayer::removeObjectFromSection(a1, a2);
*(_BYTE *)(a2 + 636) = a3;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1344LL))(a1, a2);
}
return result;
}