{"type": "func", "start": 5373275776, "end": 5373275902, "name": "LevelSettingsLayer::onGArt", "pseudocode": "// \n// LevelSettingsLayer::onGArt from 0x14045ae80 to 0x14045aefe (126 bytes)\n// \n// 2 xrefs:\n// > LevelSettingsLayer::init @ 0x140458f39\n// > <???> @ 0x140927ca4\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 11:32:31 +0000\n// \n\n__int64 __fastcall LevelSettingsLayer::onGArt(__int64 a1)\n{\n  __int64 v2; // rax\n  __int64 *v3; // rbx\n  __int64 v4; // rcx\n  __int64 v5; // rax\n\n  v2 = SelectArtLayer::create(1, *(unsigned int *)(*(_QWORD *)(a1 + 816) + 356LL));\n  v3 = (__int64 *)v2;\n  if ( *(_QWORD *)(v2 + 672) )\n  {\n    *(_DWORD *)(v2 + 684) = *(_DWORD *)(*(_QWORD *)(a1 + 816) + 432LL);\n    SelectArtLayer::onSelectCustom(v2, 0);\n  }\n  v4 = a1 + 672;\n  if ( !a1 )\n    v4 = 0;\n  v5 = *v3;\n  v3[87] = v4;\n  return (*(__int64 (__fastcall **)(__int64 *))(v5 + 1064))(v3);\n}", "assembly": "; \n; LevelSettingsLayer::onGArt from 0x14045ae80 to 0x14045aefe (126 bytes)\n; \n; 2 xrefs:\n; > LevelSettingsLayer::init @ 0x140458f39\n; > <???> @ 0x140927ca4\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 11:32:31 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14045ae80\npush    rdi                                                            ; +0x5, 0x14045ae85\nsub     rsp, 20h                                                       ; +0x6, 0x14045ae86\nmov     rdx, [rcx+330h]                                                ; +0xa, 0x14045ae8a\nmov     rdi, rcx                                                       ; +0x11, 0x14045ae91\nmov     ecx, 1                                                         ; +0x14, 0x14045ae94\nmov     edx, [rdx+164h]                                                ; +0x19, 0x14045ae99\ncall    SelectArtLayer__create                                         ; +0x1f, 0x14045ae9f\nmov     rbx, rax                                                       ; +0x24, 0x14045aea4\ncmp     qword ptr [rax+2A0h], 0                                        ; +0x27, 0x14045aea7\njz      short loc_14045AED0                                            ; +0x2f, 0x14045aeaf\nmov     rdx, [rdi+330h]                                                ; +0x31, 0x14045aeb1\nmov     rcx, rax                                                       ; +0x38, 0x14045aeb8\nmov     r8d, [rdx+1B0h]                                                ; +0x3b, 0x14045aebb\nxor     edx, edx                                                       ; +0x42, 0x14045aec2\nmov     [rax+2ACh], r8d                                                ; +0x44, 0x14045aec4\ncall    SelectArtLayer__onSelectCustom                                 ; +0x4b, 0x14045aecb\nxor     eax, eax                                                       ; +0x50, 0x14045aed0\nlea     rcx, [rdi+2A0h]                                                ; +0x52, 0x14045aed2\ntest    rdi, rdi                                                       ; +0x59, 0x14045aed9\ncmovz   rcx, rax                                                       ; +0x5c, 0x14045aedc\nmov     rax, [rbx]                                                     ; +0x60, 0x14045aee0\nmov     [rbx+2B8h], rcx                                                ; +0x63, 0x14045aee3\nmov     rcx, rbx                                                       ; +0x6a, 0x14045aeea\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6d, 0x14045aeed\nadd     rsp, 20h                                                       ; +0x72, 0x14045aef2\npop     rdi                                                            ; +0x76, 0x14045aef6\njmp     qword ptr [rax+428h]                                           ; +0x77, 0x14045aef7", "xrefs": ["LevelSettingsLayer::init @ 0x140458f39", "<???> @ 0x140927ca4"], "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"}