// // GameObject::getObjectRect from 0x647e88 to 0x647fdc (340 bytes) // // 48 xrefs: // > @ 0xa53d8 // > @ 0x1152c08 // > @ 0x11539d8 // > @ 0x11541a8 // > @ 0x11549a8 // > @ 0x1162358 // > @ 0x1162b58 // > @ 0x1163358 // > @ 0x1163b58 // > @ 0x1164358 // > @ 0x1164b58 // > @ 0x1165358 // > @ 0x1165b58 // > @ 0x1166328 // > @ 0x1166b28 // > @ 0x1167328 // > @ 0x1167b28 // > @ 0x1168328 // > @ 0x1168b68 // > @ 0x1169368 // > @ 0x1169b68 // > @ 0x116a368 // > @ 0x116ab68 // > @ 0x116b378 // > @ 0x116bb78 // > @ 0x116c378 // > @ 0x116cb78 // > @ 0x116d378 // > @ 0x116db78 // > @ 0x116e378 // > @ 0x116eb78 // > @ 0x116f378 // > @ 0x116fb78 // > @ 0x1170378 // > @ 0x1170b78 // > @ 0x1171378 // > @ 0x1171b78 // > @ 0x1172378 // > @ 0x1172b78 // > @ 0x1173378 // > @ 0x1173b78 // > @ 0x1174378 // > @ 0x1174b78 // > @ 0x1175378 // > @ 0x1175b78 // > @ 0x1176378 // > @ 0x1176b78 // > @ 0x1177398 // // 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 *GameObject::getObjectRect(GameObject *a1) { cocos2d::CCRect *v1; // x8 float v2; // s0 float v3; // s1 cocos2d::CCRect *v5; // x21 float v6; // s9 float v7; // s8 const cocos2d::CCPoint *BoxOffset; // x0 float width; // w1 cocos2d::CCSize v11; // [xsp+58h] [xbp+58h] BYREF cocos2d::CCPoint v12; // [xsp+60h] [xbp+60h] BYREF __int64 v13; // [xsp+68h] [xbp+68h] BYREF __int64 v14; // [xsp+70h] [xbp+70h] BYREF v5 = v1; v6 = v2; v7 = v3; if ( a1->m_isMirroredByScale ) cocos2d::CCSize::CCSize(&v11, fabsf(a1->m_scaleX) * a1->m_width, fabsf(a1->m_scaleY) * a1->m_height); else cocos2d::CCSize::CCSize(&v11, a1->m_width * a1->m_scaleX, a1->m_height * a1->m_scaleY); v11.width = v11.width * v6; v11.height = v11.height * v7; BoxOffset = GameObject::getBoxOffset(a1); cocos2d::CCPoint::CCPoint(&v12, BoxOffset); if ( a1->m_isRotationAligned ) { width = v11.width; v11.width = v11.height; v11.height = width; } ((void (__fastcall *)(__int64 *__return_ptr, GameObject *))a1->getRealPosition)(&v14, a1); cocos2d::CCPoint::operator+(&v13, &v14, &v12); cocos2d::CCRect::CCRect( v5, *(float *)&v13 - (float)(v11.width * 0.5), *((float *)&v13 + 1) - (float)(v11.height * 0.5), v11.width, v11.height); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source