{"type": "func", "start": 4304269760, "end": 4304270058, "name": "EditorSFXActionConfigLayer::create", "pseudocode": "// \n// EditorSFXActionConfigLayer::create from 0x1008df1c0 to 0x1008df2ea (298 bytes)\n// \n// 1 xrefs:\n// > EditorSoundsLayer::onActionRow @ 0x1008fe88a\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:45 +0000\n// \n\nchar *__fastcall EditorSFXActionConfigLayer::create(unsigned int a1, __int64 a2)\n{\n  char *v2; // rbx\n\n  v2 = (char *)operator new(0x430u);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v2);\n  *(_QWORD *)v2 = off_100BB3AF0;\n  *((_QWORD *)v2 + 40) = off_100BB40E8;\n  *((_QWORD *)v2 + 41) = &off_100BB4158;\n  *((_QWORD *)v2 + 42) = off_100BB4170;\n  *((_QWORD *)v2 + 43) = off_100BB4190;\n  *((_QWORD *)v2 + 44) = off_100BB41B8;\n  *((_QWORD *)v2 + 51) = off_100BB41E8;\n  *((_QWORD *)v2 + 54) = off_100BB4268;\n  *((_QWORD *)v2 + 68) = off_100BB4288;\n  *((_QWORD *)v2 + 83) = &off_100BB42D0;\n  *((_QWORD *)v2 + 84) = off_100BB42E8;\n  *((_QWORD *)v2 + 127) = &off_100BB4308;\n  *((_DWORD *)v2 + 256) = 0;\n  *((_DWORD *)v2 + 267) = 0;\n  *(_OWORD *)(v2 + 1032) = 0;\n  *(_OWORD *)(v2 + 1048) = 0;\n  v2[1064] = 0;\n  if ( (unsigned __int8)EditorSFXActionConfigLayer::init(v2, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; EditorSFXActionConfigLayer::create from 0x1008df1c0 to 0x1008df2ea (298 bytes)\n; \n; 1 xrefs:\n; > EditorSoundsLayer::onActionRow @ 0x1008fe88a\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:45 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008df1c0\nmov     rbp, rsp                                                       ; +0x1, 0x1008df1c1\npush    r15                                                            ; +0x4, 0x1008df1c4\npush    r14                                                            ; +0x6, 0x1008df1c6\npush    rbx                                                            ; +0x8, 0x1008df1c8\npush    rax                                                            ; +0x9, 0x1008df1c9\nmov     r14, rsi                                                       ; +0xa, 0x1008df1ca\nmov     r15d, edi                                                      ; +0xd, 0x1008df1cd\nmov     edi, 430h; __sz                                                ; +0x10, 0x1008df1d0\ncall    __Znwm; operator new(ulong)                                    ; +0x15, 0x1008df1d5\nmov     rbx, rax                                                       ; +0x1a, 0x1008df1da\nmov     rdi, rax                                                       ; +0x1d, 0x1008df1dd\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x20, 0x1008df1e0\nlea     rax, off_100BB3AF0                                             ; +0x25, 0x1008df1e5\nmov     [rbx], rax                                                     ; +0x2c, 0x1008df1ec\nlea     rax, off_100BB40E8                                             ; +0x2f, 0x1008df1ef\nmov     [rbx+140h], rax                                                ; +0x36, 0x1008df1f6\nlea     rax, off_100BB4158                                             ; +0x3d, 0x1008df1fd\nmov     [rbx+148h], rax                                                ; +0x44, 0x1008df204\nlea     rax, off_100BB4170                                             ; +0x4b, 0x1008df20b\nmov     [rbx+150h], rax                                                ; +0x52, 0x1008df212\nlea     rax, off_100BB4190                                             ; +0x59, 0x1008df219\nmov     [rbx+158h], rax                                                ; +0x60, 0x1008df220\nlea     rax, off_100BB41B8                                             ; +0x67, 0x1008df227\nmov     [rbx+160h], rax                                                ; +0x6e, 0x1008df22e\nlea     rax, off_100BB41E8                                             ; +0x75, 0x1008df235\nmov     [rbx+198h], rax                                                ; +0x7c, 0x1008df23c\nlea     rax, off_100BB4268                                             ; +0x83, 0x1008df243\nmov     [rbx+1B0h], rax                                                ; +0x8a, 0x1008df24a\nlea     rax, off_100BB4288                                             ; +0x91, 0x1008df251\nmov     [rbx+220h], rax                                                ; +0x98, 0x1008df258\nlea     rax, off_100BB42D0                                             ; +0x9f, 0x1008df25f\nmov     [rbx+298h], rax                                                ; +0xa6, 0x1008df266\nlea     rax, off_100BB42E8                                             ; +0xad, 0x1008df26d\nmov     [rbx+2A0h], rax                                                ; +0xb4, 0x1008df274\nlea     rax, off_100BB4308                                             ; +0xbb, 0x1008df27b\nmov     [rbx+3F8h], rax                                                ; +0xc2, 0x1008df282\nmov     dword ptr [rbx+400h], 0                                        ; +0xc9, 0x1008df289\nmov     dword ptr [rbx+42Ch], 0                                        ; +0xd3, 0x1008df293\nxorps   xmm0, xmm0                                                     ; +0xdd, 0x1008df29d\nmovups  xmmword ptr [rbx+408h], xmm0                                   ; +0xe0, 0x1008df2a0\nmovups  xmmword ptr [rbx+418h], xmm0                                   ; +0xe7, 0x1008df2a7\nmov     byte ptr [rbx+428h], 0                                         ; +0xee, 0x1008df2ae\nmov     rdi, rbx                                                       ; +0xf5, 0x1008df2b5\nmov     esi, r15d                                                      ; +0xf8, 0x1008df2b8\nmov     rdx, r14                                                       ; +0xfb, 0x1008df2bb\ncall    EditorSFXActionConfigLayer__init                               ; +0xfe, 0x1008df2be\ntest    al, al                                                         ; +0x103, 0x1008df2c3\njz      short loc_1008DF2D1                                            ; +0x105, 0x1008df2c5\nmov     rdi, rbx                                                       ; +0x107, 0x1008df2c7\ncall    cocos2d__CCObject__autorelease                                 ; +0x10a, 0x1008df2ca\njmp     short loc_1008DF2DC                                            ; +0x10f, 0x1008df2cf\nmov     rax, [rbx]                                                     ; +0x111, 0x1008df2d1\nmov     rdi, rbx                                                       ; +0x114, 0x1008df2d4\ncall    qword ptr [rax+10h]                                            ; +0x117, 0x1008df2d7\nxor     ebx, ebx                                                       ; +0x11a, 0x1008df2da\nmov     rax, rbx                                                       ; +0x11c, 0x1008df2dc\nadd     rsp, 8                                                         ; +0x11f, 0x1008df2df\npop     rbx                                                            ; +0x123, 0x1008df2e3\npop     r14                                                            ; +0x124, 0x1008df2e4\npop     r15                                                            ; +0x126, 0x1008df2e6\npop     rbp                                                            ; +0x128, 0x1008df2e8\nretn                                                                   ; +0x129, 0x1008df2e9", "xrefs": ["EditorSoundsLayer::onActionRow @ 0x1008fe88a"], "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"}