//
// SetTextPopup::onResetValue from 0x1403a7eb0 to 0x1403a7f0c (92 bytes)
//
// 3 xrefs:
// > SetTextPopup::init @ 0x1403a7bfe
// > SetTextPopup::init @ 0x1403a7ca0
// > ??> @ 0x140923840
//
// 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 11:31:19 +0000
//
void __fastcall SetTextPopup::onResetValue(__int64 a1)
{
_QWORD *v2; // rax
_BYTE v3[40]; // [rsp+20h] [rbp-28h] BYREF
sub_1400405A0((void **)(a1 + 696), &byte_1406ED6E0, 0);
*(_BYTE *)(a1 + 680) = 1;
v2 = (_QWORD *)sub_14003F4F0((__int64)v3, a1 + 696);
CCTextInputNode::setString(*(_QWORD **)(a1 + 672), v2);
*(_BYTE *)(a1 + 680) = 0;
}