//
// IDNameInput::onAutocompleteRow from 0x1403cb060 to 0x1403cb136 (214 bytes)
//
// 2 xrefs:
// > IDNameInput::updateAutocomplete @ 0x1403c9dc1
// > ??> @ 0x140924428
//
// 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:32 +0000
//
// Hidden C++ exception states: #wind=3
void __fastcall IDNameInput::onAutocompleteRow(__int64 a1, cocos2d::CCObject *a2)
{
signed int v4; // edi
__int64 v5; // rcx
__int64 v6; // rax
__int64 v7; // rcx
__int64 v8; // rcx
void *v9; // [rsp+38h] [rbp+10h]
if ( a2 )
{
cocos2d::CCObject::retain(a2);
cocos2d::CCObject::autorelease(a2);
v4 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 56LL))(a2);
v5 = *(_QWORD *)(a1 + 440);
if ( v5 )
{
*(_QWORD *)(a1 + 440) = 0;
(**(void (__fastcall ***)(__int64))(v5 + 336))(v5 + 336);
}
if ( v4 > 0 )
{
v6 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v9 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v9);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v6 = qword_14090BFD0;
}
v7 = *(_QWORD *)(v6 + 568);
if ( v7 )
{
v8 = *(_QWORD *)(v7 + 3528);
if ( v8 )
LevelSettingsObject::touchIDUsage(v8, (unsigned int)v4, *(unsigned int *)(a1 + 376));
}
IDNameInput::commitID(a1, v4);
}
}
}