{"type": "func", "start": 5369601120, "end": 5369601337, "name": "EditLevelLayer::uploadActionFailed", "pseudocode": "// \n// EditLevelLayer::uploadActionFailed from 0x1400d9c60 to 0x1400d9d39 (217 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140551718\n// > <???> @ 0x1406c88b0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditLevelLayer::uploadActionFailed(EditLevelLayer *a1, int a2, int a3)\n{\n  __int64 v3; // r8\n  __int128 v5; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v6; // [rsp+30h] [rbp-18h]\n  __int64 v7; // [rsp+38h] [rbp-10h]\n\n  v3 = *(_QWORD *)&a1->m_uIndexInArray;\n  if ( v3 && *(_DWORD *)(v3 + 328) - *(_DWORD *)(v3 + 332) == a2 )\n  {\n    if ( *(_QWORD *)&a1->m_obAnchorPointInPoints.y )\n    {\n      v5 = 0;\n      *(_QWORD *)&v5 = sub_14003AA10(0x20u);\n      v6 = 31;\n      v7 = 31;\n      strcpy((char *)v5, \"Failed. Please try again later.\");\n      UploadActionPopup::showFailMessage(*(_QWORD *)&a1->m_obAnchorPointInPoints.y, &v5);\n      *(_QWORD *)(*(_QWORD *)&a1->m_obAnchorPointInPoints.y + 632LL) = 0;\n      *(_QWORD *)&a1->m_obAnchorPointInPoints.y = 0;\n    }\n  }\n}", "assembly": "; \n; EditLevelLayer::uploadActionFailed from 0x1400d9c60 to 0x1400d9d39 (217 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140551718\n; > <???> @ 0x1406c88b0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1400d9c60\nsub     rsp, 40h                                                       ; +0x2, 0x1400d9c62\nmov     r8, [rcx+20h]                                                  ; +0x6, 0x1400d9c66\nmov     rbx, rcx                                                       ; +0xa, 0x1400d9c6a\ntest    r8, r8                                                         ; +0xd, 0x1400d9c6d\njz      loc_1400D9D33                                                  ; +0x10, 0x1400d9c70\nmov     eax, [r8+148h]                                                 ; +0x16, 0x1400d9c76\nsub     eax, [r8+14Ch]                                                 ; +0x1d, 0x1400d9c7d\ncmp     eax, edx                                                       ; +0x24, 0x1400d9c84\njnz     loc_1400D9D33                                                  ; +0x26, 0x1400d9c86\ncmp     qword ptr [rcx+60h], 0                                         ; +0x2c, 0x1400d9c8c\njz      loc_1400D9D33                                                  ; +0x31, 0x1400d9c91\nxorps   xmm0, xmm0                                                     ; +0x37, 0x1400d9c97\nmov     [rsp+48h+var_18], 0                                            ; +0x3a, 0x1400d9c9a\nmov     ecx, 20h ; ' '                                                 ; +0x43, 0x1400d9ca3\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x48, 0x1400d9ca8\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x51, 0x1400d9cb1\ncall    sub_14003AA10                                                  ; +0x56, 0x1400d9cb6\nmovups  xmm0, cs:xmmword_1405473B8                                     ; +0x5b, 0x1400d9cbb\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x62, 0x1400d9cc2\nmov     rdx, rax                                                       ; +0x67, 0x1400d9cc7\nmov     [rsp+48h+var_18], 1Fh                                          ; +0x6a, 0x1400d9cca\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x73, 0x1400d9cd3\nmovups  xmmword ptr [rax], xmm0                                        ; +0x7c, 0x1400d9cdc\nmovsd   xmm0, cs:qword_1405473C8                                       ; +0x7f, 0x1400d9cdf\nmovsd   qword ptr [rax+10h], xmm0                                      ; +0x87, 0x1400d9ce7\nmov     ecx, cs:dword_1405473D0                                        ; +0x8c, 0x1400d9cec\nmov     [rax+18h], ecx                                                 ; +0x92, 0x1400d9cf2\nmovzx   eax, cs:word_1405473D4                                         ; +0x95, 0x1400d9cf5\nmov     [rdx+1Ch], ax                                                  ; +0x9c, 0x1400d9cfc\nmovzx   eax, cs:byte_1405473D6                                         ; +0xa0, 0x1400d9d00\nmov     [rdx+1Eh], al                                                  ; +0xa7, 0x1400d9d07\nmov     byte ptr [rdx+1Fh], 0                                          ; +0xaa, 0x1400d9d0a\nlea     rdx, [rsp+48h+var_28]                                          ; +0xae, 0x1400d9d0e\nmov     rcx, [rbx+60h]                                                 ; +0xb3, 0x1400d9d13\ncall    UploadActionPopup__showFailMessage                             ; +0xb7, 0x1400d9d17\nmov     rax, [rbx+60h]                                                 ; +0xbc, 0x1400d9d1c\nmov     qword ptr [rax+278h], 0                                        ; +0xc0, 0x1400d9d20\nmov     qword ptr [rbx+60h], 0                                         ; +0xcb, 0x1400d9d2b\nadd     rsp, 40h                                                       ; +0xd3, 0x1400d9d33\npop     rbx                                                            ; +0xd7, 0x1400d9d37\nretn                                                                   ; +0xd8, 0x1400d9d38", "xrefs": ["<???> @ 0x140551718", "<???> @ 0x1406c88b0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}