{"type": "func", "start": 5370301600, "end": 5370301905, "name": "EditorSFXActionConfigLayer::onOpenSettings", "pseudocode": "// \n// EditorSFXActionConfigLayer::onOpenSettings from 0x140184ca0 to 0x140184dd1 (305 bytes)\n// \n// 2 xrefs:\n// > EditorSFXActionConfigLayer::init @ 0x140183758\n// > <???> @ 0x140918d88\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// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCObject *__fastcall EditorSFXActionConfigLayer::onOpenSettings(__int64 a1)\n{\n  unsigned int v1; // ebx\n  cocos2d::CCObject *v2; // rdi\n  struct cocos2d::CCObject *result; // rax\n  __int64 (__fastcall *v4)(cocos2d::CCObject *); // rdx\n\n  v1 = *(_DWORD *)(a1 + 1008);\n  v2 = (cocos2d::CCObject *)operator new(0x3F0u);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v2);\n  *(_QWORD *)v2 = &EditorSFXSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 40) = &EditorSFXSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 41) = &EditorSFXSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 42) = &EditorSFXSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 43) = &EditorSFXSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 44) = &EditorSFXSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 51) = &EditorSFXSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 54) = &EditorSFXSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 68) = &EditorSFXSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 83) = &EditorSFXSettingsPopup::`vftable';\n  *((_QWORD *)v2 + 84) = &EditorSFXSettingsPopup::`vftable';\n  *((_DWORD *)v2 + 250) = 0;\n  if ( !(unsigned __int8)EditorSFXSettingsPopup::init(v2, v1) )\n    return (struct cocos2d::CCObject *)(*(__int64 (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v2 + 8LL))(\n                                         v2,\n                                         1);\n  result = cocos2d::CCObject::autorelease(v2);\n  if ( v2 )\n  {\n    v4 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v2 + 1064LL);\n    if ( (char *)v4 == (char *)SetupTriggerPopup::show )\n      return (struct cocos2d::CCObject *)SetupTriggerPopup::show(v2);\n    else\n      return (struct cocos2d::CCObject *)v4(v2);\n  }\n  return result;\n}", "assembly": "; \n; EditorSFXActionConfigLayer::onOpenSettings from 0x140184ca0 to 0x140184dd1 (305 bytes)\n; \n; 2 xrefs:\n; > EditorSFXActionConfigLayer::init @ 0x140183758\n; > <???> @ 0x140918d88\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; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140184ca0\npush    rdi                                                            ; +0x5, 0x140184ca5\nsub     rsp, 20h                                                       ; +0x6, 0x140184ca6\nmov     ebx, [rcx+3F0h]                                                ; +0xa, 0x140184caa\nmov     ecx, 3F0h; Size                                                ; +0x10, 0x140184cb0\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x15, 0x140184cb5\nmov     rdi, rax                                                       ; +0x1a, 0x140184cba\nmov     [rsp+28h+arg_0], rax                                           ; +0x1d, 0x140184cbd\nmov     rcx, rax                                                       ; +0x22, 0x140184cc2\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x25, 0x140184cc5\nlea     rax, ??_7EditorSFXSettingsPopup@@6B@; const EditorSFXSettingsPopup::`vftable' ; +0x2a, 0x140184cca\nmov     [rdi], rax                                                     ; +0x31, 0x140184cd1\nlea     rax, ??_7EditorSFXSettingsPopup@@6B@_0; const EditorSFXSettingsPopup::`vftable' ; +0x34, 0x140184cd4\nmov     [rdi+140h], rax                                                ; +0x3b, 0x140184cdb\nlea     rax, ??_7EditorSFXSettingsPopup@@6B@_1; const EditorSFXSettingsPopup::`vftable' ; +0x42, 0x140184ce2\nmov     [rdi+148h], rax                                                ; +0x49, 0x140184ce9\nlea     rax, ??_7EditorSFXSettingsPopup@@6B@_2; const EditorSFXSettingsPopup::`vftable' ; +0x50, 0x140184cf0\nmov     [rdi+150h], rax                                                ; +0x57, 0x140184cf7\nlea     rax, ??_7EditorSFXSettingsPopup@@6B@_3; const EditorSFXSettingsPopup::`vftable' ; +0x5e, 0x140184cfe\nmov     [rdi+158h], rax                                                ; +0x65, 0x140184d05\nlea     rax, ??_7EditorSFXSettingsPopup@@6B@_4; const EditorSFXSettingsPopup::`vftable' ; +0x6c, 0x140184d0c\nmov     [rdi+160h], rax                                                ; +0x73, 0x140184d13\nlea     rax, ??_7EditorSFXSettingsPopup@@6B@_5; const EditorSFXSettingsPopup::`vftable' ; +0x7a, 0x140184d1a\nmov     [rdi+198h], rax                                                ; +0x81, 0x140184d21\nlea     rax, ??_7EditorSFXSettingsPopup@@6B@_6; const EditorSFXSettingsPopup::`vftable' ; +0x88, 0x140184d28\nmov     [rdi+1B0h], rax                                                ; +0x8f, 0x140184d2f\nlea     rax, ??_7EditorSFXSettingsPopup@@6B@_7; const EditorSFXSettingsPopup::`vftable' ; +0x96, 0x140184d36\nmov     [rdi+220h], rax                                                ; +0x9d, 0x140184d3d\nlea     rax, ??_7EditorSFXSettingsPopup@@6B@_8; const EditorSFXSettingsPopup::`vftable' ; +0xa4, 0x140184d44\nmov     [rdi+298h], rax                                                ; +0xab, 0x140184d4b\nlea     rax, ??_7EditorSFXSettingsPopup@@6B@_9; const EditorSFXSettingsPopup::`vftable' ; +0xb2, 0x140184d52\nmov     [rdi+2A0h], rax                                                ; +0xb9, 0x140184d59\nmov     dword ptr [rdi+3E8h], 0                                        ; +0xc0, 0x140184d60\nmov     edx, ebx                                                       ; +0xca, 0x140184d6a\nmov     rcx, rdi                                                       ; +0xcc, 0x140184d6c\ncall    EditorSFXSettingsPopup__init                                   ; +0xcf, 0x140184d6f\nmov     rcx, rdi                                                       ; +0xd4, 0x140184d74\ntest    al, al                                                         ; +0xd7, 0x140184d77\njz      short loc_140184DBB                                            ; +0xd9, 0x140184d79\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xdb, 0x140184d7b\ntest    rdi, rdi                                                       ; +0xe1, 0x140184d81\njz      short loc_140184DC6                                            ; +0xe4, 0x140184d84\nmov     rax, [rdi]                                                     ; +0xe6, 0x140184d86\nmov     rdx, [rax+428h]                                                ; +0xe9, 0x140184d89\nlea     rax, SetupTriggerPopup__show; Merged with: SetupTriggerPopup::show, SetTextPopup::show ; +0xf0, 0x140184d90\nmov     rcx, rdi                                                       ; +0xf7, 0x140184d97\ncmp     rdx, rax                                                       ; +0xfa, 0x140184d9a\njnz     short loc_140184DAE                                            ; +0xfd, 0x140184d9d\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xff, 0x140184d9f\nadd     rsp, 20h                                                       ; +0x104, 0x140184da4\npop     rdi                                                            ; +0x108, 0x140184da8\njmp     SetupTriggerPopup__show; Merged with: SetupTriggerPopup::show, SetTextPopup::show ; +0x109, 0x140184da9\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x10e, 0x140184dae\nadd     rsp, 20h                                                       ; +0x113, 0x140184db3\npop     rdi                                                            ; +0x117, 0x140184db7\njmp     rdx                                                            ; +0x118, 0x140184db8\nmov     rax, [rdi]                                                     ; +0x11b, 0x140184dbb\nmov     edx, 1                                                         ; +0x11e, 0x140184dbe\ncall    qword ptr [rax+8]                                              ; +0x123, 0x140184dc3\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x126, 0x140184dc6\nadd     rsp, 20h                                                       ; +0x12b, 0x140184dcb\npop     rdi                                                            ; +0x12f, 0x140184dcf\nretn                                                                   ; +0x130, 0x140184dd0", "xrefs": ["EditorSFXActionConfigLayer::init @ 0x140183758", "<???> @ 0x140918d88"], "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"}