//
// GJGroundLayer::updateLineBlend from 0x917308 to 0x917384 (124 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::updateEditorMode @ 0x78db9c
// > GJBaseGameLayer::updateLevelColors @ 0x99a424
// > GJBaseGameLayer::updateLevelColors @ 0x99a440
// > ??> @ 0x41938
//
// 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:57:19 +0000
//
__int64 __fastcall GJGroundLayer::updateLineBlend(__int64 this, unsigned __int8 a2)
{
__int64 v2; // x2
if ( *(unsigned __int8 *)(this + 441) != a2 )
{
*(_BYTE *)(this + 441) = a2;
v2 = *(_QWORD *)(this + 432);
if ( a2 )
return (*(__int64 (__fastcall **)(_QWORD, __int64))(*(_QWORD *)v2 + 1080LL))(
*(_QWORD *)(this + 432),
0x100000302LL);
else
return (*(__int64 (__fastcall **)(_QWORD, __int64))(*(_QWORD *)v2 + 1080LL))(
*(_QWORD *)(this + 432),
0x30300000001LL);
}
return this;
}