//
// GameObject::transferObjectRect from 0x640288 to 0x6402e0 (88 bytes)
//
// 48 xrefs:
// > ??> @ 0xc1c08
// > ??> @ 0x1152bf8
// > ??> @ 0x11539c8
// > ??> @ 0x1154198
// > ??> @ 0x1154998
// > ??> @ 0x1162348
// > ??> @ 0x1162b48
// > ??> @ 0x1163348
// > ??> @ 0x1163b48
// > ??> @ 0x1164348
// > ??> @ 0x1164b48
// > ??> @ 0x1165348
// > ??> @ 0x1165b48
// > ??> @ 0x1166318
// > ??> @ 0x1166b18
// > ??> @ 0x1167318
// > ??> @ 0x1167b18
// > ??> @ 0x1168318
// > ??> @ 0x1168b58
// > ??> @ 0x1169358
// > ??> @ 0x1169b58
// > ??> @ 0x116a358
// > ??> @ 0x116ab58
// > ??> @ 0x116b368
// > ??> @ 0x116bb68
// > ??> @ 0x116c368
// > ??> @ 0x116cb68
// > ??> @ 0x116d368
// > ??> @ 0x116db68
// > ??> @ 0x116e368
// > ??> @ 0x116eb68
// > ??> @ 0x116f368
// > ??> @ 0x116fb68
// > ??> @ 0x1170368
// > ??> @ 0x1170b68
// > ??> @ 0x1171368
// > ??> @ 0x1171b68
// > ??> @ 0x1172368
// > ??> @ 0x1172b68
// > ??> @ 0x1173368
// > ??> @ 0x1173b68
// > ??> @ 0x1174368
// > ??> @ 0x1174b68
// > ??> @ 0x1175368
// > ??> @ 0x1175b68
// > ??> @ 0x1176368
// > ??> @ 0x1176b68
// > ??> @ 0x1177388
//
// 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 GameObject::transferObjectRect(GameObject *a1, cocos2d::CCRect *a2)
{
float y; // w3
float width; // w2
float height; // w0
cocos2d::CCRect *v6; // [xsp+28h] [xbp+28h]
if ( a1->m_isObjectRectDirty )
{
v6 = a2;
a1->getObjectRect(a1);
a2 = v6;
}
y = a1->m_objectRect.origin.y;
width = a1->m_objectRect.size.width;
height = a1->m_objectRect.size.height;
a2->origin.x = a1->m_objectRect.origin.x;
a2->origin.y = y;
a2->size.width = width;
a2->size.height = height;
}