// // GJBaseGameLayer::swapBackground from 0x58c796 to 0x58c7ce (56 bytes) // // 1 xrefs: // > ArtTriggerGameObject::triggerObject @ 0x4e6904 // // 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:03 +0000 // int __fastcall GJBaseGameLayer::swapBackground(int this, const char *a2) { GJBaseGameLayer *v2; // r5 GameManager *v4; // r0 const char *v5; // r1 int v6; // r0 v2 = (GJBaseGameLayer *)this; *(_DWORD *)(this + 1376) = a2; if ( !*(_BYTE *)(this + 10829) ) { v4 = (GameManager *)GameManager::sharedState((GameManager *)this); v5 = *((const char **)v4 + 192); if ( v5 == a2 ) { return GJBaseGameLayer::asyncBGLoaded(v2, v5); } else { v6 = GameManager::sharedState(v4); return GameManager::loadBackgroundAsync(v6, a2); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source