{"type": "func", "start": 4295954208, "end": 4295954283, "name": "GJBaseGameLayer::removeGroundLayer", "pseudocode": "// \n// GJBaseGameLayer::removeGroundLayer from 0x1000f0f20 to 0x1000f0f6b (75 bytes)\n// \n// 1 xrefs:\n// > LevelSettingsLayer::selectArtClosed @ 0x100259466\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:21:11 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::removeGroundLayer(__int64 a1)\n{\n  __int64 v2; // rdi\n  __int64 result; // rax\n\n  v2 = *(_QWORD *)(a1 + 3960);\n  if ( v2 )\n  {\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 520LL))(v2);\n    *(_QWORD *)(a1 + 3960) = 0;\n    result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3968) + 520LL))(*(_QWORD *)(a1 + 3968));\n    *(_QWORD *)(a1 + 3968) = 0;\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::removeGroundLayer from 0x1000f0f20 to 0x1000f0f6b (75 bytes)\n; \n; 1 xrefs:\n; > LevelSettingsLayer::selectArtClosed @ 0x100259466\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:21:11 +0000\n; \npush    rbp                                                            ; +0x0, 0x1000f0f20\nmov     rbp, rsp                                                       ; +0x1, 0x1000f0f21\npush    rbx                                                            ; +0x4, 0x1000f0f24\npush    rax                                                            ; +0x5, 0x1000f0f25\nmov     rbx, rdi                                                       ; +0x6, 0x1000f0f26\nmov     rdi, [rdi+0F78h]                                               ; +0x9, 0x1000f0f29\ntest    rdi, rdi                                                       ; +0x10, 0x1000f0f30\njz      short loc_1000F0F64                                            ; +0x13, 0x1000f0f33\nmov     rax, [rdi]                                                     ; +0x15, 0x1000f0f35\ncall    qword ptr [rax+208h]                                           ; +0x18, 0x1000f0f38\nmov     qword ptr [rbx+0F78h], 0                                       ; +0x1e, 0x1000f0f3e\nmov     rdi, [rbx+0F80h]                                               ; +0x29, 0x1000f0f49\nmov     rax, [rdi]                                                     ; +0x30, 0x1000f0f50\ncall    qword ptr [rax+208h]                                           ; +0x33, 0x1000f0f53\nmov     qword ptr [rbx+0F80h], 0                                       ; +0x39, 0x1000f0f59\nadd     rsp, 8                                                         ; +0x44, 0x1000f0f64\npop     rbx                                                            ; +0x48, 0x1000f0f68\npop     rbp                                                            ; +0x49, 0x1000f0f69\nretn                                                                   ; +0x4a, 0x1000f0f6a", "xrefs": ["LevelSettingsLayer::selectArtClosed @ 0x100259466"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}