//
// CommentCell::updateBGColor from 0x738da8 to 0x738eb4 (268 bytes)
//
// 2 xrefs:
// > CustomListView::loadCell @ 0x74d528
// > ??> @ 0xe4ec8
//
// 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 12:52:40 +0000
//
__int64 __fastcall CommentCell::updateBGColor(CommentCell *this, char a2)
{
__int64 v2; // x0
void (__fastcall *v3)(__int64, char *); // x2
char v5; // [xsp+20h] [xbp+20h] BYREF
char v6; // [xsp+21h] [xbp+21h]
char v7; // [xsp+22h] [xbp+22h]
if ( *((_BYTE *)this + 594) )
{
v2 = *((_QWORD *)this + 66);
v3 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v2 + 1216LL);
if ( (a2 & 1) != 0 )
{
v5 = -112;
v6 = 79;
v7 = 39;
}
else
{
v5 = -100;
v6 = 85;
v7 = 42;
}
}
else
{
v2 = *((_QWORD *)this + 66);
v3 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v2 + 1216LL);
if ( (a2 & 1) != 0 )
{
v5 = -62;
v6 = 114;
v7 = 62;
}
else
{
v5 = -95;
v6 = 88;
v7 = 44;
}
}
v3(v2, &v5);
return _stack_chk_guard;
}