//
// GJMGLayer::updateMG01Blend from 0x9182c4 to 0x918320 (92 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateLevelColors @ 0x99a518
// > ??> @ 0xce218
//
// 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:20 +0000
//
__int64 __fastcall GJMGLayer::updateMG01Blend(__int64 this, unsigned __int8 a2)
{
__int64 v2; // x2
__int64 v3; // x0
if ( *(unsigned __int8 *)(this + 457) != a2 )
{
v2 = this;
v3 = *(_QWORD *)(this + 464);
*(_BYTE *)(v2 + 457) = a2;
return (*(__int64 (**)(void))(*(_QWORD *)v3 + 912LL))();
}
return this;
}