//
// ThreadViewPopup::textChanged from 0x1400e2f40 to 0x1400e2fab (107 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407294c8
// > ??> @ 0x140914af8
//
// 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:26:31 +0000
//
void __fastcall ThreadViewPopup::textChanged(__int64 a1, __int64 a2)
{
unsigned int TextRowCount; // eax
if ( a2 == *(_QWORD *)(a1 + 376) )
{
ThreadViewPopup::updateComposeCount(a1 - 544);
if ( (int)CCTextInputNode::getTextRowCount(*(_QWORD *)(a1 + 376)) <= 3 )
TextRowCount = CCTextInputNode::getTextRowCount(*(_QWORD *)(a1 + 376));
else
TextRowCount = 3;
if ( TextRowCount != *(_DWORD *)(a1 + 512) )
{
*(_DWORD *)(a1 + 512) = TextRowCount;
ThreadViewPopup::layoutComposeBar(a1 - 544);
}
}
}