// // cocos2d::CCRectApplyAffineTransform from 0x100493fd8 to 0x100494174 (412 bytes) // // 19 xrefs: // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b16a0 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b16bc // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b16d8 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b16f4 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1710 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b172c // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1748 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1764 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1780 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1b4c // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1b68 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1b84 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1ba0 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1bbc // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1bd8 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1bf4 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1c10 // > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002b1c2c // > cocos2d::CCNode::boundingBox @ 0x1002d8684 // // This function is hookable on this platform (idp: arm, 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 11:05:55 +0000 // float *__usercall cocos2d::CCRectApplyAffineTransform@(float *a1@, float32x2_t *a2@, float *a3@) { float v6; // s8 float v7; // s9 float v8; // s10 float v9; // s11 float32x4_t v10; // q1 int8x16_t v11; // q2 int8x16_t v12; // q3 float32x4_t v13; // q4 float32x4_t v14; // q6 int8x16_t v15; // q7 int8x16_t v16; // q5 float32x4_t v17; // q5 float32x4_t v18; // q2 int16x4_t v19; // d3 __int32 v20; // s0 __int32 v21; // s4 __int32 v22; // s1 __int8 v23; // w8 __int32 v24; // s3 float v26; // [xsp+8h] [xbp-68h] BYREF __int64 v27; // [xsp+10h] [xbp-60h] BYREF float32x4_t v28; // [xsp+18h] [xbp-58h] BYREF __int64 v29; // [xsp+28h] [xbp-48h] BYREF v6 = sub_1000265DC((__int64)a1); v7 = sub_1000265A0((__int64)a1); v8 = sub_10002656C(a1); v9 = sub_1000265A8((__int64)a1); sub_1000262BC(&v28.f32[2], v7, v6); cocos2d::__CCPointApplyAffineTransform(&v28.f32[2], a2, &v29); sub_1000262BC(v28.f32, v8, v6); cocos2d::__CCPointApplyAffineTransform(v28.f32, a2, &v28.i64[1]); sub_1000262BC((float *)&v27, v7, v9); cocos2d::__CCPointApplyAffineTransform((float *)&v27, a2, &v28); sub_1000262BC(&v26, v8, v9); cocos2d::__CCPointApplyAffineTransform(&v26, a2, &v27); v10.i64[0] = v29; v11.i64[0] = v27; v13.i64[0] = v28.i64[1]; v12.i64[0] = v28.i64[0]; v13.i64[1] = v28.i64[0]; v14.i64[0] = v27; v14.i64[1] = v29; v15.i64[0] = v29; v15.i64[1] = v28.i64[0]; v12.i64[1] = v29; v10.i64[1] = v27; v16.i64[0] = v28.i64[1]; v16.i64[1] = v27; v17 = (float32x4_t)vbslq_s8((int8x16_t)vcgtq_f32(v13, v10), v16, v15); v11.i64[1] = v28.i64[1]; v18 = (float32x4_t)vbslq_s8((int8x16_t)vcgtq_f32(v14, v28), v11, v12); v19 = vmovn_s32(vcgtq_f32(v18, v17)); v20 = v17.i32[2]; if ( (v19.i8[4] & 1) == 0 ) v20 = v18.i32[2]; if ( (v19.i8[0] & 1) != 0 ) v21 = v18.i32[0]; else v21 = v17.i32[0]; v22 = v17.i32[3]; if ( (v19.i8[6] & 1) == 0 ) v22 = v18.i32[3]; v23 = v19.i8[2]; v24 = v17.i32[1]; if ( (v23 & 1) != 0 ) v24 = v18.i32[1]; return sub_1000262CC( a3, *(float *)&v20, *(float *)&v22, *(float *)&v21 - *(float *)&v20, *(float *)&v24 - *(float *)&v22); }
GD Web Decomp Icon

GD Web Decomp

Raw Source