//
// CommentCell::updateBGColor from 0x425f98 to 0x426026 (142 bytes)
//
// 1 xrefs:
// > CustomListView::loadCell @ 0x434168
//
// 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:48:04 +0000
//
int __fastcall CommentCell::updateBGColor(CommentCell *this, int a2)
{
int v2; // r2
int v3; // r0
int (__fastcall *v4)(int, _DWORD *); // r3
char v5; // r2
_DWORD v7[2]; // [sp+0h] [bp-8h] BYREF
v7[0] = this;
v7[1] = a2;
v2 = *((unsigned __int8 *)this + 442);
v3 = *((_DWORD *)this + 102);
if ( v2 )
{
v4 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v3 + 608);
if ( (a2 & 1) != 0 )
{
LOWORD(v7[0]) = 20368;
v5 = 39;
}
else
{
LOWORD(v7[0]) = 21916;
v5 = 42;
}
}
else
{
v4 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v3 + 608);
if ( (a2 & 1) != 0 )
{
LOWORD(v7[0]) = 29378;
v5 = 62;
}
else
{
LOWORD(v7[0]) = 22689;
v5 = 44;
}
}
BYTE2(v7[0]) = v5;
return v4(v3, v7);
}