{"type": "func", "start": 4304288880, "end": 4304288973, "name": "EditorSFXManager::createNewSound", "pseudocode": "// \n// EditorSFXManager::createNewSound from 0x1008e3c70 to 0x1008e3ccd (93 bytes)\n// \n// 2 xrefs:\n// > EditorSFXActionConfigLayer::sfxBrowserClosed @ 0x1008e07cc\n// > sub_1008E0860 @ 0x1008e087f\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:47 +0000\n// \n\nchar *__fastcall EditorSFXManager::createNewSound(int a1)\n{\n  char *result; // rax\n\n  result = SFXTriggerGameObject::create((__int64)\"GJ_sfxIcon_001.png\");\n  if ( result )\n  {\n    *((_DWORD *)result + 466) = a1;\n    *((_DWORD *)result + 471) = 1065353216;\n    *(_QWORD *)(result + 1876) = 0;\n    result[1906] = 0;\n    *((_DWORD *)result + 487) = 0;\n    *((_OWORD *)result + 118) = 0;\n    result[1904] = 0;\n  }\n  return result;\n}", "assembly": "; \n; EditorSFXManager::createNewSound from 0x1008e3c70 to 0x1008e3ccd (93 bytes)\n; \n; 2 xrefs:\n; > EditorSFXActionConfigLayer::sfxBrowserClosed @ 0x1008e07cc\n; > sub_1008E0860 @ 0x1008e087f\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:47 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008e3c70\nmov     rbp, rsp                                                       ; +0x1, 0x1008e3c71\npush    rbx                                                            ; +0x4, 0x1008e3c74\npush    rax                                                            ; +0x5, 0x1008e3c75\nmov     ebx, edi                                                       ; +0x6, 0x1008e3c76\nlea     rdi, aGjSfxicon001Pn; \"GJ_sfxIcon_001.png\"                     ; +0x8, 0x1008e3c78\ncall    SFXTriggerGameObject__create                                   ; +0xf, 0x1008e3c7f\ntest    rax, rax                                                       ; +0x14, 0x1008e3c84\njz      short loc_1008E3CC6                                            ; +0x17, 0x1008e3c87\nmov     [rax+748h], ebx                                                ; +0x19, 0x1008e3c89\nmov     dword ptr [rax+75Ch], 3F800000h                                ; +0x1f, 0x1008e3c8f\nmov     qword ptr [rax+754h], 0                                        ; +0x29, 0x1008e3c99\nmov     byte ptr [rax+772h], 0                                         ; +0x34, 0x1008e3ca4\nmov     dword ptr [rax+79Ch], 0                                        ; +0x3b, 0x1008e3cab\nxorps   xmm0, xmm0                                                     ; +0x45, 0x1008e3cb5\nmovups  xmmword ptr [rax+760h], xmm0                                   ; +0x48, 0x1008e3cb8\nmov     byte ptr [rax+770h], 0                                         ; +0x4f, 0x1008e3cbf\nadd     rsp, 8                                                         ; +0x56, 0x1008e3cc6\npop     rbx                                                            ; +0x5a, 0x1008e3cca\npop     rbp                                                            ; +0x5b, 0x1008e3ccb\nretn                                                                   ; +0x5c, 0x1008e3ccc", "xrefs": ["EditorSFXActionConfigLayer::sfxBrowserClosed @ 0x1008e07cc", "sub_1008E0860 @ 0x1008e087f"], "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"}