//
// ThreadViewPopup::textChanged from 0xc6693c to 0xc669a8 (108 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ThreadViewPopup::textChanged @ 0xc669ac
// > ??> @ 0x9c130
// > ??> @ 0x14eca58
//
// This function is hookable on this platform (idp: arm, 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 13:05:25 +0000
//
CCTextInputNode **__fastcall ThreadViewPopup::textChanged(CCTextInputNode **this, CCTextInputNode *a2)
{
__int64 v2; // x19
bool v3; // cc
if ( *(this + 116) == a2 )
{
v2 = (__int64)this;
ThreadViewPopup::updateComposeCount((ThreadViewPopup *)this);
v3 = (int)CCTextInputNode::getTextRowCount(*(CCTextInputNode **)(v2 + 928)) <= 2;
this = (CCTextInputNode **)(&dword_0 + 3);
if ( v3 )
this = (CCTextInputNode **)CCTextInputNode::getTextRowCount(*(CCTextInputNode **)(v2 + 928));
if ( *(_DWORD *)(v2 + 1056) != (_DWORD)this )
{
*(_DWORD *)(v2 + 1056) = (_DWORD)this;
return (CCTextInputNode **)ThreadViewPopup::layoutComposeBar((ThreadViewPopup *)v2);
}
}
return this;
}