//
// IDNameInput::onAutocompleteRow from 0x793a3c to 0x793aa2 (102 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:43 +0000
//
GameManager *__fastcall IDNameInput::onAutocompleteRow(GameManager *this, cocos2d::CCObject *a2)
{
int v2; // r5
int v4; // r4
GameManager *v5; // r0
GameManager *v6; // r0
int v7; // r0
v2 = (int)this;
if ( a2 )
{
cocos2d::CCObject::retain(a2);
cocos2d::CCObject::autorelease(a2);
v4 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
this = (GameManager *)IDNameInput::dismissAutocomplete(v2);
if ( v4 > 0 )
{
v5 = (GameManager *)GameManager::sharedState(this);
if ( *((_DWORD *)v5 + 102) )
{
v6 = (GameManager *)GameManager::sharedState(v5);
if ( *(_DWORD *)(*((_DWORD *)v6 + 102) + 2084) )
{
v7 = GameManager::sharedState(v6);
LevelSettingsObject::touchIDUsage(*(char **)(*(_DWORD *)(v7 + 408) + 2084), v4, *(_DWORD *)(v2 + 292));
}
}
return (GameManager *)IDNameInput::commitID(v2, v4);
}
}
return this;
}