{"type": "func", "start": 8745748, "end": 8745824, "name": "GJBaseGameLayer::removeGroundLayer", "pseudocode": "// \n// GJBaseGameLayer::removeGroundLayer from 0x857314 to 0x857360 (76 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::createGroundLayer @ 0x857384\n// > LevelSettingsLayer::selectArtClosed @ 0xa34600\n// > <???> @ 0xbe4b8\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::removeGroundLayer(GJBaseGameLayer *a1)\n{\n  GJGroundLayer *m_groundLayer; // x0\n\n  m_groundLayer = a1->m_groundLayer;\n  if ( m_groundLayer )\n  {\n    m_groundLayer->removeFromParent(m_groundLayer);\n    a1->m_groundLayer = nullptr;\n    a1->m_groundLayer2->removeFromParent(a1->m_groundLayer2);\n    a1->m_groundLayer2 = nullptr;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeGroundLayer from 0x857314 to 0x857360 (76 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::createGroundLayer @ 0x857384\n; > LevelSettingsLayer::selectArtClosed @ 0xa34600\n; > <???> @ 0xbe4b8\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, 0x857314\nMOV             X29, SP                                                ; +0x4, 0x857318\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x85731c\nMOV             X19, X0                                                ; +0xc, 0x857320\nLDR             X0, [X0,#0x1058]                                       ; +0x10, 0x857324\nCBZ             X0, loc_857354                                         ; +0x14, 0x857328\nLDR             X1, [X0]                                               ; +0x18, 0x85732c\nLDR             X1, [X1,#0x1F8]                                        ; +0x1c, 0x857330\nBLR             X1                                                     ; +0x20, 0x857334\nSTR             XZR, [X19,#0x1058]                                     ; +0x24, 0x857338\nLDR             X1, [X19,#0x1060]                                      ; +0x28, 0x85733c\nMOV             X0, X1                                                 ; +0x2c, 0x857340\nLDR             X1, [X1]                                               ; +0x30, 0x857344\nLDR             X1, [X1,#0x1F8]                                        ; +0x34, 0x857348\nBLR             X1                                                     ; +0x38, 0x85734c\nSTR             XZR, [X19,#0x1060]                                     ; +0x3c, 0x857350\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x40, 0x857354\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x44, 0x857358\nRET                                                                    ; +0x48, 0x85735c", "xrefs": ["GJBaseGameLayer::createGroundLayer @ 0x857384", "LevelSettingsLayer::selectArtClosed @ 0xa34600", "<???> @ 0xbe4b8"], "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"}