{"type": "func", "start": 4296100992, "end": 4296101067, "name": "GJBaseGameLayer::removeGroundLayer", "pseudocode": "// \n// GJBaseGameLayer::removeGroundLayer from 0x100114c80 to 0x100114ccb (75 bytes)\n// \n// 1 xrefs:\n// > LevelSettingsLayer::selectArtClosed @ 0x10026f466\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::removeGroundLayer(GJBaseGameLayer *a1)\n{\n  GJGroundLayer *m_groundLayer; // rdi\n\n  m_groundLayer = a1->m_groundLayer;\n  if ( m_groundLayer )\n  {\n    ((void (__fastcall *)(GJGroundLayer *))m_groundLayer->removeFromParent)(m_groundLayer);\n    a1->m_groundLayer = nullptr;\n    ((void (__fastcall *)(GJGroundLayer *))a1->m_groundLayer2->removeFromParent)(a1->m_groundLayer2);\n    a1->m_groundLayer2 = nullptr;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeGroundLayer from 0x100114c80 to 0x100114ccb (75 bytes)\n; \n; 1 xrefs:\n; > LevelSettingsLayer::selectArtClosed @ 0x10026f466\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    rbp                                                            ; +0x0, 0x100114c80\nmov     rbp, rsp                                                       ; +0x1, 0x100114c81\npush    rbx                                                            ; +0x4, 0x100114c84\npush    rax                                                            ; +0x5, 0x100114c85\nmov     rbx, rdi                                                       ; +0x6, 0x100114c86\nmov     rdi, [rdi+0EE0h]                                               ; +0x9, 0x100114c89\ntest    rdi, rdi                                                       ; +0x10, 0x100114c90\njz      short loc_100114CC4                                            ; +0x13, 0x100114c93\nmov     rax, [rdi]                                                     ; +0x15, 0x100114c95\ncall    qword ptr [rax+1F8h]                                           ; +0x18, 0x100114c98\nmov     qword ptr [rbx+0EE0h], 0                                       ; +0x1e, 0x100114c9e\nmov     rdi, [rbx+0EE8h]                                               ; +0x29, 0x100114ca9\nmov     rax, [rdi]                                                     ; +0x30, 0x100114cb0\ncall    qword ptr [rax+1F8h]                                           ; +0x33, 0x100114cb3\nmov     qword ptr [rbx+0EE8h], 0                                       ; +0x39, 0x100114cb9\nadd     rsp, 8                                                         ; +0x44, 0x100114cc4\npop     rbx                                                            ; +0x48, 0x100114cc8\npop     rbp                                                            ; +0x49, 0x100114cc9\nretn                                                                   ; +0x4a, 0x100114cca", "xrefs": ["LevelSettingsLayer::selectArtClosed @ 0x10026f466"], "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"}