//
// GJWriteMessagePopup::textChanged from 0x4af43c to 0x4af4c0 (132 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'GJWriteMessagePopup::textChanged @ 0x4af4c8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJWriteMessagePopup::textChanged(GJWriteMessagePopup *a1, CCTextInputNode *a2)
{
int v4; // r0
char *v5; // r4
char *v6; // [sp+0h] [bp-14h] BYREF
char v7[4]; // [sp+4h] [bp-10h] BYREF
char v8[4]; // [sp+8h] [bp-Ch] BYREF
CCTextInputNode::getString((CCTextInputNode *)&v6, (int)a2);
v4 = a2->getTag(a2);
if ( v4 )
{
if ( v4 != 1 )
goto LABEL_7;
v5 = v8;
sub_776584((int)v8, v6);
GJWriteMessagePopup::updateBody((char *)a1, v8);
}
else
{
v5 = v7;
sub_776584((int)v7, v6);
GJWriteMessagePopup::updateSubject((char *)a1, v7);
}
sub_774008(v5);
LABEL_7:
sub_774008(&v6);
}