//
// IDNameInput::setType from 0x7949e8 to 0x794a26 (62 bytes)
//
// 8 xrefs:
// > SetupPulsePopup::onSelectTargetMode @ 0x5ecf4a
// > SetItemIDLayer::valueDidChange @ 0x623630
// > SetupAdvFollowEditPhysicsPopup::valueDidChange @ 0x6964a6
// > SetupAdvFollowRetargetPopup::valueDidChange @ 0x699f58
// > SetupPersistentItemTriggerPopup::valueDidChange @ 0x6b30e8
// > SetupStopTriggerPopup::valueDidChange @ 0x6b3126
// > SetupItemEditTriggerPopup::onCustomToggleTriggerValue @ 0x6b87fe
// > SetupItemCompareTriggerPopup::onCustomToggleTriggerValue @ 0x6b8e8c
//
// 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:44 +0000
//
GameManager *__fastcall IDNameInput::setType(GameManager *this, int a2)
{
GameManager *v2; // r4
_BOOL4 v3; // r5
v2 = this;
if ( *((_DWORD *)this + 73) != a2 )
{
*((_DWORD *)this + 73) = a2;
IDNameInput::dismissAutocomplete((int)this);
v3 = *((_DWORD *)v2 + 73) != 0;
sub_7936BC(*((int (__fastcall ****)(void *, _DWORD *))v2 + 78), v3);
sub_7936BC(*((int (__fastcall ****)(void *, _DWORD *))v2 + 79), v3);
return IDNameInput::refreshLabel(v2);
}
return this;
}