//
// GJBaseGameLayer::updateOBB2 from 0x1000ffdd0 to 0x1000ffe44 (116 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::objectsInRect @ 0x1000b049c
// > LevelEditorLayer::objectAtPosition @ 0x1000b0a2d
// > LevelEditorLayer::objectsAtPosition @ 0x1000b11ad
//
// 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:21:20 +0000
//
__int64 __fastcall GJBaseGameLayer::updateOBB2(__int64 a1, __int64 a2)
{
__int64 v2; // rbx
_BYTE v4[8]; // [rsp+0h] [rbp-30h] BYREF
_BYTE v5[40]; // [rsp+8h] [rbp-28h] BYREF
v2 = *(_QWORD *)(a1 + 2080);
sub_100278250(v5, *(float *)(a2 + 8) * 0.5, 0.5 * *(float *)(a2 + 12));
sub_100278350(v4, a2, v5);
return OBB2D::calculateWithCenter(v2, v4, *(float *)(a2 + 8), *(float *)(a2 + 12), 0.0);
}