{"type": "func", "start": 7853474, "end": 7853520, "name": "EditorSFXManager::attachUploadedSoundID", "pseudocode": "// \n// EditorSFXManager::attachUploadedSoundID from 0x77d5a2 to 0x77d5d0 (46 bytes)\n// \n// 1 xrefs:\n// > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x789278\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:24 +0000\n// \n\nint __fastcall EditorSFXManager::attachUploadedSoundID(cocos2d::CCArray **this, int a2, int a3)\n{\n  int result; // r0\n  _DWORD *v5; // r4\n  int v6; // r3\n\n  result = EditorSFXManager::getMyConfig(this, a2);\n  v5 = (_DWORD *)result;\n  if ( result )\n  {\n    *(_DWORD *)(result + 264) = a3;\n    result = time(nullptr);\n    if ( !v5[78] )\n      v5[78] = result;\n    v6 = v5[69];\n    v5[79] = result;\n    v5[70] = v6;\n  }\n  return result;\n}", "assembly": "; \n; EditorSFXManager::attachUploadedSoundID from 0x77d5a2 to 0x77d5d0 (46 bytes)\n; \n; 1 xrefs:\n; > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x789278\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:24 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x77d5a2\nMOV             R5, R2                                                 ; +0x2, 0x77d5a4\nBL              _ZN16EditorSFXManager11getMyConfigEi; EditorSFXManager::getMyConfig(int) ; +0x4, 0x77d5a6\nMOV             R4, R0                                                 ; +0x8, 0x77d5aa\nCBZ             R0, locret_77D5CE                                      ; +0xa, 0x77d5ac\nSTR.W           R5, [R0,#0x108]                                        ; +0xc, 0x77d5ae\nMOVS            R0, #0; timer                                          ; +0x10, 0x77d5b2\nBLX             time                                                   ; +0x12, 0x77d5b4\nLDR.W           R3, [R4,#0x138]                                        ; +0x16, 0x77d5b8\nCBNZ            R3, loc_77D5C2                                         ; +0x1a, 0x77d5bc\nSTR.W           R0, [R4,#0x138]                                        ; +0x1c, 0x77d5be\nLDR.W           R3, [R4,#0x114]                                        ; +0x20, 0x77d5c2\nSTR.W           R0, [R4,#0x13C]                                        ; +0x24, 0x77d5c6\nSTR.W           R3, [R4,#0x118]                                        ; +0x28, 0x77d5ca\nPOP             {R3-R5,PC}                                             ; +0x2c, 0x77d5ce", "xrefs": ["EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x789278"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}