//
// GJMessageCell::updateBGColor from 0x42685c to 0x4268c4 (104 bytes)
//
// 1 xrefs:
// > CustomListView::loadCell @ 0x434224
//
// 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 GJMessageCell::updateBGColor(GJMessageCell *this, int a2, int a3)
{
int v4; // r0
char v5; // r2
void (__fastcall *v6)(int, _DWORD *, int); // r3
char v7; // r2
int v8; // r2
_DWORD v10[3]; // [sp+0h] [bp-Ch] BYREF
v10[0] = this;
v10[1] = a2;
v10[2] = a3;
v4 = *((_DWORD *)this + 102);
if ( (a2 & 1) != 0 )
v5 = -62;
else
v5 = -95;
v6 = *(void (__fastcall **)(int, _DWORD *, int))(*(_DWORD *)v4 + 608);
LOBYTE(v10[0]) = v5;
if ( (a2 & 1) != 0 )
v7 = 114;
else
v7 = 88;
BYTE1(v10[0]) = v7;
if ( (a2 & 1) != 0 )
v8 = 62;
else
v8 = 44;
BYTE2(v10[0]) = v8;
v6(v4, v10, v8);
return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 102) + 584))(*((_DWORD *)this + 102), 255);
}