//
// SmartTemplateCell::updateBGColor from 0x100131cf0 to 0x100131dc0 (208 bytes)
//
// 2 xrefs:
// > CustomListView::loadCell @ 0x100126074
// > CustomListView::reloadAll @ 0x1001326cc
//
// 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 10:59:23 +0000
//
__int64 __fastcall SmartTemplateCell::updateBGColor(__int64 a1)
{
void (*v2)(void); // x8
if ( *(_QWORD *)(GameLevelManager::sharedState() + 1528)
&& *(_DWORD *)(*(_QWORD *)(GameLevelManager::sharedState() + 1528) + 192LL) == *(_DWORD *)(*(_QWORD *)(a1 + 552)
+ 192LL) )
{
v2 = *(void (**)(void))(**(_QWORD **)(a1 + 528) + 1216LL);
}
else
{
v2 = *(void (**)(void))(**(_QWORD **)(a1 + 528) + 1216LL);
}
v2();
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 528) + 1168LL))(*(_QWORD *)(a1 + 528), 255);
}