// // cocos2d::CCRectApplyAffineTransform from 0x100225750 to 0x1002259d7 (647 bytes) // // 22 xrefs: // > cocos2d::CCNode::boundingBox @ 0x10025f2dd // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e15df // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e15ff // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e161f // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e163f // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e165f // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e167f // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e169f // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e16bf // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e16d8 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1b6c // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1b8c // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1bac // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1bcc // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1bec // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1c0c // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1c2c // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1c4c // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1c6c // > cocos2d::extension::CCEditBox::keyboardWillShow @ 0x1004a3c38 // > sub_1004A4C50 @ 0x1004a4cb8 // > GameObject::getBoundingRect @ 0x10068cd03 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:27:04 +0000 // __int64 __fastcall cocos2d::CCRectApplyAffineTransform(__int64 a1, __int64 a2, __m64 *a3) { __m128d v4; // xmm0 __m128d v5; // xmm1 __m128d v6; // xmm0 __m128d v7; // xmm1 __m128d v8; // xmm0 __m128d v9; // xmm1 __m128d v10; // xmm0 __m128d v11; // xmm1 __m128d v12; // xmm2 __m128 v13; // xmm4 __m128 v14; // xmm3 char v15; // al double v16; // xmm0_8 __int64 v17; // xmm2_8 unsigned __int64 v18; // xmm1_8 unsigned __int64 v19; // xmm3_8 float v21; // [rsp+0h] [rbp-50h] BYREF float v22; // [rsp+4h] [rbp-4Ch] double v23; // [rsp+8h] [rbp-48h] BYREF double v24; // [rsp+10h] [rbp-40h] BYREF float v25; // [rsp+18h] [rbp-38h] float v26; // [rsp+1Ch] [rbp-34h] float v27; // [rsp+20h] [rbp-30h] float v28; // [rsp+24h] [rbp-2Ch] double v29; // [rsp+28h] [rbp-28h] BYREF double v30[4]; // [rsp+30h] [rbp-20h] BYREF v28 = sub_100278930(a2); v27 = sub_1002788E0(a2); v25 = sub_1002788A0(a2); v26 = sub_1002788F0(a2); sub_100278250(&v29, v27, v28); sub_1002782A0(&v23); v4 = (__m128d)LODWORD(v29); v5 = (__m128d)HIDWORD(v29); v4.f64[0] = *(float *)&v29; v5.f64[0] = *((float *)&v29 + 1); v23 = COERCE_FLOAT(*(_QWORD *)&a3[2]) + _mm_movedup_pd(v4).f64[0] * *(float *)a3->i32 + _mm_movedup_pd(v5).f64[0] * *(float *)a3[1].i8; sub_100278250(v30, v25, v28); sub_1002782A0(&v29); v6 = (__m128d)LODWORD(v30[0]); v7 = (__m128d)HIDWORD(v30[0]); v6.f64[0] = *(float *)v30; v7.f64[0] = *((float *)v30 + 1); v29 = COERCE_FLOAT(*(_QWORD *)&a3[2]) + _mm_movedup_pd(v6).f64[0] * *(float *)a3->i32 + _mm_movedup_pd(v7).f64[0] * *(float *)a3[1].i8; sub_100278250(&v24, v27, v26); sub_1002782A0(v30); v8 = (__m128d)LODWORD(v24); v9 = (__m128d)HIDWORD(v24); v8.f64[0] = *(float *)&v24; v9.f64[0] = *((float *)&v24 + 1); v30[0] = COERCE_FLOAT(*(_QWORD *)&a3[2]) + _mm_movedup_pd(v8).f64[0] * *(float *)a3->i32 + _mm_movedup_pd(v9).f64[0] * *(float *)a3[1].i8; sub_100278250(&v21, v25, v26); sub_1002782A0(&v24); v10 = (__m128d)LODWORD(v21); v11 = (__m128d)LODWORD(v22); v10.f64[0] = v21; v11.f64[0] = v22; v12 = (__m128d)_mm_cvtpd_ps( _mm_add_pd( _mm_cvtps_pd(a3[2]), _mm_add_pd( _mm_mul_pd(_mm_movedup_pd(v10), _mm_cvtps_pd(*a3)), _mm_mul_pd(_mm_movedup_pd(v11), _mm_cvtps_pd(a3[1]))))); v24 = v12.f64[0]; v13 = _mm_blendv_ps( (__m128)_mm_unpacklo_pd((__m128d)*(unsigned __int64 *)&v23, (__m128d)*(unsigned __int64 *)&v30[0]), (__m128)_mm_unpacklo_pd((__m128d)*(unsigned __int64 *)&v29, v12), _mm_cmplt_ps( (__m128)_mm_unpacklo_pd((__m128d)*(unsigned __int64 *)&v23, v12), (__m128)_mm_unpacklo_pd((__m128d)*(unsigned __int64 *)&v29, (__m128d)*(unsigned __int64 *)&v30[0]))); v14 = _mm_blendv_ps( (__m128)_mm_unpacklo_pd((__m128d)*(unsigned __int64 *)&v30[0], (__m128d)*(unsigned __int64 *)&v23), (__m128)_mm_unpacklo_pd(v12, (__m128d)*(unsigned __int64 *)&v29), _mm_cmplt_ps( (__m128)_mm_unpacklo_pd((__m128d)*(unsigned __int64 *)&v30[0], (__m128d)*(unsigned __int64 *)&v29), (__m128)_mm_unpacklo_pd(v12, (__m128d)*(unsigned __int64 *)&v23))); v15 = _mm_movemask_ps(_mm_cmplt_ps(v13, v14)); if ( (v15 & 4) != 0 ) { v16 = _mm_unpackhi_pd((__m128d)v13, (__m128d)v13).f64[0]; v17 = v14.i64[0]; if ( (v15 & 1) != 0 ) goto LABEL_6; goto LABEL_5; } v16 = _mm_unpackhi_pd((__m128d)v14, (__m128d)v14).f64[0]; v17 = v14.i64[0]; if ( (v15 & 1) == 0 ) LABEL_5: v17 = v13.i64[0]; LABEL_6: if ( (v15 & 8) != 0 ) { v18 = _mm_shuffle_ps(v13, v13, 255).u64[0]; if ( (v15 & 2) != 0 ) goto LABEL_8; LABEL_10: v19 = _mm_movehdup_ps(v13).u64[0]; goto LABEL_11; } v18 = _mm_shuffle_ps(v14, v14, 255).u64[0]; if ( (v15 & 2) == 0 ) goto LABEL_10; LABEL_8: v19 = _mm_movehdup_ps(v14).u64[0]; LABEL_11: *(float *)&v17 = *(float *)&v17 - *(float *)&v16; *(float *)&v19 = *(float *)&v19 - *(float *)&v18; sub_100278270(a1, v16, *(double *)&v18, *(double *)&v17, *(double *)&v19); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source