//
// GJBaseGameLayer::updateOBB2 from 0x100280920 to 0x100280984 (100 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::damagingObjectsInRect @ 0x100280570
// > LevelEditorLayer::objectsInRect @ 0x1003fa848
// > LevelEditorLayer::objectAtPosition @ 0x1003fabb0
// > LevelEditorLayer::objectsAtPosition @ 0x1003fb1ec
//
// 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:01:55 +0000
//
__int64 __fastcall GJBaseGameLayer::updateOBB2(__int64 a1, float32x2_t *a2)
{
_QWORD *v3; // x20
float32x2_t v5; // [xsp+0h] [xbp-20h] BYREF
float32x2_t v6; // [xsp+8h] [xbp-18h] BYREF
v3 = *(_QWORD **)(a1 + 2080);
sub_1000262BC((float *)&v5, a2[1].f32[0] * 0.5, a2[1].f32[1] * 0.5);
sub_100026318(a2, &v5, &v6);
return OBB2D::calculateWithCenter(v3, (double *)&v6, a2[1].f32[0], a2[1].f32[1], 0.0);
}