//
// sub_1004E6BD4 from 0x1004e6bd4 to 0x1004e6c3c (104 bytes)
//
// 2 xrefs:
// > IDNameInput::dIDNameInput @ 0x1004e6c60
// > sub_1004E6C64 @ 0x1004e6c6c
//
// This function is hookable on this platform (idp: arm, 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:06:40 +0000
//
__int64 __fastcall sub_1004E6BD4(__int64 a1)
{
__int64 v2; // x0
*(_QWORD *)a1 = off_100992DA0;
*(_QWORD *)(a1 + 320) = off_100993178;
*(_QWORD *)(a1 + 328) = &off_1009931C0;
*(_QWORD *)(a1 + 336) = &off_1009931D8;
v2 = *(_QWORD *)(a1 + 440);
if ( v2 )
{
*(_QWORD *)(a1 + 440) = 0;
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1112LL))(v2);
}
if ( *(char *)(a1 + 487) < 0 )
operator delete(*(void **)(a1 + 464));
return cocos2d::CCNode::dCCNode(a1);
}