//
// LevelEditorLayer::updateArt from 0x7898a4 to 0x789988 (228 bytes)
//
// 1 xrefs:
// > ??> @ 0x4a3b0
//
// 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:53:26 +0000
//
__int64 __fastcall LevelEditorLayer::updateArt(LevelEditorLayer *this, float a2)
{
__int64 result; // x0
__int64 v4; // x20
void (__fastcall *v5)(__int64); // x21
__int64 v6; // x20
void (__fastcall *v7)(__int64); // x21
LevelEditorLayer::updateGridLayerParent(this);
result = *((unsigned int *)this + 493);
if ( !(_DWORD)result )
{
v4 = *((_QWORD *)this + 488);
v5 = *(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 344LL);
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v4 + 496LL))(v4) <= 1 )
(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 491) + 496LL))(*((_QWORD *)this + 491));
v5(v4);
v6 = *((_QWORD *)this + 489);
v7 = *(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 344LL);
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v6 + 496LL))(v6) <= 1 )
(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 492) + 496LL))(*((_QWORD *)this + 492));
v7(v6);
GJBaseGameLayer::updateGradientLayers(this);
return GJBaseGameLayer::updateExtraGameLayers(this);
}
return result;
}