{"type": "func", "start": 4296926048, "end": 4296926100, "name": "GJBaseGameLayer::removeMiddleground", "pseudocode": "// \n// GJBaseGameLayer::removeMiddleground from 0x1001de360 to 0x1001de394 (52 bytes)\n// \n// 1 xrefs:\n// > LevelSettingsLayer::selectArtClosed @ 0x10017c27c\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::removeMiddleground(GJBaseGameLayer *a1)\n{\n  GJMGLayer *m_middleground; // x0\n\n  m_middleground = a1->m_middleground;\n  if ( m_middleground )\n  {\n    ((void (__fastcall *)(GJMGLayer *))m_middleground->removeFromParent)(m_middleground);\n    a1->m_middleground = nullptr;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeMiddleground from 0x1001de360 to 0x1001de394 (52 bytes)\n; \n; 1 xrefs:\n; > LevelSettingsLayer::selectArtClosed @ 0x10017c27c\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, 0x1001de360\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001de364\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001de368\nMOV             X19, X0                                                ; +0xc, 0x1001de36c\nLDR             X0, [X0,#0xF18]                                        ; +0x10, 0x1001de370\nCBZ             X0, loc_1001DE388                                      ; +0x14, 0x1001de374\nLDR             X8, [X0]                                               ; +0x18, 0x1001de378\nLDR             X8, [X8,#0x1F8]                                        ; +0x1c, 0x1001de37c\nBLR             X8                                                     ; +0x20, 0x1001de380\nSTR             XZR, [X19,#0xF18]                                      ; +0x24, 0x1001de384\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x28, 0x1001de388\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x2c, 0x1001de38c\nRET                                                                    ; +0x30, 0x1001de390", "xrefs": ["LevelSettingsLayer::selectArtClosed @ 0x10017c27c"], "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"}