{"type": "func", "start": 4300250112, "end": 4300250179, "name": "GJRateEditorSoundLayer::onClosePopup", "pseudocode": "// \n// GJRateEditorSoundLayer::onClosePopup from 0x100509c00 to 0x100509c43 (67 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b66a68\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 12:31:33 +0000\n// \n\n__int64 __fastcall GJRateEditorSoundLayer::onClosePopup(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n\n  result = UploadActionPopup::closePopup(a2);\n  *(_QWORD *)(a1 + 1048) = 0;\n  if ( *(_BYTE *)(a1 + 1056) == 1 )\n    return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1368LL))(a1, 0);\n  return result;\n}", "assembly": "; \n; GJRateEditorSoundLayer::onClosePopup from 0x100509c00 to 0x100509c43 (67 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b66a68\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 12:31:33 +0000\n; \npush    rbp                                                            ; +0x0, 0x100509c00\nmov     rbp, rsp                                                       ; +0x1, 0x100509c01\npush    rbx                                                            ; +0x4, 0x100509c04\npush    rax                                                            ; +0x5, 0x100509c05\nmov     rbx, rdi                                                       ; +0x6, 0x100509c06\nmov     rdi, rsi                                                       ; +0x9, 0x100509c09\ncall    UploadActionPopup__closePopup                                  ; +0xc, 0x100509c0c\nmov     qword ptr [rbx+418h], 0                                        ; +0x11, 0x100509c11\ncmp     byte ptr [rbx+420h], 1                                         ; +0x1c, 0x100509c1c\njnz     short loc_100509C3C                                            ; +0x23, 0x100509c23\nmov     rax, [rbx]                                                     ; +0x25, 0x100509c25\nmov     rax, [rax+558h]                                                ; +0x28, 0x100509c28\nmov     rdi, rbx                                                       ; +0x2f, 0x100509c2f\nxor     esi, esi                                                       ; +0x32, 0x100509c32\nadd     rsp, 8                                                         ; +0x34, 0x100509c34\npop     rbx                                                            ; +0x38, 0x100509c38\npop     rbp                                                            ; +0x39, 0x100509c39\njmp     rax                                                            ; +0x3a, 0x100509c3a\nadd     rsp, 8                                                         ; +0x3c, 0x100509c3c\npop     rbx                                                            ; +0x40, 0x100509c40\npop     rbp                                                            ; +0x41, 0x100509c41\nretn                                                                   ; +0x42, 0x100509c42", "xrefs": ["<???> @ 0x100b66a68"], "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"}