{"type": "func", "start": 6442876480, "end": 6442876600, "name": "cocos2d::CCParticleSystem::create", "pseudocode": "// \n// cocos2d::CCParticleSystem::create from 0x180067e40 to 0x180067eb8 (120 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bdef4\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:21:53 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCParticleSystem *__fastcall cocos2d::CCParticleSystem::create(const char *a1)\n{\n  cocos2d::CCParticleSystem *v2; // rax\n  cocos2d::CCObject *v3; // rbx\n\n  v2 = (cocos2d::CCParticleSystem *)sub_1800E4AC0(0x318u);\n  if ( v2 )\n    v3 = cocos2d::CCParticleSystem::CCParticleSystem(v2);\n  else\n    v3 = nullptr;\n  if ( v3 )\n  {\n    if ( cocos2d::CCParticleSystem::initWithFile(v3, a1, 0) )\n    {\n      cocos2d::CCObject::autorelease(v3);\n      return v3;\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1);\n    return nullptr;\n  }\n  return v3;\n}", "assembly": "; \n; cocos2d::CCParticleSystem::create from 0x180067e40 to 0x180067eb8 (120 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bdef4\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:21:53 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180067e40\npush    rdi                                                            ; +0x5, 0x180067e45\nsub     rsp, 20h                                                       ; +0x6, 0x180067e46\nmov     rdi, rcx                                                       ; +0xa, 0x180067e4a\nmov     ecx, 318h; Size                                                ; +0xd, 0x180067e4d\ncall    sub_1800E4AC0                                                  ; +0x12, 0x180067e52\nmov     [rsp+28h+arg_8], rax                                           ; +0x17, 0x180067e57\ntest    rax, rax                                                       ; +0x1c, 0x180067e5c\njz      short loc_180067E6E                                            ; +0x1f, 0x180067e5f\nmov     rcx, rax; this                                                 ; +0x21, 0x180067e61\ncall    ??0CCParticleSystem@cocos2d@@QEAA@XZ; cocos2d::CCParticleSystem::CCParticleSystem(void) ; +0x24, 0x180067e64\nmov     rbx, rax                                                       ; +0x29, 0x180067e69\njmp     short loc_180067E70                                            ; +0x2c, 0x180067e6c\nxor     ebx, ebx                                                       ; +0x2e, 0x180067e6e\ntest    rbx, rbx                                                       ; +0x30, 0x180067e70\njz      short loc_180067EAA                                            ; +0x33, 0x180067e73\nxor     r8d, r8d; bool                                                 ; +0x35, 0x180067e75\nmov     rdx, rdi; char *                                               ; +0x38, 0x180067e78\nmov     rcx, rbx; this                                                 ; +0x3b, 0x180067e7b\ncall    ?initWithFile@CCParticleSystem@cocos2d@@QEAA_NPEBD_N@Z; cocos2d::CCParticleSystem::initWithFile(char const *,bool) ; +0x3e, 0x180067e7e\nmov     rcx, rbx; this                                                 ; +0x43, 0x180067e83\ntest    al, al                                                         ; +0x46, 0x180067e86\njz      short loc_180067E9D                                            ; +0x48, 0x180067e88\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x4a, 0x180067e8a\nmov     rax, rbx                                                       ; +0x4f, 0x180067e8f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x52, 0x180067e92\nadd     rsp, 20h                                                       ; +0x57, 0x180067e97\npop     rdi                                                            ; +0x5b, 0x180067e9b\nretn                                                                   ; +0x5c, 0x180067e9c\nmov     rax, [rbx]                                                     ; +0x5d, 0x180067e9d\nmov     edx, 1                                                         ; +0x60, 0x180067ea0\ncall    qword ptr [rax+8]                                              ; +0x65, 0x180067ea5\nxor     ebx, ebx                                                       ; +0x68, 0x180067ea8\nmov     rax, rbx                                                       ; +0x6a, 0x180067eaa\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6d, 0x180067ead\nadd     rsp, 20h                                                       ; +0x72, 0x180067eb2\npop     rdi                                                            ; +0x76, 0x180067eb6\nretn                                                                   ; +0x77, 0x180067eb7", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bdef4"], "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"}