//
// sub_1403C7350 from 0x1403c7350 to 0x1403c73f2 (162 bytes)
//
// 5 xrefs:
// > IDNameInput::initCore @ 0x1403c88bb
// > IDNameInput::initCore @ 0x1403c88ca
// > IDNameInput::setType @ 0x1403c8953
// > IDNameInput::setType @ 0x1403c8962
// > ??> @ 0x140924314
//
// 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:31:31 +0000
//
void __fastcall sub_1403C7350(__int64 a1, char a2)
{
__int64 v4; // rax
void (__fastcall ***v5)(_QWORD, __int16 *); // rax
void (__fastcall ***v6)(_QWORD, __int16 *); // rcx
void (__fastcall **v7)(_QWORD, __int16 *); // rax
__int16 v8; // [rsp+40h] [rbp+8h] BYREF
char v9; // [rsp+42h] [rbp+Ah]
__int16 v10; // [rsp+50h] [rbp+18h] BYREF
char v11; // [rsp+52h] [rbp+1Ah]
if ( a1 )
{
(*(void (**)(void))(*(_QWORD *)a1 + 936LL))();
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 952LL))(a1);
if ( v4 )
{
v5 = (void (__fastcall ***)(_QWORD, __int16 *))_RTDynamicCast(
v4,
0,
&cocos2d::CCNode `RTTI Type Descriptor',
&cocos2d::CCRGBAProtocol `RTTI Type Descriptor',
0);
v6 = v5;
if ( v5 )
{
v7 = *v5;
if ( a2 )
{
v8 = -1;
v9 = -1;
(*v7)(v6, &v8);
}
else
{
v10 = -23131;
v11 = -91;
(*v7)(v6, &v10);
}
}
}
}
}