// // GJBaseGameLayer::swapBackground from 0x1000f0820 to 0x1000f0876 (86 bytes) // // 1 xrefs: // > ArtTriggerGameObject::triggerObject @ 0x1001ce98b // // This function is hookable on this platform (idp: pc, 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:21:11 +0000 // void __fastcall GJBaseGameLayer::swapBackground(__int64 a1, __int64 a2, __int64 a3) { __int64 v3; // rdx __int64 v4; // rax double v5; // xmm0_8 __int64 v6; // rax *(_DWORD *)(a1 + 1900) = a2; if ( !*(_BYTE *)(a1 + 12605) ) { GameManager::sharedState(a1, a2, a3); if ( *(_DWORD *)(v4 + 980) == (_DWORD)a2 ) { GJBaseGameLayer::createBackground(a1, (unsigned int)a2, v3); GJBaseGameLayer::updateLevelColors(a1); } else { *(_QWORD *)&v5 = GameManager::sharedState(a1, a2, v3).u64[0]; GameManager::loadBackgroundAsync(v6, (unsigned int)a2, v5); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source