//
// CustomizeObjectLayer::onClear from 0x140143c10 to 0x140143c95 (133 bytes)
//
// 3 xrefs:
// > CustomizeObjectLayer::textInputOpened @ 0x1401438ff
// > CustomizeObjectLayer::init @ 0x14014170c
// > ??> @ 0x14091742c
//
// 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:27:10 +0000
//
void __fastcall CustomizeObjectLayer::onClear(__int64 a1)
{
__int64 v2; // rcx
_QWORD *v3; // rcx
__int128 v4; // [rsp+20h] [rbp-28h] BYREF
__int64 v5; // [rsp+30h] [rbp-18h]
__int64 v6; // [rsp+38h] [rbp-10h]
v2 = *(_QWORD *)(a1 + 688);
if ( v2 )
{
*(_BYTE *)(a1 + 922) = 1;
v4 = 0;
LOBYTE(v4) = 0;
v5 = 0;
v6 = 15;
TextGameObject::updateTextObject(v2, &v4, 0);
v3 = *(_QWORD **)(a1 + 824);
v5 = 0;
v4 = 0;
LOBYTE(v4) = 0;
v6 = 15;
CCTextInputNode::setString(v3, &v4);
*(_BYTE *)(a1 + 922) = 0;
}
}