{"type": "func", "start": 4297558188, "end": 4297558260, "name": "GJBaseGameLayer::removeGroundLayer", "pseudocode": "// \n// GJBaseGameLayer::removeGroundLayer from 0x1002788ac to 0x1002788f4 (72 bytes)\n// \n// 1 xrefs:\n// > LevelSettingsLayer::selectArtClosed @ 0x10020d8bc\n// \n// This function is hookable on this platform (idp: arm, 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 11:01:51 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::removeGroundLayer(__int64 a1)\n{\n  __int64 result; // x0\n\n  result = *(_QWORD *)(a1 + 3960);\n  if ( result )\n  {\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)result + 520LL))(result);\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 0x1002788ac to 0x1002788f4 (72 bytes)\n; \n; 1 xrefs:\n; > LevelSettingsLayer::selectArtClosed @ 0x10020d8bc\n; \n; This function is hookable on this platform (idp: arm, 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 11:01:51 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002788ac\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002788b0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002788b4\nMOV             X19, X0                                                ; +0xc, 0x1002788b8\nLDR             X0, [X0,#0xF78]                                        ; +0x10, 0x1002788bc\nCBZ             X0, loc_1002788E8                                      ; +0x14, 0x1002788c0\nLDR             X8, [X0]                                               ; +0x18, 0x1002788c4\nLDR             X8, [X8,#0x208]                                        ; +0x1c, 0x1002788c8\nBLR             X8                                                     ; +0x20, 0x1002788cc\nSTR             XZR, [X19,#0xF78]                                      ; +0x24, 0x1002788d0\nLDR             X0, [X19,#0xF80]                                       ; +0x28, 0x1002788d4\nLDR             X8, [X0]                                               ; +0x2c, 0x1002788d8\nLDR             X8, [X8,#0x208]                                        ; +0x30, 0x1002788dc\nBLR             X8                                                     ; +0x34, 0x1002788e0\nSTR             XZR, [X19,#0xF80]                                      ; +0x38, 0x1002788e4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x1002788e8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x1002788ec\nRET                                                                    ; +0x44, 0x1002788f0", "xrefs": ["LevelSettingsLayer::selectArtClosed @ 0x10020d8bc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}