{"type": "func", "start": 4297116780, "end": 4297116880, "name": "LevelSettingsLayer::onGArt", "pseudocode": "// \n// LevelSettingsLayer::onGArt from 0x10020cc6c to 0x10020ccd0 (100 bytes)\n// \n// 1 xrefs:\n// > LevelSettingsLayer::init @ 0x10020bb2c\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:00 +0000\n// \n\n__int64 __fastcall LevelSettingsLayer::onGArt(__int64 a1)\n{\n  __int64 v2; // x0\n  _QWORD *v3; // x20\n\n  v2 = SelectArtLayer::create(1, *(unsigned int *)(*(_QWORD *)(a1 + 816) + 356LL));\n  v3 = (_QWORD *)v2;\n  if ( *(_QWORD *)(v2 + 672) )\n  {\n    *(_DWORD *)(v2 + 684) = *(_DWORD *)(*(_QWORD *)(a1 + 816) + 424LL);\n    sub_10020E4E0(v2, 0);\n  }\n  v3[87] = a1 + 672;\n  return (*(__int64 (__fastcall **)(_QWORD *))(*v3 + 1312LL))(v3);\n}", "assembly": "; \n; LevelSettingsLayer::onGArt from 0x10020cc6c to 0x10020ccd0 (100 bytes)\n; \n; 1 xrefs:\n; > LevelSettingsLayer::init @ 0x10020bb2c\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:00 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10020cc6c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10020cc70\nADD             X29, SP, #0x10                                         ; +0x8, 0x10020cc74\nMOV             X19, X0                                                ; +0xc, 0x10020cc78\nLDR             X8, [X0,#0x330]                                        ; +0x10, 0x10020cc7c\nLDR             W1, [X8,#0x164]                                        ; +0x14, 0x10020cc80\nMOV             W0, #1                                                 ; +0x18, 0x10020cc84\nBL              SelectArtLayer__create                                 ; +0x1c, 0x10020cc88\nMOV             X20, X0                                                ; +0x20, 0x10020cc8c\nLDR             X8, [X0,#0x2A0]                                        ; +0x24, 0x10020cc90\nCBZ             X8, loc_10020CCB0                                      ; +0x28, 0x10020cc94\nLDR             X8, [X19,#0x330]                                       ; +0x2c, 0x10020cc98\nLDR             W8, [X8,#0x1A8]                                        ; +0x30, 0x10020cc9c\nSTR             W8, [X20,#0x2AC]                                       ; +0x34, 0x10020cca0\nMOV             X0, X20                                                ; +0x38, 0x10020cca4\nMOV             X1, #0                                                 ; +0x3c, 0x10020cca8\nBL              sub_10020E4E0                                          ; +0x40, 0x10020ccac\nADD             X8, X19, #0x2A0                                        ; +0x44, 0x10020ccb0\nSTR             X8, [X20,#0x2B8]                                       ; +0x48, 0x10020ccb4\nLDR             X8, [X20]                                              ; +0x4c, 0x10020ccb8\nLDR             X1, [X8,#0x520]                                        ; +0x50, 0x10020ccbc\nMOV             X0, X20                                                ; +0x54, 0x10020ccc0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x10020ccc4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x10020ccc8\nBR              X1                                                     ; +0x60, 0x10020cccc", "xrefs": ["LevelSettingsLayer::init @ 0x10020bb2c"], "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"}