//
// sub_100915CF0 from 0x100915cf0 to 0x100915da1 (177 bytes)
//
// 1 xrefs:
// > IDNameInput::updateAutocomplete @ 0x1009150ce
//
// 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 12:38:11 +0000
//
void __fastcall sub_100915CF0(__int64 a1, __int64 a2)
{
int v3; // r14d
__int64 v4; // rdi
__int64 v5; // rax
if ( a2 )
{
cocos2d::CCObject::retain(a2);
cocos2d::CCObject::autorelease(a2);
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v4 = *(_QWORD *)(a1 + 440);
if ( v4 )
{
*(_QWORD *)(a1 + 440) = 0;
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1112LL))(v4);
}
if ( v3 > 0 )
{
if ( *(_QWORD *)(GameManager::sharedState() + 552) )
{
if ( *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 552) + 3272LL) )
{
v5 = GameManager::sharedState();
sub_1000D9BC0(*(_QWORD *)(*(_QWORD *)(v5 + 552) + 3272LL), v3, *(_DWORD *)(a1 + 376));
}
}
sub_100914C70(a1, v3);
}
}
}