// // sub_10006A960 from 0x10006a960 to 0x10006aa35 (213 bytes) // // 1 xrefs: // > CCTextInputNode::onTextFieldInsertText @ 0x10006a10c // // 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:19:45 +0000 // char __fastcall sub_10006A960(signed int a1, char a2) { char result; // al __m128i v3; // xmm0 __m128i v4; // xmm1 if ( a1 == 10 ) return a2 ^ 1; v3 = _mm_cvtsi32_si128(a1); v4 = _mm_add_epi32(_mm_shuffle_epi32(v3, 0), (__m128i)xmmword_100A04030); result = 1; if ( !(((unsigned int)a1 < 0x20) | (_mm_movemask_ps((__m128)_mm_or_si128( _mm_cmpeq_epi32( _mm_shuffle_epi32(_mm_insert_epi32(v3, a1 & 0xFFFFFFE0, 1), 4), (__m128i)xmmword_100A04050), _mm_cmpeq_epi32(_mm_min_epu32(_mm_cvtepi8_epi32(50594820), v4), v4))) != 0)) ) { if ( a1 > 8231 ) { if ( a1 > 12643 ) { if ( a1 == 12644 || a1 == 65440 ) return result; } else if ( (unsigned int)(a1 - 8232) < 2 || a1 == 10240 ) { return result; } } else if ( a1 <= 4446 ) { if ( a1 == 847 || a1 == 1564 ) return result; } else if ( (unsigned int)(a1 - 4447) < 2 || a1 == 6158 ) { return result; } return (a1 & 0xFFFFFFF0) == 65024; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source