//
// GJBaseGameLayer::updateExtendedCollision from 0x9a4b98 to 0x9a4bec (84 bytes)
//
// 3 xrefs:
// > SetupObjectOptionsPopup::onExtendedCollision @ 0xab95b8
// > SetupObjectOptionsPopup::onExtendedCollision @ 0xab95d8
// > ??> @ 0x6af30
//
// 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:58:09 +0000
//
unsigned __int64 __fastcall GJBaseGameLayer::updateExtendedCollision(
unsigned __int64 this,
GameObject *a2,
unsigned __int8 a3)
{
unsigned __int64 v4; // x20
v4 = this;
if ( *((unsigned __int8 *)a2 + 636) != a3 )
{
GJBaseGameLayer::removeObjectFromSection(this, a2);
*((_BYTE *)a2 + 636) = a3;
return (*(__int64 (__fastcall **)(unsigned __int64, GameObject *))(*(_QWORD *)v4 + 1344LL))(v4, a2);
}
return this;
}