{"type": "func", "start": 4300980400, "end": 4300980559, "name": "GameObject::setRotationY", "pseudocode": "// \n// GameObject::setRotationY from 0x1005bc0b0 to 0x1005bc14f (159 bytes)\n// \n// 47 xrefs:\n// > ParticleGameObject::setRotationY @ 0x1001b2789\n// > <???> @ 0x1008c41e0\n// > <???> @ 0x1008c4a18\n// > <???> @ 0x1008c5210\n// > <???> @ 0x1008c5a08\n// > <???> @ 0x1008c6200\n// > <???> @ 0x1008c69f8\n// > <???> @ 0x1008c71f0\n// > <???> @ 0x1008c79e8\n// > <???> @ 0x1008c89e0\n// > <???> @ 0x1008c9258\n// > <???> @ 0x1008c9a68\n// > <???> @ 0x1008ca278\n// > <???> @ 0x1008caa88\n// > <???> @ 0x1008cb298\n// > <???> @ 0x1008cbaa8\n// > <???> @ 0x1008cc2b8\n// > <???> @ 0x1008ccac8\n// > <???> @ 0x1008cd2d8\n// > <???> @ 0x1008cdae8\n// > <???> @ 0x1008ce310\n// > <???> @ 0x1008ceb68\n// > <???> @ 0x1008cf390\n// > <???> @ 0x1008cfbb8\n// > <???> @ 0x1008d03e0\n// > <???> @ 0x1008d0c08\n// > <???> @ 0x1008d1418\n// > <???> @ 0x1008d1c28\n// > <???> @ 0x1008d2438\n// > <???> @ 0x1008d2c48\n// > <???> @ 0x1008d3458\n// > <???> @ 0x1008d3c68\n// > <???> @ 0x1008d4478\n// > <???> @ 0x1008d4c88\n// > <???> @ 0x1008d5498\n// > <???> @ 0x1008d5ca8\n// > <???> @ 0x1008d64b8\n// > <???> @ 0x1008d6cc8\n// > <???> @ 0x1008d74d8\n// > <???> @ 0x1008d7ce8\n// > <???> @ 0x1008d84f8\n// > <???> @ 0x1008d8d08\n// > <???> @ 0x1009234b0\n// > <???> @ 0x100933878\n// > <???> @ 0x100971560\n// > <???> @ 0x100971d48\n// > <???> @ 0x100972558\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 __fastcall GameObject::setRotationY(GameObject *a1, float a2)\n{\n  cocos2d::CCSprite *m_glowSprite; // rdi\n  cocos2d::CCSprite *m_colorSprite; // rdi\n  cocos2d::CCParticleSystemQuad *m_particle; // rdi\n\n  if ( a1->m_fRotationY != a2 )\n  {\n    *(_WORD *)&a1->m_isObjectRectDirty = 257;\n    a1->m_isDirty = 1;\n    CCSpritePlus::setRotationY(a1, a2);\n    m_glowSprite = a1->m_glowSprite;\n    if ( m_glowSprite )\n      ((void (__fastcall *)(cocos2d::CCSprite *, float))m_glowSprite->setRotationY)(m_glowSprite, a2);\n    m_colorSprite = a1->m_colorSprite;\n    if ( m_colorSprite && !a1->m_colorSpriteLocked )\n      ((void (__fastcall *)(cocos2d::CCSprite *, float))m_colorSprite->setRotationY)(m_colorSprite, a2);\n    m_particle = a1->m_particle;\n    if ( m_particle )\n    {\n      if ( !a1->m_particleLocked )\n        ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, float))m_particle->setRotationY)(m_particle, a2);\n    }\n  }\n}", "assembly": "; \n; GameObject::setRotationY from 0x1005bc0b0 to 0x1005bc14f (159 bytes)\n; \n; 47 xrefs:\n; > ParticleGameObject::setRotationY @ 0x1001b2789\n; > <???> @ 0x1008c41e0\n; > <???> @ 0x1008c4a18\n; > <???> @ 0x1008c5210\n; > <???> @ 0x1008c5a08\n; > <???> @ 0x1008c6200\n; > <???> @ 0x1008c69f8\n; > <???> @ 0x1008c71f0\n; > <???> @ 0x1008c79e8\n; > <???> @ 0x1008c89e0\n; > <???> @ 0x1008c9258\n; > <???> @ 0x1008c9a68\n; > <???> @ 0x1008ca278\n; > <???> @ 0x1008caa88\n; > <???> @ 0x1008cb298\n; > <???> @ 0x1008cbaa8\n; > <???> @ 0x1008cc2b8\n; > <???> @ 0x1008ccac8\n; > <???> @ 0x1008cd2d8\n; > <???> @ 0x1008cdae8\n; > <???> @ 0x1008ce310\n; > <???> @ 0x1008ceb68\n; > <???> @ 0x1008cf390\n; > <???> @ 0x1008cfbb8\n; > <???> @ 0x1008d03e0\n; > <???> @ 0x1008d0c08\n; > <???> @ 0x1008d1418\n; > <???> @ 0x1008d1c28\n; > <???> @ 0x1008d2438\n; > <???> @ 0x1008d2c48\n; > <???> @ 0x1008d3458\n; > <???> @ 0x1008d3c68\n; > <???> @ 0x1008d4478\n; > <???> @ 0x1008d4c88\n; > <???> @ 0x1008d5498\n; > <???> @ 0x1008d5ca8\n; > <???> @ 0x1008d64b8\n; > <???> @ 0x1008d6cc8\n; > <???> @ 0x1008d74d8\n; > <???> @ 0x1008d7ce8\n; > <???> @ 0x1008d84f8\n; > <???> @ 0x1008d8d08\n; > <???> @ 0x1009234b0\n; > <???> @ 0x100933878\n; > <???> @ 0x100971560\n; > <???> @ 0x100971d48\n; > <???> @ 0x100972558\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    rbp                                                            ; +0x0, 0x1005bc0b0\nmov     rbp, rsp                                                       ; +0x1, 0x1005bc0b1\npush    rbx                                                            ; +0x4, 0x1005bc0b4\npush    rax                                                            ; +0x5, 0x1005bc0b5\nmovss   xmm1, dword ptr [rdi+3Ch]                                      ; +0x6, 0x1005bc0b6\nucomiss xmm1, xmm0                                                     ; +0xb, 0x1005bc0bb\njnz     short loc_1005BC0C9                                            ; +0xe, 0x1005bc0be\njp      short loc_1005BC0C9                                            ; +0x10, 0x1005bc0c0\nadd     rsp, 8                                                         ; +0x12, 0x1005bc0c2\npop     rbx                                                            ; +0x16, 0x1005bc0c6\npop     rbp                                                            ; +0x17, 0x1005bc0c7\nretn                                                                   ; +0x18, 0x1005bc0c8\nmov     rbx, rdi                                                       ; +0x19, 0x1005bc0c9\nmov     word ptr [rdi+360h], 101h                                      ; +0x1c, 0x1005bc0cc\nmov     byte ptr [rdi+348h], 1                                         ; +0x25, 0x1005bc0d5\nmovss   [rbp+var_C], xmm0                                              ; +0x2c, 0x1005bc0dc\ncall    CCSpritePlus__setRotationY                                     ; +0x31, 0x1005bc0e1\nmov     rdi, [rbx+2F0h]                                                ; +0x36, 0x1005bc0e6\ntest    rdi, rdi                                                       ; +0x3d, 0x1005bc0ed\njz      short loc_1005BC100                                            ; +0x40, 0x1005bc0f0\nmov     rax, [rdi]                                                     ; +0x42, 0x1005bc0f2\nmovss   xmm0, [rbp+var_C]                                              ; +0x45, 0x1005bc0f5\ncall    qword ptr [rax+178h]                                           ; +0x4a, 0x1005bc0fa\nmov     rdi, [rbx+378h]                                                ; +0x50, 0x1005bc100\ntest    rdi, rdi                                                       ; +0x57, 0x1005bc107\njz      short loc_1005BC123                                            ; +0x5a, 0x1005bc10a\ncmp     byte ptr [rbx+362h], 0                                         ; +0x5c, 0x1005bc10c\njnz     short loc_1005BC123                                            ; +0x63, 0x1005bc113\nmov     rax, [rdi]                                                     ; +0x65, 0x1005bc115\nmovss   xmm0, [rbp+var_C]                                              ; +0x68, 0x1005bc118\ncall    qword ptr [rax+178h]                                           ; +0x6d, 0x1005bc11d\nmov     rdi, [rbx+308h]                                                ; +0x73, 0x1005bc123\ntest    rdi, rdi                                                       ; +0x7a, 0x1005bc12a\nmovss   xmm0, [rbp+var_C]                                              ; +0x7d, 0x1005bc12d\njz      short loc_1005BC0C2                                            ; +0x82, 0x1005bc132\ncmp     byte ptr [rbx+428h], 0                                         ; +0x84, 0x1005bc134\njnz     short loc_1005BC0C2                                            ; +0x8b, 0x1005bc13b\nmov     rax, [rdi]                                                     ; +0x8d, 0x1005bc13d\nmov     rax, [rax+178h]                                                ; +0x90, 0x1005bc140\nadd     rsp, 8                                                         ; +0x97, 0x1005bc147\npop     rbx                                                            ; +0x9b, 0x1005bc14b\npop     rbp                                                            ; +0x9c, 0x1005bc14c\njmp     rax                                                            ; +0x9d, 0x1005bc14d", "xrefs": ["ParticleGameObject::setRotationY @ 0x1001b2789", "<???> @ 0x1008c41e0", "<???> @ 0x1008c4a18", "<???> @ 0x1008c5210", "<???> @ 0x1008c5a08", "<???> @ 0x1008c6200", "<???> @ 0x1008c69f8", "<???> @ 0x1008c71f0", "<???> @ 0x1008c79e8", "<???> @ 0x1008c89e0", "<???> @ 0x1008c9258", "<???> @ 0x1008c9a68", "<???> @ 0x1008ca278", "<???> @ 0x1008caa88", "<???> @ 0x1008cb298", "<???> @ 0x1008cbaa8", "<???> @ 0x1008cc2b8", "<???> @ 0x1008ccac8", "<???> @ 0x1008cd2d8", "<???> @ 0x1008cdae8", "<???> @ 0x1008ce310", "<???> @ 0x1008ceb68", "<???> @ 0x1008cf390", "<???> @ 0x1008cfbb8", "<???> @ 0x1008d03e0", "<???> @ 0x1008d0c08", "<???> @ 0x1008d1418", "<???> @ 0x1008d1c28", "<???> @ 0x1008d2438", "<???> @ 0x1008d2c48", "<???> @ 0x1008d3458", "<???> @ 0x1008d3c68", "<???> @ 0x1008d4478", "<???> @ 0x1008d4c88", "<???> @ 0x1008d5498", "<???> @ 0x1008d5ca8", "<???> @ 0x1008d64b8", "<???> @ 0x1008d6cc8", "<???> @ 0x1008d74d8", "<???> @ 0x1008d7ce8", "<???> @ 0x1008d84f8", "<???> @ 0x1008d8d08", "<???> @ 0x1009234b0", "<???> @ 0x100933878", "<???> @ 0x100971560", "<???> @ 0x100971d48", "<???> @ 0x100972558"], "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"}