//
// GameObject::getOuterObjectRect from 0x64818c to 0x6481d0 (68 bytes)
//
// 2 xrefs:
// > GameObject::getObjectRect2 @ 0x648210
// > ??> @ 0x7e0c0
//
// 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
//
cocos2d::CCRect GameObject::getOuterObjectRect(GameObject *a1)
{
cocos2d::CCRect BoundingRect; // 0:kr00_16.16
cocos2d::CCRect result; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4
if ( a1->m_isOrientedBoxDirty )
a1->updateOrientedBox(a1);
BoundingRect = OBB2D::getBoundingRect(a1->m_orientedBox);
result.origin.x = BoundingRect.origin.x;
result.origin.y = BoundingRect.origin.y;
result.size.width = BoundingRect.size.width;
result.size.height = BoundingRect.size.height;
return result;
}