{"type": "func", "start": 5373095488, "end": 5373095652, "name": "LevelListLayer::setIDPopupClosed", "pseudocode": "// \n// LevelListLayer::setIDPopupClosed from 0x14042ee40 to 0x14042eee4 (164 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x14078e1d8\n// > <???> @ 0x1408c9ff4\n// > <???> @ 0x1408ca004\n// > <???> @ 0x140926b7c\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:14 +0000\n// \n\nvoid __fastcall LevelListLayer::setIDPopupClosed(__int64 a1, unsigned int *a2, int a3)\n{\n  __int64 v6; // rcx\n  __int64 v7; // rcx\n\n  if ( (*(unsigned int (__fastcall **)(unsigned int *))(*(_QWORD *)a2 + 56LL))(a2) == 1003 )\n  {\n    GJLevelList::reorderLevel(*(_QWORD *)(a1 + 360), a2[176], a3 - 1);\n    LevelBrowserLayer::setupLevelBrowser(a1 - 560, nullptr);\n    v6 = *(_QWORD *)(a1 + 48);\n    if ( v6 )\n    {\n      v7 = *(_QWORD *)(v6 + 544);\n      *(_DWORD *)(v7 + 464) = *(_DWORD *)(a1 + 424);\n      CustomListView::reloadAll(v7);\n    }\n  }\n  else\n  {\n    LevelBrowserLayer::setIDPopupClosed(a1, (__int64)a2, a3);\n  }\n}", "assembly": "; \n; LevelListLayer::setIDPopupClosed from 0x14042ee40 to 0x14042eee4 (164 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x14078e1d8\n; > <???> @ 0x1408c9ff4\n; > <???> @ 0x1408ca004\n; > <???> @ 0x140926b7c\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:14 +0000\n; \nmov     [rsp+arg_8], rbp                                               ; +0x0, 0x14042ee40\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x14042ee45\npush    rdi                                                            ; +0xa, 0x14042ee4a\nsub     rsp, 20h                                                       ; +0xb, 0x14042ee4b\nmov     rax, [rdx]                                                     ; +0xf, 0x14042ee4f\nmov     rdi, rcx                                                       ; +0x12, 0x14042ee52\nmov     rcx, rdx                                                       ; +0x15, 0x14042ee55\nmov     ebp, r8d                                                       ; +0x18, 0x14042ee58\nmov     rsi, rdx                                                       ; +0x1b, 0x14042ee5b\ncall    qword ptr [rax+38h]                                            ; +0x1e, 0x14042ee5e\ncmp     eax, 3EBh                                                      ; +0x21, 0x14042ee61\njnz     short loc_14042EEC6                                            ; +0x26, 0x14042ee66\nmov     edx, [rsi+2C0h]                                                ; +0x28, 0x14042ee68\nlea     r8d, [rbp-1]                                                   ; +0x2e, 0x14042ee6e\nmov     rcx, [rdi+168h]                                                ; +0x32, 0x14042ee72\nmov     [rsp+28h+arg_0], rbx                                           ; +0x39, 0x14042ee79\ncall    GJLevelList__reorderLevel                                      ; +0x3e, 0x14042ee7e\nxor     edx, edx                                                       ; +0x43, 0x14042ee83\nlea     rcx, [rdi-230h]                                                ; +0x45, 0x14042ee85\ncall    LevelBrowserLayer__setupLevelBrowser                           ; +0x4c, 0x14042ee8c\nmov     rcx, [rdi+30h]                                                 ; +0x51, 0x14042ee91\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x55, 0x14042ee95\ntest    rcx, rcx                                                       ; +0x5a, 0x14042ee9a\njz      short loc_14042EED4                                            ; +0x5d, 0x14042ee9d\nmov     rcx, [rcx+220h]                                                ; +0x5f, 0x14042ee9f\nmov     eax, [rdi+1A8h]                                                ; +0x66, 0x14042eea6\nmov     [rcx+1D0h], eax                                                ; +0x6c, 0x14042eeac\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x72, 0x14042eeb2\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x77, 0x14042eeb7\nadd     rsp, 20h                                                       ; +0x7c, 0x14042eebc\npop     rdi                                                            ; +0x80, 0x14042eec0\njmp     CustomListView__reloadAll                                      ; +0x81, 0x14042eec1\nmov     r8d, ebp                                                       ; +0x86, 0x14042eec6\nmov     rdx, rsi                                                       ; +0x89, 0x14042eec9\nmov     rcx, rdi                                                       ; +0x8c, 0x14042eecc\ncall    LevelBrowserLayer__setIDPopupClosed                            ; +0x8f, 0x14042eecf\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x94, 0x14042eed4\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x99, 0x14042eed9\nadd     rsp, 20h                                                       ; +0x9e, 0x14042eede\npop     rdi                                                            ; +0xa2, 0x14042eee2\nretn                                                                   ; +0xa3, 0x14042eee3", "xrefs": ["<???> @ 0x14078e1d8", "<???> @ 0x1408c9ff4", "<???> @ 0x1408ca004", "<???> @ 0x140926b7c"], "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"}