//
// IDNameBrowserPopup::setFormID from 0x78fb44 to 0x78fbb8 (116 bytes)
//
// 6 xrefs:
// > IDNameBrowserPopup::onFormArrowLeft @ 0x78fd62
// > IDNameBrowserPopup::onFormArrowRight @ 0x78fd90
// > IDNameBrowserPopup::onFormNextFree @ 0x78ff88
// > IDNameBrowserPopup::onEditRow @ 0x79003a
// > IDNameBrowserPopup::init @ 0x7930ce
// > IDNameBrowserPopup::onFormAdd @ 0x7935bc
//
// 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:40 +0000
//
int __fastcall IDNameBrowserPopup::setFormID(int this, int a2)
{
int v2; // r4
size_t v3; // r0
int v4; // r7
int v5[3]; // [sp+0h] [bp-24h] BYREF
char v6[16]; // [sp+Ch] [bp-18h] BYREF
v2 = this;
if ( *(_DWORD *)(this + 548) )
{
sub_993B88(v6, 16, "%d", a2 & ~(a2 >> 31));
memset(v5, 0, sizeof(v5));
v3 = strlen(v6);
v4 = *(_DWORD *)(v2 + 548);
std::string::__init(v5, v6, v3);
CCTextInputNode::setString(v4, (int)v5);
return std::string::~string((int)v5);
}
return this;
}