{"type": "func", "start": 5374743024, "end": 5374743574, "name": "CreateParticlePopup::create", "pseudocode": "// \n// CreateParticlePopup::create from 0x1405c11f0 to 0x1405c1416 (550 bytes)\n// \n// 2 xrefs:\n// > EditorUI::editObjectSpecial @ 0x1401bd841\n// > <???> @ 0x14092e1b4\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:34:47 +0000\n// \n\n// Hidden C++ exception states: #wind=3\n_QWORD *__fastcall CreateParticlePopup::create(__int64 a1, __int64 a2, __int64 a3)\n{\n  _QWORD *v6; // rsi\n  __int64 v7; // rax\n  _BYTE v9[32]; // [rsp+28h] [rbp-60h] BYREF\n  __int64 v10; // [rsp+48h] [rbp-40h]\n\n  v10 = a3;\n  v6 = operator new(0x3F0u);\n  FLAlertLayer::FLAlertLayer((__int64)v6);\n  *v6 = &CreateParticlePopup::`vftable';\n  v6[40] = &CreateParticlePopup::`vftable';\n  v6[41] = &CreateParticlePopup::`vftable';\n  v6[42] = &CreateParticlePopup::`vftable';\n  v6[43] = &CreateParticlePopup::`vftable';\n  v6[44] = &CreateParticlePopup::`vftable';\n  v6[51] = &CreateParticlePopup::`vftable';\n  v6[54] = &CreateParticlePopup::`vftable';\n  v6[68] = &CreateParticlePopup::`vftable';\n  v6[83] = &CreateParticlePopup::`vftable';\n  v6[84] = &CreateParticlePopup::`vftable';\n  v6[85] = 0;\n  v6[86] = 0;\n  v6[87] = 0;\n  *((_BYTE *)v6 + 704) = 0;\n  v6[89] = 0;\n  v6[90] = 0;\n  *((_DWORD *)v6 + 182) = -1;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)((char *)v6 + 732));\n  v6[93] = 0;\n  v6[94] = 0;\n  v6[95] = 0;\n  v6[97] = 0;\n  v6[100] = 0;\n  v6[101] = 0;\n  v6[102] = 0;\n  v6[103] = 0;\n  v6[104] = 0;\n  v6[105] = 0;\n  v6[106] = 0;\n  v6[107] = 0;\n  v6[108] = 0;\n  v6[112] = 0;\n  v6[113] = 0;\n  v6[114] = 0;\n  v6[115] = 0;\n  *((_DWORD *)v6 + 232) = 0;\n  *((_BYTE *)v6 + 976) = 0;\n  *((_DWORD *)v6 + 245) = 0;\n  v6[123] = 0;\n  v6[124] = 0;\n  *((_DWORD *)v6 + 250) = 0;\n  *((_DWORD *)v6 + 251) = -1082130432;\n  v7 = sub_14003F4F0((__int64)v9, a3);\n  if ( (unsigned __int8)CreateParticlePopup::init(v6, a1, a2, v7, v6) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *, __int64))(*v6 + 8LL))(v6, 1);\n    v6 = nullptr;\n  }\n  sub_14003D310(a3);\n  return v6;\n}", "assembly": "; \n; CreateParticlePopup::create from 0x1405c11f0 to 0x1405c1416 (550 bytes)\n; \n; 2 xrefs:\n; > EditorUI::editObjectSpecial @ 0x1401bd841\n; > <???> @ 0x14092e1b4\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:34:47 +0000\n; \npush    rbx                                                            ; +0x0, 0x1405c11f0\npush    rbp                                                            ; +0x2, 0x1405c11f2\npush    rsi                                                            ; +0x3, 0x1405c11f3\npush    rdi                                                            ; +0x4, 0x1405c11f4\npush    r14                                                            ; +0x5, 0x1405c11f5\nsub     rsp, 60h                                                       ; +0x7, 0x1405c11f7\nmov     rax, cs:__security_cookie                                      ; +0xb, 0x1405c11fb\nxor     rax, rsp                                                       ; +0x12, 0x1405c1202\nmov     [rsp+88h+var_38], rax                                          ; +0x15, 0x1405c1205\nmov     rbp, r8                                                        ; +0x1a, 0x1405c120a\nmov     rdi, rdx                                                       ; +0x1d, 0x1405c120d\nmov     rbx, rcx                                                       ; +0x20, 0x1405c1210\nmov     [rsp+88h+var_40], r8                                           ; +0x23, 0x1405c1213\nmov     ecx, 3F0h; Size                                                ; +0x28, 0x1405c1218\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2d, 0x1405c121d\nmov     rsi, rax                                                       ; +0x32, 0x1405c1222\nmov     [rsp+88h+var_68], rax                                          ; +0x35, 0x1405c1225\nmov     rcx, rax                                                       ; +0x3a, 0x1405c122a\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x3d, 0x1405c122d\nnop                                                                    ; +0x42, 0x1405c1232\nlea     rax, ??_7CreateParticlePopup@@6B@; const CreateParticlePopup::`vftable' ; +0x43, 0x1405c1233\nmov     [rsi], rax                                                     ; +0x4a, 0x1405c123a\nlea     rax, ??_7CreateParticlePopup@@6B@_0; const CreateParticlePopup::`vftable' ; +0x4d, 0x1405c123d\nmov     [rsi+140h], rax                                                ; +0x54, 0x1405c1244\nlea     rax, ??_7CreateParticlePopup@@6B@_1; const CreateParticlePopup::`vftable' ; +0x5b, 0x1405c124b\nmov     [rsi+148h], rax                                                ; +0x62, 0x1405c1252\nlea     rax, ??_7CreateParticlePopup@@6B@_2; const CreateParticlePopup::`vftable' ; +0x69, 0x1405c1259\nmov     [rsi+150h], rax                                                ; +0x70, 0x1405c1260\nlea     rax, ??_7CreateParticlePopup@@6B@_3; const CreateParticlePopup::`vftable' ; +0x77, 0x1405c1267\nmov     [rsi+158h], rax                                                ; +0x7e, 0x1405c126e\nlea     rax, ??_7CreateParticlePopup@@6B@_4; const CreateParticlePopup::`vftable' ; +0x85, 0x1405c1275\nmov     [rsi+160h], rax                                                ; +0x8c, 0x1405c127c\nlea     rax, ??_7CreateParticlePopup@@6B@_5; const CreateParticlePopup::`vftable' ; +0x93, 0x1405c1283\nmov     [rsi+198h], rax                                                ; +0x9a, 0x1405c128a\nlea     rax, ??_7CreateParticlePopup@@6B@_6; const CreateParticlePopup::`vftable' ; +0xa1, 0x1405c1291\nmov     [rsi+1B0h], rax                                                ; +0xa8, 0x1405c1298\nlea     rax, ??_7CreateParticlePopup@@6B@_7; const CreateParticlePopup::`vftable' ; +0xaf, 0x1405c129f\nmov     [rsi+220h], rax                                                ; +0xb6, 0x1405c12a6\nlea     rax, ??_7CreateParticlePopup@@6B@_8; const CreateParticlePopup::`vftable' ; +0xbd, 0x1405c12ad\nmov     [rsi+298h], rax                                                ; +0xc4, 0x1405c12b4\nlea     rax, ??_7CreateParticlePopup@@6B@_9; const CreateParticlePopup::`vftable' ; +0xcb, 0x1405c12bb\nmov     [rsi+2A0h], rax                                                ; +0xd2, 0x1405c12c2\nxor     r14d, r14d                                                     ; +0xd9, 0x1405c12c9\nmov     [rsi+2A8h], r14                                                ; +0xdc, 0x1405c12cc\nmov     [rsi+2B0h], r14                                                ; +0xe3, 0x1405c12d3\nmov     [rsi+2B8h], r14                                                ; +0xea, 0x1405c12da\nmov     [rsi+2C0h], r14b                                               ; +0xf1, 0x1405c12e1\nmov     [rsi+2C8h], r14                                                ; +0xf8, 0x1405c12e8\nmov     [rsi+2D0h], r14                                                ; +0xff, 0x1405c12ef\nmov     dword ptr [rsi+2D8h], 0FFFFFFFFh                               ; +0x106, 0x1405c12f6\nlea     rcx, [rsi+2DCh]                                                ; +0x110, 0x1405c1300\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x117, 0x1405c1307\nmov     [rsi+2E8h], r14                                                ; +0x11d, 0x1405c130d\nmov     [rsi+2F0h], r14                                                ; +0x124, 0x1405c1314\nmov     [rsi+2F8h], r14                                                ; +0x12b, 0x1405c131b\nmov     [rsi+308h], r14                                                ; +0x132, 0x1405c1322\nmov     [rsi+320h], r14                                                ; +0x139, 0x1405c1329\nmov     [rsi+328h], r14                                                ; +0x140, 0x1405c1330\nmov     [rsi+330h], r14                                                ; +0x147, 0x1405c1337\nmov     [rsi+338h], r14                                                ; +0x14e, 0x1405c133e\nmov     [rsi+340h], r14                                                ; +0x155, 0x1405c1345\nmov     [rsi+348h], r14                                                ; +0x15c, 0x1405c134c\nmov     [rsi+350h], r14                                                ; +0x163, 0x1405c1353\nmov     [rsi+358h], r14                                                ; +0x16a, 0x1405c135a\nmov     [rsi+360h], r14                                                ; +0x171, 0x1405c1361\nmov     [rsi+380h], r14                                                ; +0x178, 0x1405c1368\nmov     [rsi+388h], r14                                                ; +0x17f, 0x1405c136f\nmov     [rsi+390h], r14                                                ; +0x186, 0x1405c1376\nmov     [rsi+398h], r14                                                ; +0x18d, 0x1405c137d\nmov     [rsi+3A0h], r14d                                               ; +0x194, 0x1405c1384\nmov     [rsi+3D0h], r14b                                               ; +0x19b, 0x1405c138b\nmov     [rsi+3D4h], r14d                                               ; +0x1a2, 0x1405c1392\nmov     [rsi+3D8h], r14                                                ; +0x1a9, 0x1405c1399\nmov     [rsi+3E0h], r14                                                ; +0x1b0, 0x1405c13a0\nmov     [rsi+3E8h], r14d                                               ; +0x1b7, 0x1405c13a7\nmov     dword ptr [rsi+3ECh], 0BF800000h                               ; +0x1be, 0x1405c13ae\nmov     rdx, rbp                                                       ; +0x1c8, 0x1405c13b8\nlea     rcx, [rsp+88h+var_60]                                          ; +0x1cb, 0x1405c13bb\ncall    sub_14003F4F0                                                  ; +0x1d0, 0x1405c13c0\nmov     r9, rax                                                        ; +0x1d5, 0x1405c13c5\nmov     r8, rdi                                                        ; +0x1d8, 0x1405c13c8\nmov     rdx, rbx                                                       ; +0x1db, 0x1405c13cb\nmov     rcx, rsi                                                       ; +0x1de, 0x1405c13ce\ncall    CreateParticlePopup__init                                      ; +0x1e1, 0x1405c13d1\nmov     rcx, rsi                                                       ; +0x1e6, 0x1405c13d6\ntest    al, al                                                         ; +0x1e9, 0x1405c13d9\njz      short loc_1405C13E5                                            ; +0x1eb, 0x1405c13db\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x1ed, 0x1405c13dd\njmp     short loc_1405C13F3                                            ; +0x1f3, 0x1405c13e3\nmov     rax, [rsi]                                                     ; +0x1f5, 0x1405c13e5\nmov     edx, 1                                                         ; +0x1f8, 0x1405c13e8\ncall    qword ptr [rax+8]                                              ; +0x1fd, 0x1405c13ed\nmov     rsi, r14                                                       ; +0x200, 0x1405c13f0\nmov     rcx, rbp                                                       ; +0x203, 0x1405c13f3\ncall    sub_14003D310                                                  ; +0x206, 0x1405c13f6\nmov     rax, rsi                                                       ; +0x20b, 0x1405c13fb\nmov     rcx, [rsp+88h+var_38]                                          ; +0x20e, 0x1405c13fe\nxor     rcx, rsp; StackCookie                                          ; +0x213, 0x1405c1403\ncall    __security_check_cookie                                        ; +0x216, 0x1405c1406\nadd     rsp, 60h                                                       ; +0x21b, 0x1405c140b\npop     r14                                                            ; +0x21f, 0x1405c140f\npop     rdi                                                            ; +0x221, 0x1405c1411\npop     rsi                                                            ; +0x222, 0x1405c1412\npop     rbp                                                            ; +0x223, 0x1405c1413\npop     rbx                                                            ; +0x224, 0x1405c1414\nretn                                                                   ; +0x225, 0x1405c1415", "xrefs": ["EditorUI::editObjectSpecial @ 0x1401bd841", "<???> @ 0x14092e1b4"], "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"}