{"type": "func", "start": 5372158464, "end": 5372159509, "name": "GJBaseGameLayer::createParticle", "pseudocode": "// \n// GJBaseGameLayer::createParticle from 0x14034a200 to 0x14034a615 (1045 bytes)\n// \n// 2 xrefs:\n// > GameObject::createAndAddParticle @ 0x140295c77\n// > <???> @ 0x14091ffe8\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:30:44 +0000\n// \n\n// Hidden C++ exception states: #wind=4\ncocos2d::CCParticleSystem *__fastcall GJBaseGameLayer::createParticle(\n        __int64 a1,\n        unsigned int a2,\n        void *a3,\n        unsigned int a4,\n        unsigned int a5)\n{\n  void *v5; // r15\n  __int64 v7; // r14\n  __int64 v8; // rcx\n  __int64 v9; // rax\n  void **v11; // rdx\n  cocos2d::CCParticleSystem *v12; // rdi\n  size_t v13; // rbx\n  size_t v14; // r8\n  __int64 v15; // rcx\n  __int64 v16; // rsi\n  void *v17; // r8\n  __int64 v18; // rsi\n  __int64 v19; // rcx\n  void **v20; // rdx\n  size_t v21; // r8\n  __int64 v22; // rcx\n  void *v23; // rcx\n  void **v24; // r15\n  void **v25; // r12\n  unsigned __int64 v26; // r13\n  __int64 v27; // rsi\n  unsigned __int64 v28; // r14\n  _QWORD *ParticleKey2; // rax\n  void **v30; // rdx\n  cocos2d::CCArray *v31; // rsi\n  void *v32; // r8\n  unsigned int v33; // ebx\n  unsigned int v34; // [rsp+30h] [rbp-81h]\n  void *v35; // [rsp+38h] [rbp-79h]\n  __int64 v36; // [rsp+38h] [rbp-79h]\n  void *Block[2]; // [rsp+58h] [rbp-59h] BYREF\n  unsigned __int64 v40; // [rsp+68h] [rbp-49h]\n  unsigned __int64 v41; // [rsp+70h] [rbp-41h]\n  void *Src[2]; // [rsp+78h] [rbp-39h] BYREF\n  unsigned __int64 v43; // [rsp+88h] [rbp-29h]\n  unsigned __int64 v44; // [rsp+90h] [rbp-21h]\n  _QWORD v45[4]; // [rsp+98h] [rbp-19h] BYREF\n\n  v34 = a4;\n  v5 = a3;\n  v7 = a1;\n  v8 = a5;\n  v9 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v35 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v35);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v9 = qword_14090BFD0;\n    a4 = v34;\n    v8 = a5;\n  }\n  if ( *(_BYTE *)(v9 + 957) )\n    return nullptr;\n  GJBaseGameLayer::getParticleKey(v8, Src, a2, v5, a4, v8);\n  v11 = Src;\n  if ( v44 > 0xF )\n    v11 = (void **)Src[0];\n  *(_OWORD *)Block = 0;\n  v12 = nullptr;\n  v40 = 0;\n  v41 = 0;\n  v13 = -1;\n  v14 = -1;\n  do\n    ++v14;\n  while ( *((_BYTE *)v11 + v14) );\n  sub_14003D230(Block, v11, v14);\n  v16 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(v7 + 12712), Block);\n  if ( v41 > 0xF )\n  {\n    v17 = Block[0];\n    if ( v41 + 1 >= 0x1000 )\n    {\n      v17 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v17 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v17);\n  }\n  if ( v16 )\n  {\n    v26 = v44;\n    v25 = (void **)Src[0];\n  }\n  else\n  {\n    v18 = cocos2d::CCArray::create(v15);\n    v36 = cocos2d::CCArray::create(v19);\n    v20 = Src;\n    if ( v44 > 0xF )\n      v20 = (void **)Src[0];\n    *(_OWORD *)Block = 0;\n    v40 = 0;\n    v41 = 0;\n    v21 = -1;\n    do\n      ++v21;\n    while ( *((_BYTE *)v20 + v21) );\n    sub_14003D230(Block, v20, v21);\n    cocos2d::CCDictionary::setObject(*(_QWORD *)(v7 + 12712), v18, Block);\n    if ( v41 > 0xF )\n    {\n      v23 = Block[0];\n      if ( v41 + 1 >= 0x1000 )\n      {\n        v23 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v23 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free(v23);\n    }\n    *(_OWORD *)Block = 0;\n    v40 = 0;\n    v41 = 0;\n    v24 = Src;\n    v25 = (void **)Src[0];\n    v26 = v44;\n    if ( v44 > 0xF )\n      v24 = (void **)Src[0];\n    v27 = 0x7FFFFFFFFFFFFFFFLL;\n    v28 = v43;\n    if ( v43 > 0x7FFFFFFFFFFFFFFFLL )\n      sub_140009D90(v22);\n    if ( v43 > 0xF )\n    {\n      if ( (v43 | 0xF) <= 0x7FFFFFFFFFFFFFFFLL )\n      {\n        v27 = v43 | 0xF;\n        if ( (v43 | 0xF) < 0x16 )\n          v27 = 22;\n      }\n      Block[0] = sub_14003D460(v27 + 1);\n      v40 = v28;\n      v41 = v27;\n      memcpy(Block[0], v24, v28 + 1);\n    }\n    else\n    {\n      v40 = v43;\n      v41 = 15;\n      *(_OWORD *)Block = *(_OWORD *)v24;\n    }\n    ParticleKey2 = GJBaseGameLayer::getParticleKey2(v22, v45, (const char *)Block);\n    v7 = a1;\n    cocos2d::CCDictionary::setObject(*(_QWORD *)(a1 + 12712), v36, ParticleKey2);\n    sub_14003D310((__int64)v45);\n    v5 = a3;\n  }\n  v30 = Src;\n  if ( v26 > 0xF )\n    v30 = v25;\n  *(_OWORD *)Block = 0;\n  v40 = 0;\n  v41 = 0;\n  do\n    ++v13;\n  while ( *((_BYTE *)v30 + v13) );\n  sub_14003D230(Block, v30, v13);\n  v31 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(*(_QWORD *)(v7 + 12712), Block);\n  if ( v41 > 0xF )\n  {\n    v32 = Block[0];\n    if ( v41 + 1 >= 0x1000 )\n    {\n      v32 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v32 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v32);\n  }\n  v40 = 0;\n  v41 = 15;\n  LOBYTE(Block[0]) = 0;\n  v33 = *(_DWORD *)(v7 + 12704);\n  if ( cocos2d::CCArray::count(v31) < v33 )\n  {\n    v12 = cocos2d::CCParticleSystemQuad::create((const char *)v5, 1);\n    (*(void (__fastcall **)(cocos2d::CCParticleSystem *, _QWORD))(*(_QWORD *)v12 + 64LL))(v12, v34);\n    (*(void (__fastcall **)(cocos2d::CCParticleSystem *, _QWORD))(*(_QWORD *)v12 + 1528LL))(v12, a5);\n    cocos2d::CCParticleSystem::stopSystem(v12);\n    (*(void (__fastcall **)(cocos2d::CCParticleSystem *, _QWORD))(*(_QWORD *)v12 + 336LL))(v12, 0);\n    cocos2d::CCArray::addObject(v31, v12);\n  }\n  sub_14003D310((__int64)Src);\n  return v12;\n}", "assembly": "; \n; GJBaseGameLayer::createParticle from 0x14034a200 to 0x14034a615 (1045 bytes)\n; \n; 2 xrefs:\n; > GameObject::createAndAddParticle @ 0x140295c77\n; > <???> @ 0x14091ffe8\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:30:44 +0000\n; \npush    rbp                                                            ; +0x0, 0x14034a200\npush    rbx                                                            ; +0x2, 0x14034a202\npush    rsi                                                            ; +0x3, 0x14034a203\npush    rdi                                                            ; +0x4, 0x14034a204\npush    r12                                                            ; +0x5, 0x14034a205\npush    r13                                                            ; +0x7, 0x14034a207\npush    r14                                                            ; +0x9, 0x14034a209\npush    r15                                                            ; +0xb, 0x14034a20b\nlea     rbp, [rsp-17h]                                                 ; +0xd, 0x14034a20d\nsub     rsp, 0C8h                                                      ; +0x12, 0x14034a212\nmov     rax, cs:__security_cookie                                      ; +0x19, 0x14034a219\nxor     rax, rsp                                                       ; +0x20, 0x14034a220\nmov     [rbp+4Fh+var_48], rax                                          ; +0x23, 0x14034a223\nmov     [rsp+100h+var_D0], r9d                                         ; +0x27, 0x14034a227\nmov     r15, r8                                                        ; +0x2c, 0x14034a22c\nmov     [rbp+4Fh+var_B8], r8                                           ; +0x2f, 0x14034a22f\nmov     ebx, edx                                                       ; +0x33, 0x14034a233\nmov     r14, rcx                                                       ; +0x35, 0x14034a235\nmov     [rbp+4Fh+var_C0], rcx                                          ; +0x38, 0x14034a238\nmov     ecx, [rbp+4Fh+arg_20]                                          ; +0x3c, 0x14034a23c\nmov     [rbp+4Fh+var_CC], ecx                                          ; +0x3f, 0x14034a23f\nmov     rax, cs:qword_14090BFD0                                        ; +0x42, 0x14034a242\ntest    rax, rax                                                       ; +0x49, 0x14034a249\njnz     short loc_14034A287                                            ; +0x4c, 0x14034a24c\nmov     ecx, 6E8h; Size                                                ; +0x4e, 0x14034a24e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x53, 0x14034a253\nmov     [rbp+4Fh+var_C8], rax                                          ; +0x58, 0x14034a258\nmov     rcx, rax                                                       ; +0x5c, 0x14034a25c\ncall    GameManager__GameManager                                       ; +0x5f, 0x14034a25f\nnop                                                                    ; +0x64, 0x14034a264\nmov     cs:qword_14090BFD0, rax                                        ; +0x65, 0x14034a265\nmov     rcx, [rax]                                                     ; +0x6c, 0x14034a26c\nmov     rdx, [rcx+48h]                                                 ; +0x6f, 0x14034a26f\nmov     rcx, rax                                                       ; +0x73, 0x14034a273\ncall    rdx                                                            ; +0x76, 0x14034a276\nmov     rax, cs:qword_14090BFD0                                        ; +0x78, 0x14034a278\nmov     r9d, [rsp+100h+var_D0]                                         ; +0x7f, 0x14034a27f\nmov     ecx, [rbp+4Fh+var_CC]                                          ; +0x84, 0x14034a284\ncmp     byte ptr [rax+3BDh], 0                                         ; +0x87, 0x14034a287\njz      short loc_14034A297                                            ; +0x8e, 0x14034a28e\nxor     eax, eax                                                       ; +0x90, 0x14034a290\njmp     loc_14034A5EF                                                  ; +0x92, 0x14034a292\nmov     [rsp+100h+var_D8], ecx                                         ; +0x97, 0x14034a297\nmov     dword ptr [rsp+100h+Reserved], r9d                             ; +0x9b, 0x14034a29b\nmov     r9, r15                                                        ; +0xa0, 0x14034a2a0\nmov     r8d, ebx                                                       ; +0xa3, 0x14034a2a3\nlea     rdx, [rbp+4Fh+Src]                                             ; +0xa6, 0x14034a2a6\ncall    GJBaseGameLayer__getParticleKey                                ; +0xaa, 0x14034a2aa\nnop                                                                    ; +0xaf, 0x14034a2af\nlea     rdx, [rbp+4Fh+Src]                                             ; +0xb0, 0x14034a2b0\ncmp     [rbp+4Fh+var_70], 0Fh                                          ; +0xb4, 0x14034a2b4\ncmova   rdx, [rbp+4Fh+Src]                                             ; +0xb9, 0x14034a2b9\nxorps   xmm0, xmm0                                                     ; +0xbe, 0x14034a2be\nmovups  xmmword ptr [rbp+4Fh+Block], xmm0                              ; +0xc1, 0x14034a2c1\nxor     edi, edi                                                       ; +0xc5, 0x14034a2c5\nmov     [rbp+4Fh+var_98], rdi                                          ; +0xc7, 0x14034a2c7\nmov     [rbp+4Fh+var_90], rdi                                          ; +0xcb, 0x14034a2cb\nmov     rbx, 0FFFFFFFFFFFFFFFFh                                        ; +0xcf, 0x14034a2cf\nmov     r8, rbx                                                        ; +0xd6, 0x14034a2d6\nnop     dword ptr [rax+00000000h]                                      ; +0xd9, 0x14034a2d9\ninc     r8                                                             ; +0xe0, 0x14034a2e0\ncmp     [rdx+r8], dil                                                  ; +0xe3, 0x14034a2e3\njnz     short loc_14034A2E0                                            ; +0xe7, 0x14034a2e7\nlea     rcx, [rbp+4Fh+Block]                                           ; +0xe9, 0x14034a2e9\ncall    sub_14003D230                                                  ; +0xed, 0x14034a2ed\nnop                                                                    ; +0xf2, 0x14034a2f2\nlea     rdx, [rbp+4Fh+Block]                                           ; +0xf3, 0x14034a2f3\nmov     rcx, [r14+31A8h]                                               ; +0xf7, 0x14034a2f7\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0xfe, 0x14034a2fe\nmov     rsi, rax                                                       ; +0x104, 0x14034a304\nmov     rdx, [rbp+4Fh+var_90]                                          ; +0x107, 0x14034a307\ncmp     rdx, 0Fh                                                       ; +0x10b, 0x14034a30b\njbe     short loc_14034A357                                            ; +0x10f, 0x14034a30f\ninc     rdx                                                            ; +0x111, 0x14034a311\nmov     r8, [rbp+4Fh+Block]                                            ; +0x114, 0x14034a314\nmov     rcx, r8                                                        ; +0x118, 0x14034a318\ncmp     rdx, 1000h                                                     ; +0x11b, 0x14034a31b\njb      short loc_14034A34F                                            ; +0x122, 0x14034a322\nadd     rdx, 27h ; '''                                                 ; +0x124, 0x14034a324\nmov     r8, [r8-8]                                                     ; +0x128, 0x14034a328\nsub     rcx, r8                                                        ; +0x12c, 0x14034a32c\nsub     rcx, 8                                                         ; +0x12f, 0x14034a32f\ncmp     rcx, 1Fh                                                       ; +0x133, 0x14034a333\njbe     short loc_14034A34F                                            ; +0x137, 0x14034a337\nmov     [rsp+100h+Reserved], rdi; Reserved                             ; +0x139, 0x14034a339\nxor     r9d, r9d; LineNo                                               ; +0x13e, 0x14034a33e\nxor     r8d, r8d; FileName                                             ; +0x141, 0x14034a341\nxor     edx, edx; FunctionName                                         ; +0x144, 0x14034a344\nxor     ecx, ecx; Expression                                           ; +0x146, 0x14034a346\ncall    cs:_invoke_watson                                              ; +0x148, 0x14034a348\ndb 0CCh                                                                ; +0x14e, 0x14034a34e\nmov     rcx, r8; Block                                                 ; +0x14f, 0x14034a34f\ncall    j_j_free                                                       ; +0x152, 0x14034a352\ntest    rsi, rsi                                                       ; +0x157, 0x14034a357\njnz     loc_14034A4D4                                                  ; +0x15a, 0x14034a35a\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x160, 0x14034a360\nmov     rsi, rax                                                       ; +0x166, 0x14034a366\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x169, 0x14034a369\nmov     [rbp+4Fh+var_C8], rax                                          ; +0x16f, 0x14034a36f\nlea     rdx, [rbp+4Fh+Src]                                             ; +0x173, 0x14034a373\ncmp     [rbp+4Fh+var_70], 0Fh                                          ; +0x177, 0x14034a377\ncmova   rdx, [rbp+4Fh+Src]                                             ; +0x17c, 0x14034a37c\nxorps   xmm0, xmm0                                                     ; +0x181, 0x14034a381\nmovups  xmmword ptr [rbp+4Fh+Block], xmm0                              ; +0x184, 0x14034a384\nmov     [rbp+4Fh+var_98], rdi                                          ; +0x188, 0x14034a388\nmov     [rbp+4Fh+var_90], rdi                                          ; +0x18c, 0x14034a38c\nmov     r8, rbx                                                        ; +0x190, 0x14034a390\ninc     r8                                                             ; +0x193, 0x14034a393\ncmp     byte ptr [rdx+r8], 0                                           ; +0x196, 0x14034a396\njnz     short loc_14034A393                                            ; +0x19b, 0x14034a39b\nlea     rcx, [rbp+4Fh+Block]                                           ; +0x19d, 0x14034a39d\ncall    sub_14003D230                                                  ; +0x1a1, 0x14034a3a1\nnop                                                                    ; +0x1a6, 0x14034a3a6\nlea     r8, [rbp+4Fh+Block]                                            ; +0x1a7, 0x14034a3a7\nmov     rdx, rsi                                                       ; +0x1ab, 0x14034a3ab\nmov     rcx, [r14+31A8h]                                               ; +0x1ae, 0x14034a3ae\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x1b5, 0x14034a3b5\nnop                                                                    ; +0x1bb, 0x14034a3bb\nmov     rdx, [rbp+4Fh+var_90]                                          ; +0x1bc, 0x14034a3bc\ncmp     rdx, 0Fh                                                       ; +0x1c0, 0x14034a3c0\njbe     short loc_14034A409                                            ; +0x1c4, 0x14034a3c4\ninc     rdx                                                            ; +0x1c6, 0x14034a3c6\nmov     rcx, [rbp+4Fh+Block]; Block                                    ; +0x1c9, 0x14034a3c9\nmov     rax, rcx                                                       ; +0x1cd, 0x14034a3cd\ncmp     rdx, 1000h                                                     ; +0x1d0, 0x14034a3d0\njb      short loc_14034A404                                            ; +0x1d7, 0x14034a3d7\nadd     rdx, 27h ; '''                                                 ; +0x1d9, 0x14034a3d9\nmov     rcx, [rcx-8]                                                   ; +0x1dd, 0x14034a3dd\nsub     rax, rcx                                                       ; +0x1e1, 0x14034a3e1\nsub     rax, 8                                                         ; +0x1e4, 0x14034a3e4\ncmp     rax, 1Fh                                                       ; +0x1e8, 0x14034a3e8\njbe     short loc_14034A404                                            ; +0x1ec, 0x14034a3ec\nmov     [rsp+100h+Reserved], rdi; Reserved                             ; +0x1ee, 0x14034a3ee\nxor     r9d, r9d; LineNo                                               ; +0x1f3, 0x14034a3f3\nxor     r8d, r8d; FileName                                             ; +0x1f6, 0x14034a3f6\nxor     edx, edx; FunctionName                                         ; +0x1f9, 0x14034a3f9\nxor     ecx, ecx; Expression                                           ; +0x1fb, 0x14034a3fb\ncall    cs:_invoke_watson                                              ; +0x1fd, 0x14034a3fd\nalign 4                                                                ; +0x203, 0x14034a403\ncall    j_j_free                                                       ; +0x204, 0x14034a404\nxorps   xmm0, xmm0                                                     ; +0x209, 0x14034a409\nmovups  xmmword ptr [rbp+4Fh+Block], xmm0                              ; +0x20c, 0x14034a40c\nmov     [rbp+4Fh+var_98], rdi                                          ; +0x210, 0x14034a410\nmov     [rbp+4Fh+var_90], rdi                                          ; +0x214, 0x14034a414\nlea     r15, [rbp+4Fh+Src]                                             ; +0x218, 0x14034a418\nmov     r12, [rbp+4Fh+Src]                                             ; +0x21c, 0x14034a41c\nmov     r13, [rbp+4Fh+var_70]                                          ; +0x220, 0x14034a420\ncmp     r13, 0Fh                                                       ; +0x224, 0x14034a424\ncmova   r15, r12                                                       ; +0x228, 0x14034a428\nmov     rsi, 7FFFFFFFFFFFFFFFh                                         ; +0x22c, 0x14034a42c\nmov     r14, [rbp+4Fh+var_78]                                          ; +0x236, 0x14034a436\ncmp     r14, rsi                                                       ; +0x23a, 0x14034a43a\nja      loc_14034A60F                                                  ; +0x23d, 0x14034a43d\ncmp     r14, 0Fh                                                       ; +0x243, 0x14034a443\nja      short loc_14034A45F                                            ; +0x247, 0x14034a447\nmov     [rbp+4Fh+var_98], r14                                          ; +0x249, 0x14034a449\nmov     [rbp+4Fh+var_90], 0Fh                                          ; +0x24d, 0x14034a44d\nmovups  xmm0, xmmword ptr [r15]                                        ; +0x255, 0x14034a455\nmovups  xmmword ptr [rbp+4Fh+Block], xmm0                              ; +0x259, 0x14034a459\njmp     short loc_14034A49E                                            ; +0x25d, 0x14034a45d\nmov     rax, r14                                                       ; +0x25f, 0x14034a45f\nor      rax, 0Fh                                                       ; +0x262, 0x14034a462\ncmp     rax, rsi                                                       ; +0x266, 0x14034a466\nja      short loc_14034A47A                                            ; +0x269, 0x14034a469\nmov     rsi, rax                                                       ; +0x26b, 0x14034a46b\nmov     ecx, 16h                                                       ; +0x26e, 0x14034a46e\ncmp     rax, rcx                                                       ; +0x273, 0x14034a473\ncmovb   rsi, rcx                                                       ; +0x276, 0x14034a476\nlea     rcx, [rsi+1]                                                   ; +0x27a, 0x14034a47a\ncall    sub_14003D460                                                  ; +0x27e, 0x14034a47e\nmov     [rbp+4Fh+Block], rax                                           ; +0x283, 0x14034a483\nmov     [rbp+4Fh+var_98], r14                                          ; +0x287, 0x14034a487\nmov     [rbp+4Fh+var_90], rsi                                          ; +0x28b, 0x14034a48b\nlea     r8, [r14+1]; Size                                              ; +0x28f, 0x14034a48f\nmov     rdx, r15; Src                                                  ; +0x293, 0x14034a493\nmov     rcx, rax; void *                                               ; +0x296, 0x14034a496\ncall    memcpy                                                         ; +0x299, 0x14034a499\nlea     r8, [rbp+4Fh+Block]                                            ; +0x29e, 0x14034a49e\nlea     rdx, [rbp+4Fh+var_68]                                          ; +0x2a2, 0x14034a4a2\ncall    GJBaseGameLayer__getParticleKey2                               ; +0x2a6, 0x14034a4a6\nnop                                                                    ; +0x2ab, 0x14034a4ab\nmov     r8, rax                                                        ; +0x2ac, 0x14034a4ac\nmov     rdx, [rbp+4Fh+var_C8]                                          ; +0x2af, 0x14034a4af\nmov     r14, [rbp+4Fh+var_C0]                                          ; +0x2b3, 0x14034a4b3\nmov     rcx, [r14+31A8h]                                               ; +0x2b7, 0x14034a4b7\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x2be, 0x14034a4be\nnop                                                                    ; +0x2c4, 0x14034a4c4\nlea     rcx, [rbp+4Fh+var_68]                                          ; +0x2c5, 0x14034a4c5\ncall    sub_14003D310                                                  ; +0x2c9, 0x14034a4c9\nmov     r15, [rbp+4Fh+var_B8]                                          ; +0x2ce, 0x14034a4ce\njmp     short loc_14034A4DC                                            ; +0x2d2, 0x14034a4d2\nmov     r13, [rbp+4Fh+var_70]                                          ; +0x2d4, 0x14034a4d4\nmov     r12, [rbp+4Fh+Src]                                             ; +0x2d8, 0x14034a4d8\nlea     rdx, [rbp+4Fh+Src]                                             ; +0x2dc, 0x14034a4dc\ncmp     r13, 0Fh                                                       ; +0x2e0, 0x14034a4e0\ncmova   rdx, r12                                                       ; +0x2e4, 0x14034a4e4\nxorps   xmm0, xmm0                                                     ; +0x2e8, 0x14034a4e8\nmovups  xmmword ptr [rbp+4Fh+Block], xmm0                              ; +0x2eb, 0x14034a4eb\nmov     [rbp+4Fh+var_98], rdi                                          ; +0x2ef, 0x14034a4ef\nmov     [rbp+4Fh+var_90], rdi                                          ; +0x2f3, 0x14034a4f3\ninc     rbx                                                            ; +0x2f7, 0x14034a4f7\ncmp     byte ptr [rdx+rbx], 0                                          ; +0x2fa, 0x14034a4fa\njnz     short loc_14034A4F7                                            ; +0x2fe, 0x14034a4fe\nmov     r8, rbx                                                        ; +0x300, 0x14034a500\nlea     rcx, [rbp+4Fh+Block]                                           ; +0x303, 0x14034a503\ncall    sub_14003D230                                                  ; +0x307, 0x14034a507\nnop                                                                    ; +0x30c, 0x14034a50c\nlea     rdx, [rbp+4Fh+Block]                                           ; +0x30d, 0x14034a50d\nmov     rcx, [r14+31A8h]                                               ; +0x311, 0x14034a511\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x318, 0x14034a518\nmov     rsi, rax                                                       ; +0x31e, 0x14034a51e\nmov     rdx, [rbp+4Fh+var_90]                                          ; +0x321, 0x14034a521\ncmp     rdx, 0Fh                                                       ; +0x325, 0x14034a525\njbe     short loc_14034A571                                            ; +0x329, 0x14034a529\ninc     rdx                                                            ; +0x32b, 0x14034a52b\nmov     r8, [rbp+4Fh+Block]                                            ; +0x32e, 0x14034a52e\nmov     rcx, r8                                                        ; +0x332, 0x14034a532\ncmp     rdx, 1000h                                                     ; +0x335, 0x14034a535\njb      short loc_14034A569                                            ; +0x33c, 0x14034a53c\nadd     rdx, 27h ; '''                                                 ; +0x33e, 0x14034a53e\nmov     r8, [r8-8]                                                     ; +0x342, 0x14034a542\nsub     rcx, r8                                                        ; +0x346, 0x14034a546\nsub     rcx, 8                                                         ; +0x349, 0x14034a549\ncmp     rcx, 1Fh                                                       ; +0x34d, 0x14034a54d\njbe     short loc_14034A569                                            ; +0x351, 0x14034a551\nmov     [rsp+100h+Reserved], rdi; Reserved                             ; +0x353, 0x14034a553\nxor     r9d, r9d; LineNo                                               ; +0x358, 0x14034a558\nxor     r8d, r8d; FileName                                             ; +0x35b, 0x14034a55b\nxor     edx, edx; FunctionName                                         ; +0x35e, 0x14034a55e\nxor     ecx, ecx; Expression                                           ; +0x360, 0x14034a560\ncall    cs:_invoke_watson                                              ; +0x362, 0x14034a562\ndb 0CCh                                                                ; +0x368, 0x14034a568\nmov     rcx, r8; Block                                                 ; +0x369, 0x14034a569\ncall    j_j_free                                                       ; +0x36c, 0x14034a56c\nmov     [rbp+4Fh+var_98], rdi                                          ; +0x371, 0x14034a571\nmov     [rbp+4Fh+var_90], 0Fh                                          ; +0x375, 0x14034a575\nmov     byte ptr [rbp+4Fh+Block], 0                                    ; +0x37d, 0x14034a57d\nmov     ebx, [r14+31A0h]                                               ; +0x381, 0x14034a581\nmov     rcx, rsi                                                       ; +0x388, 0x14034a588\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x38b, 0x14034a58b\ncmp     eax, ebx                                                       ; +0x391, 0x14034a591\njnb     short loc_14034A5E3                                            ; +0x393, 0x14034a593\nmov     dl, 1                                                          ; +0x395, 0x14034a595\nmov     rcx, r15                                                       ; +0x397, 0x14034a597\ncall    cs:?create@CCParticleSystemQuad@cocos2d@@SAPEAV12@PEBD_N@Z; cocos2d::CCParticleSystemQuad::create(char const *,bool) ; +0x39a, 0x14034a59a\nmov     rdi, rax                                                       ; +0x3a0, 0x14034a5a0\nmov     rax, [rax]                                                     ; +0x3a3, 0x14034a5a3\nmov     edx, [rsp+100h+var_D0]                                         ; +0x3a6, 0x14034a5a6\nmov     rcx, rdi                                                       ; +0x3aa, 0x14034a5aa\ncall    qword ptr [rax+40h]                                            ; +0x3ad, 0x14034a5ad\nmov     rax, [rdi]                                                     ; +0x3b0, 0x14034a5b0\nmov     edx, [rbp+4Fh+var_CC]                                          ; +0x3b3, 0x14034a5b3\nmov     rcx, rdi                                                       ; +0x3b6, 0x14034a5b6\ncall    qword ptr [rax+5F8h]                                           ; +0x3b9, 0x14034a5b9\nmov     rcx, rdi                                                       ; +0x3bf, 0x14034a5bf\ncall    cs:?stopSystem@CCParticleSystem@cocos2d@@QEAAXXZ; cocos2d::CCParticleSystem::stopSystem(void) ; +0x3c2, 0x14034a5c2\nmov     rax, [rdi]                                                     ; +0x3c8, 0x14034a5c8\nxor     edx, edx                                                       ; +0x3cb, 0x14034a5cb\nmov     rcx, rdi                                                       ; +0x3cd, 0x14034a5cd\ncall    qword ptr [rax+150h]                                           ; +0x3d0, 0x14034a5d0\nmov     rdx, rdi                                                       ; +0x3d6, 0x14034a5d6\nmov     rcx, rsi                                                       ; +0x3d9, 0x14034a5d9\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x3dc, 0x14034a5dc\nnop                                                                    ; +0x3e2, 0x14034a5e2\nlea     rcx, [rbp+4Fh+Src]                                             ; +0x3e3, 0x14034a5e3\ncall    sub_14003D310                                                  ; +0x3e7, 0x14034a5e7\nmov     rax, rdi                                                       ; +0x3ec, 0x14034a5ec\nmov     rcx, [rbp+4Fh+var_48]                                          ; +0x3ef, 0x14034a5ef\nxor     rcx, rsp; StackCookie                                          ; +0x3f3, 0x14034a5f3\ncall    __security_check_cookie                                        ; +0x3f6, 0x14034a5f6\nadd     rsp, 0C8h                                                      ; +0x3fb, 0x14034a5fb\npop     r15                                                            ; +0x402, 0x14034a602\npop     r14                                                            ; +0x404, 0x14034a604\npop     r13                                                            ; +0x406, 0x14034a606\npop     r12                                                            ; +0x408, 0x14034a608\npop     rdi                                                            ; +0x40a, 0x14034a60a\npop     rsi                                                            ; +0x40b, 0x14034a60b\npop     rbx                                                            ; +0x40c, 0x14034a60c\npop     rbp                                                            ; +0x40d, 0x14034a60d\nretn                                                                   ; +0x40e, 0x14034a60e\ncall    sub_140009D90                                                  ; +0x40f, 0x14034a60f\ndb 90h                                                                 ; +0x414, 0x14034a614", "xrefs": ["GameObject::createAndAddParticle @ 0x140295c77", "<???> @ 0x14091ffe8"], "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"}