{"type": "func", "start": 4297996296, "end": 4297996456, "name": "LevelListLayer::setIDPopupClosed", "pseudocode": "// \n// LevelListLayer::setIDPopupClosed from 0x1002e3808 to 0x1002e38a8 (160 bytes)\n// \n// 2 xrefs:\n// > sub_1002E38A8 @ 0x1002e38ac\n// > <???> @ 0x100923a10\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:02:49 +0000\n// \n\nvoid __fastcall LevelListLayer::setIDPopupClosed(__int64 a1, int *a2, __int64 a3)\n{\n  __int64 v6; // x8\n  __int64 v7; // x0\n\n  if ( (*(unsigned int (__fastcall **)(int *))(*(_QWORD *)a2 + 64LL))(a2) == 1003 )\n  {\n    sub_1000D6B78(*(std::string **)(a1 + 912), a2[176], a3 - 1);\n    LevelBrowserLayer::setupLevelBrowser(a1, 0);\n    v6 = *(_QWORD *)(a1 + 608);\n    if ( v6 )\n    {\n      v7 = *(_QWORD *)(v6 + 544);\n      *(_DWORD *)(v7 + 464) = *(_DWORD *)(a1 + 968);\n      CustomListView::reloadAll(v7);\n    }\n  }\n  else\n  {\n    LevelBrowserLayer::setIDPopupClosed(a1, a2, a3);\n  }\n}", "assembly": "; \n; LevelListLayer::setIDPopupClosed from 0x1002e3808 to 0x1002e38a8 (160 bytes)\n; \n; 2 xrefs:\n; > sub_1002E38A8 @ 0x1002e38ac\n; > <???> @ 0x100923a10\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:02:49 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1002e3808\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1002e380c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1002e3810\nADD             X29, SP, #0x20                                         ; +0xc, 0x1002e3814\nMOV             X20, X2                                                ; +0x10, 0x1002e3818\nMOV             X21, X1                                                ; +0x14, 0x1002e381c\nMOV             X19, X0                                                ; +0x18, 0x1002e3820\nLDR             X8, [X1]                                               ; +0x1c, 0x1002e3824\nLDR             X8, [X8,#0x40]                                         ; +0x20, 0x1002e3828\nMOV             X0, X1                                                 ; +0x24, 0x1002e382c\nBLR             X8                                                     ; +0x28, 0x1002e3830\nCMP             W0, #0x3EB                                             ; +0x2c, 0x1002e3834\nB.NE            loc_1002E387C                                          ; +0x30, 0x1002e3838\nLDR             W1, [X21,#0x2C0]                                       ; +0x34, 0x1002e383c\nSUB             W2, W20, #1                                            ; +0x38, 0x1002e3840\nLDR             X0, [X19,#0x390]                                       ; +0x3c, 0x1002e3844\nBL              sub_1000D6B78                                          ; +0x40, 0x1002e3848\nMOV             X0, X19                                                ; +0x44, 0x1002e384c\nMOV             X1, #0                                                 ; +0x48, 0x1002e3850\nBL              LevelBrowserLayer__setupLevelBrowser                   ; +0x4c, 0x1002e3854\nLDR             X8, [X19,#0x260]                                       ; +0x50, 0x1002e3858\nCBZ             X8, loc_1002E3898                                      ; +0x54, 0x1002e385c\nLDR             X0, [X8,#0x220]                                        ; +0x58, 0x1002e3860\nLDR             W8, [X19,#0x3C8]                                       ; +0x5c, 0x1002e3864\nSTR             W8, [X0,#0x1D0]                                        ; +0x60, 0x1002e3868\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x64, 0x1002e386c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x68, 0x1002e3870\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x6c, 0x1002e3874\nB               CustomListView__reloadAll                              ; +0x70, 0x1002e3878\nMOV             X0, X19                                                ; +0x74, 0x1002e387c\nMOV             X1, X21                                                ; +0x78, 0x1002e3880\nMOV             X2, X20                                                ; +0x7c, 0x1002e3884\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x80, 0x1002e3888\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x84, 0x1002e388c\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x88, 0x1002e3890\nB               LevelBrowserLayer__setIDPopupClosed                    ; +0x8c, 0x1002e3894\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x90, 0x1002e3898\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x94, 0x1002e389c\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x98, 0x1002e38a0\nRET                                                                    ; +0x9c, 0x1002e38a4", "xrefs": ["sub_1002E38A8 @ 0x1002e38ac", "<???> @ 0x100923a10"], "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"}