//
// sub_10016D5C8 from 0x10016d5c8 to 0x10016d644 (124 bytes)
//
// 3 xrefs:
// > CCTextInputNode::keyboardWillShow @ 0x10016d558
// > CCTextInputNode::onTextFieldAttachWithIME @ 0x10016dd04
// > CCTextInputNode::ccTouchBegan @ 0x10016e80c
//
// 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
//
double __usercall sub_10016D5C8@(__int64 a1@, float32x2_t *a2@, float32x2_t *a3@)
{
double *v6; // x0
double v7; // d0
double *v8; // x0
double result; // d0
sub_100022B90(a3);
v6 = (double *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1);
v7 = sub_1000229D0(a3, v6);
v8 = (double *)(*(__int64 (__fastcall **)(__int64, double))(*(_QWORD *)a1 + 312LL))(a1, v7);
sub_100022B14(&a3[1], v8);
result = *(double *)a2;
*a3 = vmls_f32(*a3, *a2, a3[1]);
return result;
}