{"type": "func", "start": 5373028752, "end": 5373028901, "name": "LevelInfoLayer::onSetFolder", "pseudocode": "// \n// LevelInfoLayer::onSetFolder from 0x14041e990 to 0x14041ea25 (149 bytes)\n// \n// 3 xrefs:\n// > LevelInfoLayer::init @ 0x14041e406\n// > <???> @ 0x14092672c\n// > <???> @ 0x140926738\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:08 +0000\n// \n\nvoid __fastcall LevelInfoLayer::onSetFolder(__int64 a1)\n{\n  __int64 v2; // rcx\n  _QWORD *v3; // rax\n  __int64 v4; // rcx\n  _QWORD v5[5]; // [rsp+20h] [rbp-28h] BYREF\n\n  v2 = *(_QWORD *)(a1 + 504);\n  if ( v2 && !*(_BYTE *)(a1 + 488) )\n  {\n    v5[2] = 10;\n    v5[1] = 29285;\n    v5[3] = 15;\n    v5[0] = 0x646C6F4620746553LL;\n    v3 = SetFolderPopup::create(*(_DWORD *)(v2 + 988), 0, (__int64)v5);\n    v4 = a1 + 464;\n    if ( !a1 )\n      v4 = 0;\n    v3[87] = v4;\n    (*(void (__fastcall **)(_QWORD *))(*v3 + 1064LL))(v3);\n  }\n}", "assembly": "; \n; LevelInfoLayer::onSetFolder from 0x14041e990 to 0x14041ea25 (149 bytes)\n; \n; 3 xrefs:\n; > LevelInfoLayer::init @ 0x14041e406\n; > <???> @ 0x14092672c\n; > <???> @ 0x140926738\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:08 +0000\n; \npush    rbx                                                            ; +0x0, 0x14041e990\nsub     rsp, 40h                                                       ; +0x2, 0x14041e992\nmov     rbx, rcx                                                       ; +0x6, 0x14041e996\nmov     rcx, [rcx+1F8h]                                                ; +0x9, 0x14041e999\ntest    rcx, rcx                                                       ; +0x10, 0x14041e9a0\njz      short loc_14041EA1F                                            ; +0x13, 0x14041e9a3\ncmp     byte ptr [rbx+1E8h], 0                                         ; +0x15, 0x14041e9a5\njnz     short loc_14041EA1F                                            ; +0x1c, 0x14041e9ac\nmovzx   eax, cs:word_140748140                                         ; +0x1e, 0x14041e9ae\nlea     r8, [rsp+48h+var_28]                                           ; +0x25, 0x14041e9b5\nxorps   xmm0, xmm0                                                     ; +0x2a, 0x14041e9ba\nmov     [rsp+48h+var_18], 0Ah                                          ; +0x2d, 0x14041e9bd\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x36, 0x14041e9c6\nxor     edx, edx                                                       ; +0x3b, 0x14041e9cb\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x3d, 0x14041e9cd\nmovsd   xmm0, cs:qword_140748138                                       ; +0x46, 0x14041e9d6\nmovsd   qword ptr [rsp+48h+var_28], xmm0                               ; +0x4e, 0x14041e9de\nmov     word ptr [rsp+48h+var_28+8], ax                                ; +0x54, 0x14041e9e4\nmov     byte ptr [rsp+48h+var_28+0Ah], 0                               ; +0x59, 0x14041e9e9\nmov     ecx, [rcx+3DCh]                                                ; +0x5e, 0x14041e9ee\ncall    SetFolderPopup__create                                         ; +0x64, 0x14041e9f4\nxor     edx, edx                                                       ; +0x69, 0x14041e9f9\nlea     rcx, [rbx+1D0h]                                                ; +0x6b, 0x14041e9fb\ntest    rbx, rbx                                                       ; +0x72, 0x14041ea02\ncmovz   rcx, rdx                                                       ; +0x75, 0x14041ea05\nmov     [rax+2B8h], rcx                                                ; +0x79, 0x14041ea09\nmov     rcx, [rax]                                                     ; +0x80, 0x14041ea10\nmov     rdx, [rcx+428h]                                                ; +0x83, 0x14041ea13\nmov     rcx, rax                                                       ; +0x8a, 0x14041ea1a\ncall    rdx                                                            ; +0x8d, 0x14041ea1d\nadd     rsp, 40h                                                       ; +0x8f, 0x14041ea1f\npop     rbx                                                            ; +0x93, 0x14041ea23\nretn                                                                   ; +0x94, 0x14041ea24", "xrefs": ["LevelInfoLayer::init @ 0x14041e406", "<???> @ 0x14092672c", "<???> @ 0x140926738"], "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"}