//
// GJBaseGameLayer::removeBackground from 0x58bbe8 to 0x58bc02 (26 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::createBackground @ 0x58bc38
// > LevelSettingsLayer::selectArtClosed @ 0x6a8bb0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:53:02 +0000
//
int __fastcall GJBaseGameLayer::removeBackground(GJBaseGameLayer *this)
{
int result; // r0
result = *((_DWORD *)this + 612);
if ( result )
{
result = (*(int (__fastcall **)(int))(*(_DWORD *)result + 260))(result);
*((_DWORD *)this + 612) = 0;
}
return result;
}