{"type": "func", "start": 13369056, "end": 13369140, "name": "EditorSFXManager::attachUploadedSoundID", "pseudocode": "// \n// EditorSFXManager::attachUploadedSoundID from 0xcbfee0 to 0xcbff34 (84 bytes)\n// \n// 2 xrefs:\n// > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0xcd4774\n// > <???> @ 0xd6498\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 13:06:16 +0000\n// \n\ntime_t __fastcall EditorSFXManager::attachUploadedSoundID(EditorSFXManager *this, int a2, int a3)\n{\n  time_t result; // x0\n  _DWORD *v4; // x19\n  int v5; // w1\n\n  result = EditorSFXManager::getMyConfig(this, a2);\n  v4 = (_DWORD *)result;\n  if ( result )\n  {\n    *(_DWORD *)(result + 316) = a3;\n    result = time(nullptr);\n    if ( !v4[91] )\n      v4[91] = result;\n    v5 = v4[82];\n    v4[92] = result;\n    v4[83] = v5;\n  }\n  return result;\n}", "assembly": "; \n; EditorSFXManager::attachUploadedSoundID from 0xcbfee0 to 0xcbff34 (84 bytes)\n; \n; 2 xrefs:\n; > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0xcd4774\n; > <???> @ 0xd6498\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 13:06:16 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xcbfee0\nMOV             X29, SP                                                ; +0x4, 0xcbfee4\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0xcbfee8\nSTR             X2, [X29,#0x30+var_8]                                  ; +0xc, 0xcbfeec\nBL              _ZN16EditorSFXManager11getMyConfigEi; EditorSFXManager::getMyConfig(int) ; +0x10, 0xcbfef0\nMOV             X19, X0                                                ; +0x14, 0xcbfef4\nCBZ             X0, loc_CBFF20                                         ; +0x18, 0xcbfef8\nLDR             X2, [X29,#0x30+var_8]                                  ; +0x1c, 0xcbfefc\nSTR             W2, [X0,#0x13C]                                        ; +0x20, 0xcbff00\nMOV             X0, #0; timer                                          ; +0x24, 0xcbff04\nBL              .time                                                  ; +0x28, 0xcbff08\nLDR             W1, [X19,#0x16C]                                       ; +0x2c, 0xcbff0c\nCBZ             W1, loc_CBFF2C                                         ; +0x30, 0xcbff10\nLDR             W1, [X19,#0x148]                                       ; +0x34, 0xcbff14\nSTR             W0, [X19,#0x170]                                       ; +0x38, 0xcbff18\nSTR             W1, [X19,#0x14C]                                       ; +0x3c, 0xcbff1c\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x40, 0xcbff20\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x44, 0xcbff24\nRET                                                                    ; +0x48, 0xcbff28\nSTR             W0, [X19,#0x16C]                                       ; +0x4c, 0xcbff2c\nB               loc_CBFF14                                             ; +0x50, 0xcbff30", "xrefs": ["EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0xcd4774", "<???> @ 0xd6498"], "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"}