//
// CCTextInputNode::onExit from 0x140058fb0 to 0x140059042 (146 bytes)
//
// 2 xrefs:
// > ??> @ 0x14070d3a0
// > ??> @ 0x140910508
//
// 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:25:41 +0000
//
void __fastcall CCTextInputNode::onExit(__int64 a1)
{
bool v1; // zf
__int64 v3; // rdi
v1 = *(_BYTE *)(a1 + 712) == 0;
*(_BYTE *)(a1 + 713) = 0;
if ( !v1 )
{
*(_BYTE *)(a1 + 712) = 0;
cocos2d::CCNode::unschedule(a1, CCTextInputNode::holdTimerFired);
}
cocos2d::CCNode::unschedule(a1, CCTextInputNode::showHoldMenu);
v3 = *(_QWORD *)(a1 + 696);
if ( v3 )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v3 + 336LL))(*(_QWORD *)(a1 + 696), 0);
cocos2d::CCNode::unschedule(v3, CCTextInputMenu::closeDeferred);
cocos2d::CCNode::scheduleOnce(v3, CCTextInputMenu::closeDeferred);
}
cocos2d::CCLayer::onExit((cocos2d::CCLayer *)a1);
}