//
// GameObject::getBoundingRect from 0x643fc0 to 0x644060 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x2f400
//
// 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::getBoundingRect(GameObject *a1)
{
cocos2d::CCRect v6; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCAffineTransform v7; // [xsp+60h] [xbp+60h] BYREF
cocos2d::CCRect v8; // 0:kr00_16.16
cocos2d::CCRect result; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4
cocos2d::CCRect::CCRect(&v6, 0.0, 0.0, a1->m_width, a1->m_height);
a1->nodeToParentTransform(&v7, a1);
v8 = cocos2d::CCRectApplyAffineTransform(&v6, &v7);
result.origin.x = v8.origin.x;
result.origin.y = v8.origin.y;
result.size.width = v8.size.width;
result.size.height = v8.size.height;
return result;
}