//
// GJGroundLayer::updateLineBlend from 0x434b24 to 0x434b60 (60 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updateEditorMode @ 0x3690ea
// > GJBaseGameLayer::updateLevelColors @ 0x46dac6
// > GJBaseGameLayer::updateLevelColors @ 0x46dade
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJGroundLayer::updateLineBlend(GJGroundLayer *a1, bool a2)
{
_BOOL4 m_blendLine; // r3
_DWORD *v3; // r1
_DWORD v4[2]; // [sp+0h] [bp-8h] BYREF
m_blendLine = a1->m_blendLine;
v4[0] = a1;
v4[1] = a2;
if ( m_blendLine != a2 )
{
a1->m_blendLine = a2;
if ( a2 )
v3 = &unk_9AB68C;
else
v3 = &unk_9AB69C;
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD, _DWORD, _DWORD *, _DWORD, _DWORD))a1->m_lineSprite->setBlendFunc)(
a1->m_lineSprite,
*v3,
v3[1],
v4,
*v3,
v3[1]);
}
}