//
// GameObject::getObjectRect2 from 0x10025adf0 to 0x10025ae80 (144 bytes)
//
// 47 xrefs:
// > ??> @ 0x1007c40e8
// > ??> @ 0x1007cfdb8
// > ??> @ 0x1007d05a0
// > ??> @ 0x1007d0db0
// > ??> @ 0x1007f5620
// > ??> @ 0x1007f5e58
// > ??> @ 0x1007f6650
// > ??> @ 0x1007f6e48
// > ??> @ 0x1007f7640
// > ??> @ 0x1007f7e38
// > ??> @ 0x1007f8630
// > ??> @ 0x1007f8e28
// > ??> @ 0x1007f9610
// > ??> @ 0x1007f9e20
// > ??> @ 0x1007fa688
// > ??> @ 0x1007fae98
// > ??> @ 0x1007fb6a8
// > ??> @ 0x1007fbeb8
// > ??> @ 0x1007fc6c8
// > ??> @ 0x1007fced8
// > ??> @ 0x1007fd6e8
// > ??> @ 0x1007fdef8
// > ??> @ 0x1007fe708
// > ??> @ 0x1007fef18
// > ??> @ 0x1007ff740
// > ??> @ 0x1007fff98
// > ??> @ 0x1008007c0
// > ??> @ 0x100800fe8
// > ??> @ 0x100801810
// > ??> @ 0x100802038
// > ??> @ 0x100802848
// > ??> @ 0x100803058
// > ??> @ 0x100803868
// > ??> @ 0x100804078
// > ??> @ 0x100804888
// > ??> @ 0x100805098
// > ??> @ 0x1008058a8
// > ??> @ 0x1008060b8
// > ??> @ 0x1008068c8
// > ??> @ 0x1008070d8
// > ??> @ 0x1008078e8
// > ??> @ 0x1008080f8
// > ??> @ 0x100808908
// > ??> @ 0x100809118
// > ??> @ 0x100809928
// > ??> @ 0x10080a138
// > ??> @ 0x100816458
//
// 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
//
const cocos2d::CCRect *__fastcall GameObject::getObjectRect2(GameObject *a1, float a2, float a3)
{
_QWORD v5[2]; // [xsp+0h] [xbp-20h] BYREF
if ( a1->m_isObjectRectDirty )
{
a1->m_isObjectRectDirty = 0;
if ( a1->m_shouldUseOuterOb )
{
if ( a1->m_isOrientedBoxDirty )
((void (__fastcall *)(GameObject *, float, float))a1->updateOrientedBox)(a1, a2, a3);
OBB2D::getBoundingRect(a1->m_orientedBox);
}
else
{
((void (__fastcall *)(_QWORD *__return_ptr, GameObject *, float, float))a1->getObjectRect_0)(v5, a1, a2, a3);
}
sub_100022BB0(&a1->m_objectRect.origin, (__int64)v5);
}
return &a1->m_objectRect;
}