{"type": "func", "start": 4296924576, "end": 4296924628, "name": "GJBaseGameLayer::removeBackground", "pseudocode": "// \n// GJBaseGameLayer::removeBackground from 0x1001ddda0 to 0x1001dddd4 (52 bytes)\n// \n// 1 xrefs:\n// > LevelSettingsLayer::selectArtClosed @ 0x10017c158\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GJBaseGameLayer::removeBackground(GJBaseGameLayer *a1)\n{\n  cocos2d::CCSprite *m_background; // x0\n\n  m_background = a1->m_background;\n  if ( m_background )\n  {\n    ((void (__fastcall *)(cocos2d::CCSprite *))m_background->removeFromParent)(m_background);\n    a1->m_background = nullptr;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeBackground from 0x1001ddda0 to 0x1001dddd4 (52 bytes)\n; \n; 1 xrefs:\n; > LevelSettingsLayer::selectArtClosed @ 0x10017c158\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001ddda0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001ddda4\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001ddda8\nMOV             X19, X0                                                ; +0xc, 0x1001dddac\nLDR             X0, [X0,#0xEF8]                                        ; +0x10, 0x1001dddb0\nCBZ             X0, loc_1001DDDC8                                      ; +0x14, 0x1001dddb4\nLDR             X8, [X0]                                               ; +0x18, 0x1001dddb8\nLDR             X8, [X8,#0x1F8]                                        ; +0x1c, 0x1001dddbc\nBLR             X8                                                     ; +0x20, 0x1001dddc0\nSTR             XZR, [X19,#0xEF8]                                      ; +0x24, 0x1001dddc4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x28, 0x1001dddc8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x2c, 0x1001dddcc\nRET                                                                    ; +0x30, 0x1001dddd0", "xrefs": ["LevelSettingsLayer::selectArtClosed @ 0x10017c158"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}