{"type": "func", "start": 8744848, "end": 8744904, "name": "GJBaseGameLayer::removeBackground", "pseudocode": "// \n// GJBaseGameLayer::removeBackground from 0x856f90 to 0x856fc8 (56 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::createBackground @ 0x857028\n// > LevelSettingsLayer::selectArtClosed @ 0xa34554\n// > <???> @ 0xbcbe0\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 GJBaseGameLayer::removeBackground(GJBaseGameLayer *a1)\n{\n  cocos2d::CCSprite *m_background; // x1\n\n  m_background = a1->m_background;\n  if ( m_background )\n  {\n    m_background->removeFromParent(a1->m_background);\n    a1->m_background = nullptr;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeBackground from 0x856f90 to 0x856fc8 (56 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::createBackground @ 0x857028\n; > LevelSettingsLayer::selectArtClosed @ 0xa34554\n; > <???> @ 0xbcbe0\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0x856f90\nMOV             X29, SP                                                ; +0x4, 0x856f94\nLDR             X1, [X0,#0x1048]                                       ; +0x8, 0x856f98\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x856f9c\nCBZ             X1, loc_856FBC                                         ; +0x10, 0x856fa0\nLDR             X2, [X1]                                               ; +0x14, 0x856fa4\nMOV             X19, X0                                                ; +0x18, 0x856fa8\nMOV             X0, X1                                                 ; +0x1c, 0x856fac\nLDR             X1, [X2,#0x1F8]                                        ; +0x20, 0x856fb0\nBLR             X1                                                     ; +0x24, 0x856fb4\nSTR             XZR, [X19,#0x1048]                                     ; +0x28, 0x856fb8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x2c, 0x856fbc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x30, 0x856fc0\nRET                                                                    ; +0x34, 0x856fc4", "xrefs": ["GJBaseGameLayer::createBackground @ 0x857028", "LevelSettingsLayer::selectArtClosed @ 0xa34554", "<???> @ 0xbcbe0"], "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"}