{"type": "func", "start": 4295954160, "end": 4295954208, "name": "GJBaseGameLayer::removeMiddleground", "pseudocode": "// \n// GJBaseGameLayer::removeMiddleground from 0x1000f0ef0 to 0x1000f0f20 (48 bytes)\n// \n// 1 xrefs:\n// > LevelSettingsLayer::selectArtClosed @ 0x100259522\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::removeMiddleground(__int64 a1)\n{\n  __int64 v2; // rdi\n  __int64 result; // rax\n\n  v2 = *(_QWORD *)(a1 + 3976);\n  if ( v2 )\n  {\n    result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 520LL))(v2);\n    *(_QWORD *)(a1 + 3976) = 0;\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::removeMiddleground from 0x1000f0ef0 to 0x1000f0f20 (48 bytes)\n; \n; 1 xrefs:\n; > LevelSettingsLayer::selectArtClosed @ 0x100259522\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, 0x1000f0ef0\nmov     rbp, rsp                                                       ; +0x1, 0x1000f0ef1\npush    rbx                                                            ; +0x4, 0x1000f0ef4\npush    rax                                                            ; +0x5, 0x1000f0ef5\nmov     rbx, rdi                                                       ; +0x6, 0x1000f0ef6\nmov     rdi, [rdi+0F88h]                                               ; +0x9, 0x1000f0ef9\ntest    rdi, rdi                                                       ; +0x10, 0x1000f0f00\njz      short loc_1000F0F19                                            ; +0x13, 0x1000f0f03\nmov     rax, [rdi]                                                     ; +0x15, 0x1000f0f05\ncall    qword ptr [rax+208h]                                           ; +0x18, 0x1000f0f08\nmov     qword ptr [rbx+0F88h], 0                                       ; +0x1e, 0x1000f0f0e\nadd     rsp, 8                                                         ; +0x29, 0x1000f0f19\npop     rbx                                                            ; +0x2d, 0x1000f0f1d\npop     rbp                                                            ; +0x2e, 0x1000f0f1e\nretn                                                                   ; +0x2f, 0x1000f0f1f", "xrefs": ["LevelSettingsLayer::selectArtClosed @ 0x100259522"], "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"}