//
// CCTextInputMenu::closeDeferred from 0x14004ddf0 to 0x14004de37 (71 bytes)
//
// 3 xrefs:
// > CCTextInputNode::onExit @ 0x14005900b
// > CCTextInputNode::onExit @ 0x14005901e
// > ??> @ 0x1409101d8
//
// 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:33 +0000
//
void __fastcall CCTextInputMenu::closeDeferred(__int64 a1, __int64 a2)
{
__int64 v2; // rax
cocos2d::CCObject *v3; // rbx
v2 = *(_QWORD *)(a1 + 408);
v3 = *(cocos2d::CCObject **)(v2 + 696);
if ( v3 )
{
*(_QWORD *)(v2 + 696) = 0;
LOBYTE(a2) = 1;
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 520LL))(v3, a2);
cocos2d::CCObject::release(v3);
}
}