{"type": "func", "start": 5373562240, "end": 5373562535, "name": "ParticleGameObject::setRotationY", "pseudocode": "// \n// ParticleGameObject::setRotationY from 0x1404a0d80 to 0x1404a0ea7 (295 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x14060d570\n// > <???> @ 0x1406a7a20\n// > <???> @ 0x1406a7a54\n// > <???> @ 0x1406dc5b4\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\nvoid ParticleGameObject::setRotationY(ParticleGameObject *a1, float a2)\n{\n  unsigned int i; // edi\n  struct cocos2d::CCObject *v4; // rax\n  cocos2d::CCSprite *m_glowSprite; // rcx\n  cocos2d::CCSprite *m_colorSprite; // rcx\n  cocos2d::CCParticleSystemQuad *m_particle; // rcx\n  float v8; // xmm0_4\n\n  if ( a1->m_fRotationY != a2 )\n  {\n    *(_WORD *)&a1->m_isObjectRectDirty = 257;\n    a1->m_isDirty = 1;\n    cocos2d::CCSprite::setRotationY(a1, a2);\n    if ( a1->m_hasFollower )\n    {\n      for ( i = 0; i < cocos2d::CCArray::count(a1->m_followers); ++i )\n      {\n        v4 = cocos2d::CCArray::objectAtIndex(a1->m_followers, i);\n        v4->__vftable[5].~CCObject(v4);\n      }\n    }\n    m_glowSprite = a1->m_glowSprite;\n    if ( m_glowSprite )\n      ((void (__fastcall *)(cocos2d::CCSprite *))m_glowSprite->setRotationY)(m_glowSprite);\n    m_colorSprite = a1->m_colorSprite;\n    if ( m_colorSprite && !a1->m_colorSpriteLocked )\n      ((void (__fastcall *)(cocos2d::CCSprite *))m_colorSprite->setRotationY)(m_colorSprite);\n    m_particle = a1->m_particle;\n    if ( m_particle && !a1->m_particleLocked )\n      ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *))m_particle->setRotationY)(m_particle);\n  }\n  if ( a1->m_particleLocked )\n  {\n    v8 = a1->getRotation(a1);\n    ParticleGameObject::updateParticleAngle(a1, v8, a1->m_particle);\n  }\n}", "assembly": "; \n; ParticleGameObject::setRotationY from 0x1404a0d80 to 0x1404a0ea7 (295 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x14060d570\n; > <???> @ 0x1406a7a20\n; > <???> @ 0x1406a7a54\n; > <???> @ 0x1406dc5b4\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, 0x1404a0d80\nsub     rsp, 30h                                                       ; +0x2, 0x1404a0d82\nmovss   xmm0, dword ptr [rcx+3Ch]                                      ; +0x6, 0x1404a0d86\nmov     rbx, rcx                                                       ; +0xb, 0x1404a0d8b\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xe, 0x1404a0d8e\nmovaps  xmm6, xmm1                                                     ; +0x13, 0x1404a0d93\nucomiss xmm0, xmm6                                                     ; +0x16, 0x1404a0d96\njp      short loc_1404A0DA1                                            ; +0x19, 0x1404a0d99\njz      loc_1404A0E70                                                  ; +0x1b, 0x1404a0d9b\nmov     word ptr [rcx+368h], 101h                                      ; +0x21, 0x1404a0da1\nmov     byte ptr [rcx+350h], 1                                         ; +0x2a, 0x1404a0daa\ncall    cs:__imp_?setRotationY@CCSprite@cocos2d@@UEAAXM@Z; cocos2d::CCSprite::setRotationY(float) ; +0x31, 0x1404a0db1\ncmp     byte ptr [rbx+268h], 0                                         ; +0x37, 0x1404a0db7\njz      short loc_1404A0E16                                            ; +0x3e, 0x1404a0dbe\nmov     rcx, [rbx+258h]                                                ; +0x40, 0x1404a0dc0\nmov     [rsp+38h+arg_0], rdi                                           ; +0x47, 0x1404a0dc7\nxor     edi, edi                                                       ; +0x4c, 0x1404a0dcc\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4e, 0x1404a0dce\ntest    eax, eax                                                       ; +0x54, 0x1404a0dd4\njz      short loc_1404A0E11                                            ; +0x56, 0x1404a0dd6\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x58, 0x1404a0dd8\nmov     rcx, [rbx+258h]                                                ; +0x60, 0x1404a0de0\nmov     edx, edi                                                       ; +0x67, 0x1404a0de7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x69, 0x1404a0de9\nmovaps  xmm1, xmm6                                                     ; +0x6f, 0x1404a0def\nmov     rcx, rax                                                       ; +0x72, 0x1404a0df2\nmov     rdx, [rax]                                                     ; +0x75, 0x1404a0df5\ncall    qword ptr [rdx+170h]                                           ; +0x78, 0x1404a0df8\nmov     rcx, [rbx+258h]                                                ; +0x7e, 0x1404a0dfe\ninc     edi                                                            ; +0x85, 0x1404a0e05\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x87, 0x1404a0e07\ncmp     edi, eax                                                       ; +0x8d, 0x1404a0e0d\njb      short loc_1404A0DE0                                            ; +0x8f, 0x1404a0e0f\nmov     rdi, [rsp+38h+arg_0]                                           ; +0x91, 0x1404a0e11\nmov     rcx, [rbx+2F0h]                                                ; +0x96, 0x1404a0e16\ntest    rcx, rcx                                                       ; +0x9d, 0x1404a0e1d\njz      short loc_1404A0E2E                                            ; +0xa0, 0x1404a0e20\nmov     rax, [rcx]                                                     ; +0xa2, 0x1404a0e22\nmovaps  xmm1, xmm6                                                     ; +0xa5, 0x1404a0e25\ncall    qword ptr [rax+170h]                                           ; +0xa8, 0x1404a0e28\nmov     rcx, [rbx+380h]                                                ; +0xae, 0x1404a0e2e\ntest    rcx, rcx                                                       ; +0xb5, 0x1404a0e35\njz      short loc_1404A0E4F                                            ; +0xb8, 0x1404a0e38\ncmp     byte ptr [rbx+36Ah], 0                                         ; +0xba, 0x1404a0e3a\njnz     short loc_1404A0E4F                                            ; +0xc1, 0x1404a0e41\nmov     rax, [rcx]                                                     ; +0xc3, 0x1404a0e43\nmovaps  xmm1, xmm6                                                     ; +0xc6, 0x1404a0e46\ncall    qword ptr [rax+170h]                                           ; +0xc9, 0x1404a0e49\nmov     rcx, [rbx+308h]                                                ; +0xcf, 0x1404a0e4f\ntest    rcx, rcx                                                       ; +0xd6, 0x1404a0e56\njz      short loc_1404A0E70                                            ; +0xd9, 0x1404a0e59\ncmp     byte ptr [rbx+430h], 0                                         ; +0xdb, 0x1404a0e5b\njnz     short loc_1404A0E70                                            ; +0xe2, 0x1404a0e62\nmov     rax, [rcx]                                                     ; +0xe4, 0x1404a0e64\nmovaps  xmm1, xmm6                                                     ; +0xe7, 0x1404a0e67\ncall    qword ptr [rax+170h]                                           ; +0xea, 0x1404a0e6a\ncmp     byte ptr [rbx+430h], 0                                         ; +0xf0, 0x1404a0e70\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xf7, 0x1404a0e77\njz      short loc_1404A0EA1                                            ; +0xfc, 0x1404a0e7c\nmov     rax, [rbx]                                                     ; +0xfe, 0x1404a0e7e\nmov     rcx, rbx                                                       ; +0x101, 0x1404a0e81\ncall    qword ptr [rax+158h]                                           ; +0x104, 0x1404a0e84\nmov     r8, [rbx+308h]                                                 ; +0x10a, 0x1404a0e8a\nmov     rcx, rbx                                                       ; +0x111, 0x1404a0e91\nmovaps  xmm1, xmm0                                                     ; +0x114, 0x1404a0e94\nadd     rsp, 30h                                                       ; +0x117, 0x1404a0e97\npop     rbx                                                            ; +0x11b, 0x1404a0e9b\njmp     ParticleGameObject__updateParticleAngle                        ; +0x11c, 0x1404a0e9c\nadd     rsp, 30h                                                       ; +0x121, 0x1404a0ea1\npop     rbx                                                            ; +0x125, 0x1404a0ea5\nretn                                                                   ; +0x126, 0x1404a0ea6", "xrefs": ["<???> @ 0x14060d570", "<???> @ 0x1406a7a20", "<???> @ 0x1406a7a54", "<???> @ 0x1406dc5b4"], "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"}