{"type": "func", "start": 4304371296, "end": 4304371692, "name": "EditorSoundConfigInfoLayer::uploadActionFinished", "pseudocode": "// \n// EditorSoundConfigInfoLayer::uploadActionFinished from 0x1008f7e60 to 0x1008f7fec (396 bytes)\n// \n// 2 xrefs:\n// > sub_1008F8020 @ 0x1008f802c\n// > <???> @ 0x100bb60b8\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:37:59 +0000\n// \n\nvoid __fastcall EditorSoundConfigInfoLayer::uploadActionFinished(__int64 a1, int a2, int a3)\n{\n  __int64 v4; // rax\n  __int64 v5; // rax\n  __int64 v6; // rax\n  __int64 v7; // r14\n  __int64 v8; // rax\n  __int64 v9; // rax\n  __int64 v10; // rdi\n  std::string __str; // [rsp+0h] [rbp-70h] BYREF\n  std::string v12; // [rsp+20h] [rbp-50h] BYREF\n  void *v13[6]; // [rsp+40h] [rbp-30h] BYREF\n\n  if ( a3 == 73 )\n  {\n    v4 = *(_QWORD *)(a1 + 1088);\n    if ( v4 )\n    {\n      if ( *(_DWORD *)(v4 + 316) == a2 )\n      {\n        v5 = EditorSFXManager::sharedState();\n        v6 = sub_1008ED520(v5, a2);\n        if ( v6 )\n        {\n          v7 = v6;\n          v8 = *(_QWORD *)(a1 + 1088);\n          if ( v7 != v8 )\n          {\n            if ( (*(_BYTE *)(v8 + 400) & 1) != 0 )\n              sub_10001AD30(&__str, *(const void **)(v8 + 416), *(_QWORD *)(v8 + 408));\n            else\n              __str = *(std::string *)(v8 + 400);\n            std::string::operator=((std::string *)(v7 + 400), &__str);\n            if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )\n              operator delete(__str.__r_.__value_.__l.__data_);\n            v9 = *(_QWORD *)(a1 + 1088);\n            if ( (*(_BYTE *)(v9 + 424) & 1) != 0 )\n              sub_10001AD30(&v12, *(const void **)(v9 + 440), *(_QWORD *)(v9 + 432));\n            else\n              v12 = *(std::string *)(v9 + 424);\n            std::string::operator=((std::string *)(v7 + 424), &v12);\n            if ( (*(_BYTE *)&v12.__r_.__value_.__s.0 & 1) != 0 )\n              operator delete(v12.__r_.__value_.__l.__data_);\n          }\n        }\n        v10 = *(_QWORD *)(a1 + 1200);\n        if ( v10 )\n        {\n          strcpy((char *)v13, \"(Description updated!\");\n          UploadActionPopup::showSuccessMessage(v10, (__int64)v13, 7.52030200518128e252);\n          if ( ((__int64)v13[0] & 1) != 0 )\n            operator delete(v13[2]);\n          *(_QWORD *)(*(_QWORD *)(a1 + 1200) + 664LL) = 0;\n          *(_QWORD *)(a1 + 1200) = 0;\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::uploadActionFinished from 0x1008f7e60 to 0x1008f7fec (396 bytes)\n; \n; 2 xrefs:\n; > sub_1008F8020 @ 0x1008f802c\n; > <???> @ 0x100bb60b8\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:37:59 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008f7e60\nmov     rbp, rsp                                                       ; +0x1, 0x1008f7e61\npush    r15                                                            ; +0x4, 0x1008f7e64\npush    r14                                                            ; +0x6, 0x1008f7e66\npush    rbx                                                            ; +0x8, 0x1008f7e68\nsub     rsp, 58h                                                       ; +0x9, 0x1008f7e69\ncmp     edx, 49h ; 'I'                                                 ; +0xd, 0x1008f7e6d\njnz     loc_1008F7FE1                                                  ; +0x10, 0x1008f7e70\nmov     rbx, rdi                                                       ; +0x16, 0x1008f7e76\nmov     rax, [rdi+440h]                                                ; +0x19, 0x1008f7e79\ntest    rax, rax                                                       ; +0x20, 0x1008f7e80\njz      loc_1008F7FE1                                                  ; +0x23, 0x1008f7e83\ncmp     [rax+13Ch], esi                                                ; +0x29, 0x1008f7e89\njnz     loc_1008F7FE1                                                  ; +0x2f, 0x1008f7e8f\nmov     r14d, esi                                                      ; +0x35, 0x1008f7e95\ncall    EditorSFXManager__sharedState                                  ; +0x38, 0x1008f7e98\nmov     rdi, rax                                                       ; +0x3d, 0x1008f7e9d\nmov     esi, r14d                                                      ; +0x40, 0x1008f7ea0\ncall    sub_1008ED520                                                  ; +0x43, 0x1008f7ea3\ntest    rax, rax                                                       ; +0x48, 0x1008f7ea8\njz      loc_1008F7F82                                                  ; +0x4b, 0x1008f7eab\nmov     r14, rax                                                       ; +0x51, 0x1008f7eb1\nmov     rax, [rbx+440h]                                                ; +0x54, 0x1008f7eb4\ncmp     r14, rax                                                       ; +0x5b, 0x1008f7ebb\njz      loc_1008F7F82                                                  ; +0x5e, 0x1008f7ebe\ntest    byte ptr [rax+190h], 1                                         ; +0x64, 0x1008f7ec4\njnz     short loc_1008F7EE4                                            ; +0x6b, 0x1008f7ecb\nadd     rax, 190h                                                      ; +0x6d, 0x1008f7ecd\nmov     rcx, [rax+10h]                                                 ; +0x73, 0x1008f7ed3\nmov     qword ptr [rbp+__str.__r_.__value_+10h], rcx                   ; +0x77, 0x1008f7ed7\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x7b, 0x1008f7edb\nmovaps  xmmword ptr [rbp+__str.__r_.__value_], xmm0                    ; +0x7e, 0x1008f7ede\njmp     short loc_1008F7EFB                                            ; +0x82, 0x1008f7ee2\nmov     rdx, [rax+198h]                                                ; +0x84, 0x1008f7ee4\nmov     rsi, [rax+1A0h]                                                ; +0x8b, 0x1008f7eeb\nlea     rdi, [rbp+__str]                                               ; +0x92, 0x1008f7ef2\ncall    sub_10001AD30                                                  ; +0x96, 0x1008f7ef6\nlea     r15, [rbp+__str.__r_.__value_+10h]                             ; +0x9b, 0x1008f7efb\nlea     rdi, [r14+190h]; this                                          ; +0x9f, 0x1008f7eff\nlea     rsi, [rbp+__str]; __str                                        ; +0xa6, 0x1008f7f06\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0xaa, 0x1008f7f0a\ntest    byte ptr [rbp+__str.__r_.__value_], 1                          ; +0xaf, 0x1008f7f0f\njz      short loc_1008F7F1E                                            ; +0xb3, 0x1008f7f13\nmov     rdi, qword ptr [rbp+__str.__r_.__value_+10h]; __p              ; +0xb5, 0x1008f7f15\ncall    __ZdlPv; operator delete(void *)                               ; +0xb9, 0x1008f7f19\nmov     rax, [rbx+440h]                                                ; +0xbe, 0x1008f7f1e\ntest    byte ptr [rax+1A8h], 1                                         ; +0xc5, 0x1008f7f25\njnz     short loc_1008F7F45                                            ; +0xcc, 0x1008f7f2c\nadd     rax, 1A8h                                                      ; +0xce, 0x1008f7f2e\nmov     rcx, [rax+10h]                                                 ; +0xd4, 0x1008f7f34\nmov     qword ptr [rbp+var_50.__r_.__value_+10h], rcx                  ; +0xd8, 0x1008f7f38\nmovups  xmm0, xmmword ptr [rax]                                        ; +0xdc, 0x1008f7f3c\nmovaps  xmmword ptr [rbp+var_50.__r_.__value_], xmm0                   ; +0xdf, 0x1008f7f3f\njmp     short loc_1008F7F5C                                            ; +0xe3, 0x1008f7f43\nmov     rdx, [rax+1B0h]                                                ; +0xe5, 0x1008f7f45\nmov     rsi, [rax+1B8h]                                                ; +0xec, 0x1008f7f4c\nlea     rdi, [rbp+var_50]                                              ; +0xf3, 0x1008f7f53\ncall    sub_10001AD30                                                  ; +0xf7, 0x1008f7f57\nlea     r15, [rbp+var_50.__r_.__value_+10h]                            ; +0xfc, 0x1008f7f5c\nadd     r14, 1A8h                                                      ; +0x100, 0x1008f7f60\nlea     rsi, [rbp+var_50]; __str                                       ; +0x107, 0x1008f7f67\nmov     rdi, r14; this                                                 ; +0x10b, 0x1008f7f6b\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x10e, 0x1008f7f6e\ntest    byte ptr [rbp+var_50.__r_.__value_], 1                         ; +0x113, 0x1008f7f73\njz      short loc_1008F7F82                                            ; +0x117, 0x1008f7f77\nmov     rdi, qword ptr [rbp+var_50.__r_.__value_+10h]; __p             ; +0x119, 0x1008f7f79\ncall    __ZdlPv; operator delete(void *)                               ; +0x11d, 0x1008f7f7d\nmov     rdi, [rbx+4B0h]                                                ; +0x122, 0x1008f7f82\ntest    rdi, rdi                                                       ; +0x129, 0x1008f7f89\njz      short loc_1008F7FE1                                            ; +0x12c, 0x1008f7f8c\nlea     r15, [rbp+var_30+10h]                                          ; +0x12e, 0x1008f7f8e\nmov     [rbp+var_30], 28h ; '('                                        ; +0x132, 0x1008f7f92\nmovups  xmm0, xmmword ptr cs:aDescriptionUpd; \"Description updated!\"   ; +0x136, 0x1008f7f96\nmovups  xmmword ptr [rbp-2Fh], xmm0                                    ; +0x13d, 0x1008f7f9d\nmov     dword ptr [rbp+var_30+11h], 21646574h                          ; +0x141, 0x1008f7fa1\nmov     [rbp+var_30+15h], 0                                            ; +0x148, 0x1008f7fa8\nlea     rsi, [rbp+var_30]                                              ; +0x14c, 0x1008f7fac\ncall    UploadActionPopup__showSuccessMessage                          ; +0x150, 0x1008f7fb0\ntest    [rbp+var_30], 1                                                ; +0x155, 0x1008f7fb5\njz      short loc_1008F7FC4                                            ; +0x159, 0x1008f7fb9\nmov     rdi, qword ptr [rbp+var_30+10h]; __p                           ; +0x15b, 0x1008f7fbb\ncall    __ZdlPv; operator delete(void *)                               ; +0x15f, 0x1008f7fbf\nmov     rax, [rbx+4B0h]                                                ; +0x164, 0x1008f7fc4\nmov     qword ptr [rax+298h], 0                                        ; +0x16b, 0x1008f7fcb\nmov     qword ptr [rbx+4B0h], 0                                        ; +0x176, 0x1008f7fd6\nadd     rsp, 58h                                                       ; +0x181, 0x1008f7fe1\npop     rbx                                                            ; +0x185, 0x1008f7fe5\npop     r14                                                            ; +0x186, 0x1008f7fe6\npop     r15                                                            ; +0x188, 0x1008f7fe8\npop     rbp                                                            ; +0x18a, 0x1008f7fea\nretn                                                                   ; +0x18b, 0x1008f7feb", "xrefs": ["sub_1008F8020 @ 0x1008f802c", "<???> @ 0x100bb60b8"], "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"}