{"type": "func", "start": 4640844, "end": 4640870, "name": "GJBaseGameLayer::removeBackground", "pseudocode": "// \n// GJBaseGameLayer::removeBackground from 0x46d04c to 0x46d066 (26 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::createBackground @ 0x46d09c\n// > LevelSettingsLayer::selectArtClosed @ 0x56f934\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; // r0\n\n  m_background = a1->m_background;\n  if ( m_background )\n  {\n    m_background->removeFromParent(m_background);\n    a1->m_background = nullptr;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeBackground from 0x46d04c to 0x46d066 (26 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::createBackground @ 0x46d09c\n; > LevelSettingsLayer::selectArtClosed @ 0x56f934\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\nPUSH            {R4,LR}                                                ; +0x0, 0x46d04c\nMOV             R4, R0                                                 ; +0x2, 0x46d04e\nLDR.W           R0, [R0,#0x9FC]                                        ; +0x4, 0x46d050\nCBZ             R0, locret_46D064                                      ; +0x8, 0x46d054\nLDR             R3, [R0]                                               ; +0xa, 0x46d056\nLDR.W           R3, [R3,#0xFC]                                         ; +0xc, 0x46d058\nBLX             R3                                                     ; +0x10, 0x46d05c\nMOVS            R3, #0                                                 ; +0x12, 0x46d05e\nSTR.W           R3, [R4,#0x9FC]                                        ; +0x14, 0x46d060\nPOP             {R4,PC}                                                ; +0x18, 0x46d064", "xrefs": ["GJBaseGameLayer::createBackground @ 0x46d09c", "LevelSettingsLayer::selectArtClosed @ 0x56f934"], "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"}