{"type": "func", "start": 6442894832, "end": 6442894971, "name": "cocos2d::CCParticleSystemQuad::create", "pseudocode": "// \n// cocos2d::CCParticleSystemQuad::create from 0x18006c5f0 to 0x18006c67b (139 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bdff0\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:55 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCParticleSystemQuad *__fastcall cocos2d::CCParticleSystemQuad::create(char *a1, unsigned __int8 a2)\n{\n  cocos2d::CCParticleSystemQuad *v4; // rax\n  cocos2d::CCObject *v5; // rbx\n\n  v4 = (cocos2d::CCParticleSystemQuad *)sub_1800E4AC0(0x348u);\n  if ( v4 )\n    v5 = cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(v4);\n  else\n    v5 = nullptr;\n  if ( v5 )\n  {\n    if ( (unsigned __int8)cocos2d::CCParticleSystem::initWithFile(v5, a1, a2) )\n    {\n      cocos2d::CCObject::autorelease(v5);\n      return v5;\n    }\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v5 + 8LL))(v5, 1);\n    return nullptr;\n  }\n  return v5;\n}", "assembly": "; \n; cocos2d::CCParticleSystemQuad::create from 0x18006c5f0 to 0x18006c67b (139 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bdff0\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:55 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18006c5f0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18006c5f5\npush    rdi                                                            ; +0xa, 0x18006c5fa\nsub     rsp, 20h                                                       ; +0xb, 0x18006c5fb\nmovzx   edi, dl                                                        ; +0xf, 0x18006c5ff\nmov     rsi, rcx                                                       ; +0x12, 0x18006c602\nmov     ecx, 348h; Size                                                ; +0x15, 0x18006c605\ncall    sub_1800E4AC0                                                  ; +0x1a, 0x18006c60a\nmov     [rsp+28h+arg_10], rax                                          ; +0x1f, 0x18006c60f\ntest    rax, rax                                                       ; +0x24, 0x18006c614\njz      short loc_18006C626                                            ; +0x27, 0x18006c617\nmov     rcx, rax; this                                                 ; +0x29, 0x18006c619\ncall    ??0CCParticleSystemQuad@cocos2d@@QEAA@XZ; cocos2d::CCParticleSystemQuad::CCParticleSystemQuad(void) ; +0x2c, 0x18006c61c\nmov     rbx, rax                                                       ; +0x31, 0x18006c621\njmp     short loc_18006C628                                            ; +0x34, 0x18006c624\nxor     ebx, ebx                                                       ; +0x36, 0x18006c626\ntest    rbx, rbx                                                       ; +0x38, 0x18006c628\njz      short loc_18006C668                                            ; +0x3b, 0x18006c62b\nmovzx   r8d, dil; bool                                                 ; +0x3d, 0x18006c62d\nmov     rdx, rsi; char *                                               ; +0x41, 0x18006c631\nmov     rcx, rbx; this                                                 ; +0x44, 0x18006c634\ncall    ?initWithFile@CCParticleSystem@cocos2d@@QEAA_NPEBD_N@Z; cocos2d::CCParticleSystem::initWithFile(char const *,bool) ; +0x47, 0x18006c637\nmov     rcx, rbx; this                                                 ; +0x4c, 0x18006c63c\ntest    al, al                                                         ; +0x4f, 0x18006c63f\njz      short loc_18006C65B                                            ; +0x51, 0x18006c641\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x53, 0x18006c643\nmov     rax, rbx                                                       ; +0x58, 0x18006c648\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5b, 0x18006c64b\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x60, 0x18006c650\nadd     rsp, 20h                                                       ; +0x65, 0x18006c655\npop     rdi                                                            ; +0x69, 0x18006c659\nretn                                                                   ; +0x6a, 0x18006c65a\nmov     rax, [rbx]                                                     ; +0x6b, 0x18006c65b\nmov     edx, 1                                                         ; +0x6e, 0x18006c65e\ncall    qword ptr [rax+8]                                              ; +0x73, 0x18006c663\nxor     ebx, ebx                                                       ; +0x76, 0x18006c666\nmov     rax, rbx                                                       ; +0x78, 0x18006c668\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7b, 0x18006c66b\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x80, 0x18006c670\nadd     rsp, 20h                                                       ; +0x85, 0x18006c675\npop     rdi                                                            ; +0x89, 0x18006c679\nretn                                                                   ; +0x8a, 0x18006c67a", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bdff0"], "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"}