{"type": "func", "start": 5370270464, "end": 5370270758, "name": "EditLevelLayer::uploadActionFinished", "pseudocode": "// \n// EditLevelLayer::uploadActionFinished from 0x14017d300 to 0x14017d426 (294 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140748198\n// > <???> @ 0x14091880c\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:27:35 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall EditLevelLayer::uploadActionFinished(__int64 a1, int a2)\n{\n  __int64 v3; // rcx\n  _QWORD *v4; // rdx\n  size_t v5; // r8\n  void *v6; // rcx\n  __int128 v7; // [rsp+30h] [rbp-58h] BYREF\n  __int64 v8; // [rsp+40h] [rbp-48h]\n  __int64 v9; // [rsp+48h] [rbp-40h]\n  void *Block[2]; // [rsp+50h] [rbp-38h]\n  __m128i si128; // [rsp+60h] [rbp-28h]\n\n  v3 = *(_QWORD *)(a1 + 48);\n  if ( v3 )\n  {\n    if ( *(_DWORD *)(v3 + 328) - *(_DWORD *)(v3 + 332) == a2 )\n    {\n      if ( *(_QWORD *)(a1 + 112) )\n      {\n        *(_OWORD *)Block = 0;\n        v4 = sub_14003D460(0x20u);\n        Block[0] = v4;\n        si128 = _mm_load_si128((const __m128i *)&xmmword_140836650);\n        strcpy((char *)v4, \"Description updated!\");\n        v7 = 0;\n        v8 = 0;\n        v9 = 0;\n        v5 = -1;\n        do\n          ++v5;\n        while ( *((_BYTE *)v4 + v5) );\n        sub_14003D230(&v7, v4, v5);\n        UploadActionPopup::showSuccessMessage(*(_QWORD *)(a1 + 112), &v7);\n        *(_QWORD *)(*(_QWORD *)(a1 + 112) + 664LL) = 0;\n        *(_QWORD *)(a1 + 112) = 0;\n        if ( si128.m128i_i64[1] > 0xFuLL )\n        {\n          v6 = Block[0];\n          if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n          {\n            v6 = *((void **)Block[0] - 1);\n            if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F )\n              invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n          }\n          j_j_free(v6);\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; EditLevelLayer::uploadActionFinished from 0x14017d300 to 0x14017d426 (294 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140748198\n; > <???> @ 0x14091880c\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:27:35 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14017d300\npush    rdi                                                            ; +0x5, 0x14017d305\nsub     rsp, 80h                                                       ; +0x6, 0x14017d306\nmov     rbx, rcx                                                       ; +0xd, 0x14017d30d\nmov     rcx, [rcx+30h]                                                 ; +0x10, 0x14017d310\ntest    rcx, rcx                                                       ; +0x14, 0x14017d314\njz      loc_14017D415                                                  ; +0x17, 0x14017d317\nmov     eax, [rcx+148h]                                                ; +0x1d, 0x14017d31d\nsub     eax, [rcx+14Ch]                                                ; +0x23, 0x14017d323\ncmp     eax, edx                                                       ; +0x29, 0x14017d329\njnz     loc_14017D415                                                  ; +0x2b, 0x14017d32b\ncmp     qword ptr [rbx+70h], 0                                         ; +0x31, 0x14017d331\njz      loc_14017D415                                                  ; +0x36, 0x14017d336\nxorps   xmm0, xmm0                                                     ; +0x3c, 0x14017d33c\nmovups  xmmword ptr [rsp+88h+Block], xmm0                              ; +0x3f, 0x14017d33f\nmov     ecx, 20h ; ' '                                                 ; +0x44, 0x14017d344\ncall    sub_14003D460                                                  ; +0x49, 0x14017d349\nmov     rdx, rax                                                       ; +0x4e, 0x14017d34e\nmov     [rsp+88h+Block], rax                                           ; +0x51, 0x14017d351\nmovdqa  xmm0, cs:xmmword_140836650                                     ; +0x56, 0x14017d356\nmovdqu  [rsp+88h+var_28], xmm0                                         ; +0x5e, 0x14017d35e\nmovups  xmm0, cs:xmmword_140748058                                     ; +0x64, 0x14017d364\nmovups  xmmword ptr [rax], xmm0                                        ; +0x6b, 0x14017d36b\nmov     eax, cs:dword_140748068                                        ; +0x6e, 0x14017d36e\nmov     [rdx+10h], eax                                                 ; +0x74, 0x14017d374\nmov     byte ptr [rdx+14h], 0                                          ; +0x77, 0x14017d377\nxorps   xmm0, xmm0                                                     ; +0x7b, 0x14017d37b\nmovups  [rsp+88h+var_58], xmm0                                         ; +0x7e, 0x14017d37e\nxor     edi, edi                                                       ; +0x83, 0x14017d383\nmov     [rsp+88h+var_48], rdi                                          ; +0x85, 0x14017d385\nmov     [rsp+88h+var_40], rdi                                          ; +0x8a, 0x14017d38a\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x8f, 0x14017d38f\ninc     r8                                                             ; +0x96, 0x14017d396\ncmp     [rdx+r8], dil                                                  ; +0x99, 0x14017d399\njnz     short loc_14017D396                                            ; +0x9d, 0x14017d39d\nlea     rcx, [rsp+88h+var_58]                                          ; +0x9f, 0x14017d39f\ncall    sub_14003D230                                                  ; +0xa4, 0x14017d3a4\nlea     rdx, [rsp+88h+var_58]                                          ; +0xa9, 0x14017d3a9\nmov     rcx, [rbx+70h]                                                 ; +0xae, 0x14017d3ae\ncall    UploadActionPopup__showSuccessMessage                          ; +0xb2, 0x14017d3b2\nmov     rax, [rbx+70h]                                                 ; +0xb7, 0x14017d3b7\nmov     [rax+298h], rdi                                                ; +0xbb, 0x14017d3bb\nmov     [rbx+70h], rdi                                                 ; +0xc2, 0x14017d3c2\nmov     rdx, qword ptr [rsp+88h+var_28+8]                              ; +0xc6, 0x14017d3c6\ncmp     rdx, 0Fh                                                       ; +0xcb, 0x14017d3cb\njbe     short loc_14017D415                                            ; +0xcf, 0x14017d3cf\ninc     rdx                                                            ; +0xd1, 0x14017d3d1\nmov     rcx, [rsp+88h+Block]; Block                                    ; +0xd4, 0x14017d3d4\nmov     rax, rcx                                                       ; +0xd9, 0x14017d3d9\ncmp     rdx, 1000h                                                     ; +0xdc, 0x14017d3dc\njb      short loc_14017D410                                            ; +0xe3, 0x14017d3e3\nadd     rdx, 27h ; '''                                                 ; +0xe5, 0x14017d3e5\nmov     rcx, [rcx-8]                                                   ; +0xe9, 0x14017d3e9\nsub     rax, rcx                                                       ; +0xed, 0x14017d3ed\nsub     rax, 8                                                         ; +0xf0, 0x14017d3f0\ncmp     rax, 1Fh                                                       ; +0xf4, 0x14017d3f4\njbe     short loc_14017D410                                            ; +0xf8, 0x14017d3f8\nmov     [rsp+88h+Reserved], rdi; Reserved                              ; +0xfa, 0x14017d3fa\nxor     r9d, r9d; LineNo                                               ; +0xff, 0x14017d3ff\nxor     r8d, r8d; FileName                                             ; +0x102, 0x14017d402\nxor     edx, edx; FunctionName                                         ; +0x105, 0x14017d405\nxor     ecx, ecx; Expression                                           ; +0x107, 0x14017d407\ncall    cs:_invoke_watson                                              ; +0x109, 0x14017d409\nalign 10h                                                              ; +0x10f, 0x14017d40f\ncall    j_j_free                                                       ; +0x110, 0x14017d410\nmov     rbx, [rsp+88h+arg_8]                                           ; +0x115, 0x14017d415\nadd     rsp, 80h                                                       ; +0x11d, 0x14017d41d\npop     rdi                                                            ; +0x124, 0x14017d424\nretn                                                                   ; +0x125, 0x14017d425", "xrefs": ["<???> @ 0x140748198", "<???> @ 0x14091880c"], "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"}