//
// IDNameInput::commitID from 0x7939c8 to 0x793a32 (106 bytes)
//
// 5 xrefs:
// > IDNameInput::onAutocompleteRow @ 0x793a84
// > IDNameInput::stepArrow @ 0x793ae8
// > IDNameInput::onNextFree @ 0x793c78
// > IDNameInput::idNameBrowserClosed @ 0x794a2e
// > IDNameInput::commitTypedName @ 0x796cbc
//
// 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
//
int __fastcall IDNameInput::commitID(int this, int a2)
{
int v2; // r7
size_t v3; // r0
int v4[3]; // [sp+0h] [bp-24h] BYREF
char v5[16]; // [sp+Ch] [bp-18h] BYREF
v2 = *(_DWORD *)(this + 300);
if ( v2 )
{
sub_993B88(v5, 16, "%d", a2);
memset(v4, 0, sizeof(v4));
v3 = strlen(v5);
std::string::__init(v4, v5, v3);
CCTextInputNode::setString(v2, (int)v4);
return std::string::~string((int)v4);
}
return this;
}