//
// GJBaseGameLayer::updateExtendedCollision from 0x10028fd64 to 0x10028fdb8 (84 bytes)
//
// 2 xrefs:
// > sub_100044C60 @ 0x100044ca8
// > sub_100044C60 @ 0x100044cd4
//
// 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 11:02:02 +0000
//
__int64 __fastcall GJBaseGameLayer::updateExtendedCollision(__int64 result, __int64 a2, int a3)
{
char v3; // w21
__int64 v5; // x20
if ( *(unsigned __int8 *)(a2 + 636) != a3 )
{
v3 = a3;
v5 = result;
GJBaseGameLayer::removeObjectFromSection(result, a2);
*(_BYTE *)(a2 + 636) = v3;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 1344LL))(v5, a2);
}
return result;
}