//
// GameCell::updateBGColor from 0x688900 to 0x6889b0 (176 bytes)
//
// 1 xrefs:
// > ??> @ 0xcfeb0
//
// 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:50:31 +0000
//
__int64 __fastcall GameCell::updateBGColor(GameCell *this, char a2)
{
__int64 v3; // x0
void (__fastcall *v4)(__int64, char *); // x2
char v6; // [xsp+30h] [xbp+30h] BYREF
__int16 v7; // [xsp+31h] [xbp+31h]
v3 = *((_QWORD *)this + 66);
v4 = *(void (__fastcall **)(__int64, char *))(*(_QWORD *)v3 + 1216LL);
if ( (a2 & 1) != 0 )
{
v6 = -1;
v7 = -1;
}
else
{
v6 = 0;
v7 = 255;
}
v4(v3, &v6);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 66) + 1168LL))(*((_QWORD *)this + 66), 0xFFFFFFFFLL);
return _stack_chk_guard;
}