//
// GJGroundLayer::updateLineBlend from 0x1006be910 to 0x1006be955 (69 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::updateEditorMode @ 0x1000ada86
// > LevelEditorLayer::updateEditorMode @ 0x1000adb00
// > GJBaseGameLayer::updateLevelColors @ 0x1000f0a1c
// > GJBaseGameLayer::updateLevelColors @ 0x1000f0a3f
//
// This function is hookable on this platform (idp: pc, 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:35:31 +0000
//
__int64 __fastcall GJGroundLayer::updateLineBlend(__int64 a1, char a2)
{
__int64 v2; // rdi
bool v3; // zf
__int64 v4; // rsi
__int64 result; // rax
if ( *(_BYTE *)(a1 + 441) != a2 )
{
*(_BYTE *)(a1 + 441) = a2;
v2 = *(_QWORD *)(a1 + 432);
v3 = a2 == 0;
v4 = 0x30300000001LL;
if ( !v3 )
v4 = 0x100000302LL;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1080LL))(v2, v4);
}
return result;
}