//
// sub_CE4014 from 0xce4014 to 0xce40e0 (204 bytes)
//
// 4 xrefs:
// > IDNameInput::initCore @ 0xce5944
// > IDNameInput::initCore @ 0xce5950
// > IDNameInput::setType @ 0xce5d8c
// > IDNameInput::setType @ 0xce5d98
//
// 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 13:06:38 +0000
//
__int64 __fastcall sub_CE4014(__int64 a1, unsigned __int8 a2)
{
const void *v3; // x0
void (***v4)(void); // x0
if ( a1 )
{
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1056LL))(a1, a2);
v3 = (const void *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1072LL))(a1);
if ( v3 )
{
v4 = (void (***)(void))_dynamic_cast(
v3,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( v4 )
(**v4)();
}
}
return _stack_chk_guard;
}