//
// GJBaseGameLayer::updateOBB2 from 0x8593a4 to 0x859440 (156 bytes)
//
// 5 xrefs:
// > LevelEditorLayer::objectAtPosition @ 0x65e014
// > LevelEditorLayer::objectsAtPosition @ 0x65e3ac
// > LevelEditorLayer::objectsInRect @ 0x65e74c
// > GJBaseGameLayer::damagingObjectsInRect @ 0x859494
// > ??> @ 0xa8540
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJBaseGameLayer::updateOBB2(GJBaseGameLayer *a1, cocos2d::CCRect a2)
{
cocos2d::CCPoint *v2; // x1
cocos2d::CCPoint *v3; // x19
OBB2D *m_obb2; // x22
float v5; // s3
float v6; // s4
cocos2d::CCPoint v7; // [xsp+48h] [xbp+48h] BYREF
__int64 v8; // [xsp+50h] [xbp+50h] BYREF
v3 = v2;
m_obb2 = a1->m_obb2;
cocos2d::CCPoint::CCPoint(&v7, v2[1].x * 0.5, v2[1].y * 0.5);
cocos2d::CCPoint::operator+(&v8, v3, &v7);
OBB2D::calculateWithCenter(m_obb2, v3[1], 0.0, v5, v6);
}