{"type": "func", "start": 5370300752, "end": 5370300814, "name": "EditorSFXActionConfigLayer::onAddSound", "pseudocode": "// \n// EditorSFXActionConfigLayer::onAddSound from 0x140184950 to 0x14018498e (62 bytes)\n// \n// 2 xrefs:\n// > EditorSFXActionConfigLayer::init @ 0x1401839e4\n// > <???> @ 0x140918d1c\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 11:27:38 +0000\n// \n\n__int64 __fastcall EditorSFXActionConfigLayer::onAddSound(__int64 a1)\n{\n  __int64 *v2; // rax\n  __int64 v3; // rdx\n  __int64 v4; // rcx\n\n  v2 = (__int64 *)SFXBrowser::create(0, 0);\n  v3 = a1 + 1000;\n  if ( !a1 )\n    v3 = 0;\n  v4 = *v2;\n  v2[139] = v3;\n  return (*(__int64 (__fastcall **)(__int64 *))(v4 + 1064))(v2);\n}", "assembly": "; \n; EditorSFXActionConfigLayer::onAddSound from 0x140184950 to 0x14018498e (62 bytes)\n; \n; 2 xrefs:\n; > EditorSFXActionConfigLayer::init @ 0x1401839e4\n; > <???> @ 0x140918d1c\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 11:27:38 +0000\n; \npush    rbx                                                            ; +0x0, 0x140184950\nsub     rsp, 20h                                                       ; +0x2, 0x140184952\nmov     rbx, rcx                                                       ; +0x6, 0x140184956\nxor     edx, edx                                                       ; +0x9, 0x140184959\nxor     ecx, ecx                                                       ; +0xb, 0x14018495b\ncall    SFXBrowser__create                                             ; +0xd, 0x14018495d\nxor     ecx, ecx                                                       ; +0x12, 0x140184962\nlea     rdx, [rbx+3E8h]                                                ; +0x14, 0x140184964\ntest    rbx, rbx                                                       ; +0x1b, 0x14018496b\ncmovz   rdx, rcx                                                       ; +0x1e, 0x14018496e\nmov     rcx, [rax]                                                     ; +0x22, 0x140184972\nmov     [rax+458h], rdx                                                ; +0x25, 0x140184975\nmov     rdx, [rcx+428h]                                                ; +0x2c, 0x14018497c\nmov     rcx, rax                                                       ; +0x33, 0x140184983\nadd     rsp, 20h                                                       ; +0x36, 0x140184986\npop     rbx                                                            ; +0x3a, 0x14018498a\njmp     rdx                                                            ; +0x3b, 0x14018498b", "xrefs": ["EditorSFXActionConfigLayer::init @ 0x1401839e4", "<???> @ 0x140918d1c"], "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"}