{"type": "func", "start": 4299982228, "end": 4299982312, "name": "EditorSFXManager::createNewSound", "pseudocode": "// \n// EditorSFXManager::createNewSound from 0x1004c8594 to 0x1004c85e8 (84 bytes)\n// \n// 1 xrefs:\n// > EditorSFXActionConfigLayer::sfxBrowserClosed @ 0x1004c6ff8\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 11:06:24 +0000\n// \n\ndouble __fastcall EditorSFXManager::createNewSound(int a1)\n{\n  _DWORD *v2; // x0\n  double result; // d0\n\n  v2 = sub_1004326CC((__int64)\"GJ_sfxIcon_001.png\");\n  if ( v2 )\n  {\n    v2[466] = a1;\n    v2[471] = 1065353216;\n    *(_QWORD *)(v2 + 469) = 0;\n    *((_BYTE *)v2 + 1906) = 0;\n    v2[487] = 0;\n    *((_OWORD *)v2 + 118) = 0u;\n    *((_BYTE *)v2 + 1904) = 0;\n    return 0.0;\n  }\n  return result;\n}", "assembly": "; \n; EditorSFXManager::createNewSound from 0x1004c8594 to 0x1004c85e8 (84 bytes)\n; \n; 1 xrefs:\n; > EditorSFXActionConfigLayer::sfxBrowserClosed @ 0x1004c6ff8\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 11:06:24 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004c8594\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004c8598\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004c859c\nMOV             X19, X0                                                ; +0xc, 0x1004c85a0\nADRL            X0, aGjSfxicon001Pn; \"GJ_sfxIcon_001.png\"              ; +0x10, 0x1004c85a4\nBL              sub_1004326CC                                          ; +0x18, 0x1004c85ac\nCBZ             X0, loc_1004C85DC                                      ; +0x1c, 0x1004c85b0\nSTR             W19, [X0,#0x748]                                       ; +0x20, 0x1004c85b4\nMOV             W8, #0x3F800000                                        ; +0x24, 0x1004c85b8\nSTR             W8, [X0,#0x75C]                                        ; +0x28, 0x1004c85bc\nADD             X8, X0, #0x754                                         ; +0x2c, 0x1004c85c0\nSTR             XZR, [X8]                                              ; +0x30, 0x1004c85c4\nSTRB            WZR, [X0,#0x772]                                       ; +0x34, 0x1004c85c8\nSTR             WZR, [X0,#0x79C]                                       ; +0x38, 0x1004c85cc\nMOVI            V0.16B, #0                                             ; +0x3c, 0x1004c85d0\nSTR             Q0, [X0,#0x760]                                        ; +0x40, 0x1004c85d4\nSTRB            WZR, [X0,#0x770]                                       ; +0x44, 0x1004c85d8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x1004c85dc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x1004c85e0\nRET                                                                    ; +0x50, 0x1004c85e4", "xrefs": ["EditorSFXActionConfigLayer::sfxBrowserClosed @ 0x1004c6ff8"], "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"}