{"type": "func", "start": 5373561280, "end": 5373561667, "name": "ParticleGameObject::createParticlePreviewArt", "pseudocode": "// \n// ParticleGameObject::createParticlePreviewArt from 0x1404a09c0 to 0x1404a0b43 (387 bytes)\n// \n// 2 xrefs:\n// > GameObject::setupCustomSprites @ 0x1401bcf70\n// > <???> @ 0x1406dc554\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nvoid ParticleGameObject::createParticlePreviewArt(ParticleGameObject *a1)\n{\n  __int64 v2; // rax\n  struct cocos2d::CCSprite *v3; // rax\n  __int64 v4; // rax\n  struct cocos2d::CCSprite *v5; // rax\n  __int128 v6; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v7; // [rsp+30h] [rbp-18h]\n  __int64 v8; // [rsp+38h] [rbp-10h]\n  cocos2d::CCPoint v9; // [rsp+58h] [rbp+10h] BYREF\n\n  if ( !a1->getChildByTag(a1, 1) )\n  {\n    v6 = 0;\n    v7 = 0;\n    v8 = 15;\n    *(_QWORD *)&v6 = sub_14003AA10(0x20u);\n    v7 = 26;\n    v8 = 31;\n    strcpy((char *)v6, \"edit_eCParticleBtn_001.png\");\n    cocos2d::CCPoint::CCPoint(&v9);\n    v3 = GameObject::addCustomChild((__int64)a1, (const char *)&v6, v2, 1u);\n    v3->setTag(v3, 1);\n    v6 = 0;\n    v7 = 0;\n    v8 = 15;\n    *(_QWORD *)&v6 = sub_14003AA10(0x20u);\n    v7 = 31;\n    v8 = 31;\n    strcpy((char *)v6, \"edit_eParticleBtn_color_001.png\");\n    cocos2d::CCPoint::CCPoint(&v9);\n    v5 = GameObject::addInternalCustomColorChild((__int64)a1, (const char *)&v6, v4, 0xFFFFFFFF);\n    v5->setTag(v5, 1);\n  }\n}", "assembly": "; \n; ParticleGameObject::createParticlePreviewArt from 0x1404a09c0 to 0x1404a0b43 (387 bytes)\n; \n; 2 xrefs:\n; > GameObject::setupCustomSprites @ 0x1401bcf70\n; > <???> @ 0x1406dc554\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1404a09c0\nsub     rsp, 40h                                                       ; +0x2, 0x1404a09c2\nmov     rbx, rcx                                                       ; +0x6, 0x1404a09c6\nmov     rax, [rcx]                                                     ; +0x9, 0x1404a09c9\nmov     edx, 1                                                         ; +0xc, 0x1404a09cc\ncall    qword ptr [rax+1C8h]                                           ; +0x11, 0x1404a09d1\ntest    rax, rax                                                       ; +0x17, 0x1404a09d7\njnz     loc_1404A0B3D                                                  ; +0x1a, 0x1404a09da\nlea     rax, [rsp+48h+var_28]                                          ; +0x20, 0x1404a09e0\nmov     [rsp+48h+arg_0], rax                                           ; +0x25, 0x1404a09e5\nxorps   xmm0, xmm0                                                     ; +0x2a, 0x1404a09ea\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x2d, 0x1404a09ed\nmov     [rsp+48h+var_18], 0                                            ; +0x32, 0x1404a09f2\nmov     [rsp+48h+var_10], 0Fh                                          ; +0x3b, 0x1404a09fb\nmov     ecx, 20h ; ' '                                                 ; +0x44, 0x1404a0a04\ncall    sub_14003AA10                                                  ; +0x49, 0x1404a0a09\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x4e, 0x1404a0a0e\nmov     [rsp+48h+var_18], 1Ah                                          ; +0x53, 0x1404a0a13\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x5c, 0x1404a0a1c\nmovups  xmm0, xmmword ptr cs:aEditEcparticle; \"edit_eCParticleBtn_001.png\" ; +0x65, 0x1404a0a25\nmovups  xmmword ptr [rax], xmm0                                        ; +0x6c, 0x1404a0a2c\nmovsd   xmm0, qword ptr cs:aEditEcparticle+10h; \"tn_001.png\"           ; +0x6f, 0x1404a0a2f\nmovsd   qword ptr [rax+10h], xmm0                                      ; +0x77, 0x1404a0a37\nmovzx   ecx, word ptr cs:aEditEcparticle+18h; \"ng\"                     ; +0x7c, 0x1404a0a3c\nmov     [rax+18h], cx                                                  ; +0x83, 0x1404a0a43\nmov     byte ptr [rax+1Ah], 0                                          ; +0x87, 0x1404a0a47\nlea     rdx, stru_1406C2D40                                            ; +0x8b, 0x1404a0a4b\nlea     rcx, [rsp+48h+arg_8]                                           ; +0x92, 0x1404a0a52\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x97, 0x1404a0a57\nmov     r8, rax                                                        ; +0x9d, 0x1404a0a5d\nmov     r9d, 1                                                         ; +0xa0, 0x1404a0a60\nlea     rdx, [rsp+48h+var_28]                                          ; +0xa6, 0x1404a0a66\nmov     rcx, rbx                                                       ; +0xab, 0x1404a0a6b\ncall    GameObject__addCustomChild                                     ; +0xae, 0x1404a0a6e\nmov     r8, [rax]                                                      ; +0xb3, 0x1404a0a73\nmov     edx, 1                                                         ; +0xb6, 0x1404a0a76\nmov     rcx, rax                                                       ; +0xbb, 0x1404a0a7b\ncall    qword ptr [r8+40h]                                             ; +0xbe, 0x1404a0a7e\nlea     rax, [rsp+48h+var_28]                                          ; +0xc2, 0x1404a0a82\nmov     [rsp+48h+arg_0], rax                                           ; +0xc7, 0x1404a0a87\nxorps   xmm0, xmm0                                                     ; +0xcc, 0x1404a0a8c\nmovups  [rsp+48h+var_28], xmm0                                         ; +0xcf, 0x1404a0a8f\nmov     [rsp+48h+var_18], 0                                            ; +0xd4, 0x1404a0a94\nmov     [rsp+48h+var_10], 0Fh                                          ; +0xdd, 0x1404a0a9d\nmov     ecx, 20h ; ' '                                                 ; +0xe6, 0x1404a0aa6\ncall    sub_14003AA10                                                  ; +0xeb, 0x1404a0aab\nmov     r8, rax                                                        ; +0xf0, 0x1404a0ab0\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0xf3, 0x1404a0ab3\nmov     [rsp+48h+var_18], 1Fh                                          ; +0xf8, 0x1404a0ab8\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x101, 0x1404a0ac1\nmovups  xmm0, cs:xmmword_14061FED0                                     ; +0x10a, 0x1404a0aca\nmovups  xmmword ptr [rax], xmm0                                        ; +0x111, 0x1404a0ad1\nmovsd   xmm0, cs:qword_14061FEE0                                       ; +0x114, 0x1404a0ad4\nmovsd   qword ptr [rax+10h], xmm0                                      ; +0x11c, 0x1404a0adc\nmov     ecx, cs:dword_14061FEE8                                        ; +0x121, 0x1404a0ae1\nmov     [rax+18h], ecx                                                 ; +0x127, 0x1404a0ae7\nmovzx   eax, cs:word_14061FEEC                                         ; +0x12a, 0x1404a0aea\nmov     [r8+1Ch], ax                                                   ; +0x131, 0x1404a0af1\nmovzx   eax, cs:byte_14061FEEE                                         ; +0x136, 0x1404a0af6\nmov     [r8+1Eh], al                                                   ; +0x13d, 0x1404a0afd\nmov     byte ptr [r8+1Fh], 0                                           ; +0x141, 0x1404a0b01\nlea     rdx, stru_1406C2D40                                            ; +0x146, 0x1404a0b06\nlea     rcx, [rsp+48h+arg_8]                                           ; +0x14d, 0x1404a0b0d\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x152, 0x1404a0b12\nmov     r8, rax                                                        ; +0x158, 0x1404a0b18\nmov     r9d, 0FFFFFFFFh                                                ; +0x15b, 0x1404a0b1b\nlea     rdx, [rsp+48h+var_28]                                          ; +0x161, 0x1404a0b21\nmov     rcx, rbx                                                       ; +0x166, 0x1404a0b26\ncall    GameObject__addInternalCustomColorChild                        ; +0x169, 0x1404a0b29\nmov     r8, [rax]                                                      ; +0x16e, 0x1404a0b2e\nmov     edx, 1                                                         ; +0x171, 0x1404a0b31\nmov     rcx, rax                                                       ; +0x176, 0x1404a0b36\ncall    qword ptr [r8+40h]                                             ; +0x179, 0x1404a0b39\nadd     rsp, 40h                                                       ; +0x17d, 0x1404a0b3d\npop     rbx                                                            ; +0x181, 0x1404a0b41\nretn                                                                   ; +0x182, 0x1404a0b42", "xrefs": ["GameObject::setupCustomSprites @ 0x1401bcf70", "<???> @ 0x1406dc554"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}