// // sub_100016E60 from 0x100016e60 to 0x100016f08 (168 bytes) // // 2 xrefs: // > sub_100016D74 @ 0x100016e14 // > sub_100145E94 @ 0x100146084 // // 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 10:57:19 +0000 // __int64 __fastcall sub_100016E60(unsigned __int8 a1, unsigned __int8 a2, float a3) { int32x2_t v3; // d4 float v4; // s2 float32x2_t v5; // d1 int32x2_t v6; // d0 v3 = vdup_n_s32(0x437F0000u); v4 = (float)((float)(1.0 - a3) * (float)a2) + (float)((float)a1 * a3); if ( v4 > 255.0 ) v4 = 255.0; v5 = vmla_n_f32( vmul_n_f32( vcvt_f32_u32((uint32x2_t)vand_s8( (int8x8_t)vshl_u32((uint32x2_t)vdup_n_s32(a2), (uint32x2_t)0xFFFFFFF8FFFFFFF0LL), (int8x8_t)0xFF000000FFLL)), 1.0 - a3), vcvt_f32_u32((uint32x2_t)vand_s8( (int8x8_t)vshl_u32((uint32x2_t)vdup_n_s32(a1), (uint32x2_t)0xFFFFFFF8FFFFFFF0LL), (int8x8_t)0xFF000000FFLL)), a3); v6 = (int32x2_t)vshl_u32( (uint32x2_t)vcvt_s32_f32( vmaxnm_f32( (float32x2_t)vbsl_s8( (int8x8_t)vcgt_f32(v5, (float32x2_t)v3), (int8x8_t)v3, (int8x8_t)v5), 0)), (uint32x2_t)0x800000010LL); return vorr_s8((int8x8_t)v6, (int8x8_t)vdup_lane_s32(v6, 1)).u32[0] | (int)fmaxf(v4, 0.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source