{"type": "func", "start": 4297438164, "end": 4297438368, "name": "GameObject::setRotationX", "pseudocode": "// \n// GameObject::setRotationX from 0x10025b3d4 to 0x10025b4a0 (204 bytes)\n// \n// 47 xrefs:\n// > ParticleGameObject::setRotationX @ 0x100381978\n// > <???> @ 0x1007c3d20\n// > <???> @ 0x1007cf9f0\n// > <???> @ 0x1007d01d8\n// > <???> @ 0x1007d09e8\n// > <???> @ 0x1007f5258\n// > <???> @ 0x1007f5a90\n// > <???> @ 0x1007f6288\n// > <???> @ 0x1007f6a80\n// > <???> @ 0x1007f7278\n// > <???> @ 0x1007f7a70\n// > <???> @ 0x1007f8268\n// > <???> @ 0x1007f8a60\n// > <???> @ 0x1007f9a58\n// > <???> @ 0x1007fa2c0\n// > <???> @ 0x1007faad0\n// > <???> @ 0x1007fb2e0\n// > <???> @ 0x1007fbaf0\n// > <???> @ 0x1007fc300\n// > <???> @ 0x1007fcb10\n// > <???> @ 0x1007fd320\n// > <???> @ 0x1007fdb30\n// > <???> @ 0x1007fe340\n// > <???> @ 0x1007feb50\n// > <???> @ 0x1007ff378\n// > <???> @ 0x1007ffbd0\n// > <???> @ 0x1008003f8\n// > <???> @ 0x100800c20\n// > <???> @ 0x100801448\n// > <???> @ 0x100801c70\n// > <???> @ 0x100802480\n// > <???> @ 0x100802c90\n// > <???> @ 0x1008034a0\n// > <???> @ 0x100803cb0\n// > <???> @ 0x1008044c0\n// > <???> @ 0x100804cd0\n// > <???> @ 0x1008054e0\n// > <???> @ 0x100805cf0\n// > <???> @ 0x100806500\n// > <???> @ 0x100806d10\n// > <???> @ 0x100807520\n// > <???> @ 0x100807d30\n// > <???> @ 0x100808540\n// > <???> @ 0x100808d50\n// > <???> @ 0x100809560\n// > <???> @ 0x100809d70\n// > <???> @ 0x100816090\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::setRotationX(GameObject *a1, float a2)\n{\n  cocos2d::CCSprite *m_glowSprite; // x0\n  cocos2d::CCSprite *m_colorSprite; // x0\n  cocos2d::CCParticleSystemQuad *m_particle; // x0\n\n  if ( a1->m_fRotationX != a2 )\n  {\n    *(_WORD *)&a1->m_isObjectRectDirty = 257;\n    a1->m_isDirty = 1;\n    CCSpritePlus::setRotationX(a1, a2);\n    m_glowSprite = a1->m_glowSprite;\n    if ( m_glowSprite )\n      ((void (__fastcall *)(cocos2d::CCSprite *, float))m_glowSprite->setRotationX)(m_glowSprite, a2);\n    m_colorSprite = a1->m_colorSprite;\n    if ( m_colorSprite && !a1->m_colorSpriteLocked )\n      ((void (__fastcall *)(cocos2d::CCSprite *, float))m_colorSprite->setRotationX)(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->setRotationX)(m_particle, a2);\n    }\n    a1->m_isRotationAligned = vmaxv_u16((uint16x4_t)vmovn_s32(\n                                                      vceqq_f32(\n                                                        vld1q_dup_f32(&a1->m_fRotationX),\n                                                        (float32x4_t)xmmword_100642870)))\n                            & 1;\n  }\n}", "assembly": "; \n; GameObject::setRotationX from 0x10025b3d4 to 0x10025b4a0 (204 bytes)\n; \n; 47 xrefs:\n; > ParticleGameObject::setRotationX @ 0x100381978\n; > <???> @ 0x1007c3d20\n; > <???> @ 0x1007cf9f0\n; > <???> @ 0x1007d01d8\n; > <???> @ 0x1007d09e8\n; > <???> @ 0x1007f5258\n; > <???> @ 0x1007f5a90\n; > <???> @ 0x1007f6288\n; > <???> @ 0x1007f6a80\n; > <???> @ 0x1007f7278\n; > <???> @ 0x1007f7a70\n; > <???> @ 0x1007f8268\n; > <???> @ 0x1007f8a60\n; > <???> @ 0x1007f9a58\n; > <???> @ 0x1007fa2c0\n; > <???> @ 0x1007faad0\n; > <???> @ 0x1007fb2e0\n; > <???> @ 0x1007fbaf0\n; > <???> @ 0x1007fc300\n; > <???> @ 0x1007fcb10\n; > <???> @ 0x1007fd320\n; > <???> @ 0x1007fdb30\n; > <???> @ 0x1007fe340\n; > <???> @ 0x1007feb50\n; > <???> @ 0x1007ff378\n; > <???> @ 0x1007ffbd0\n; > <???> @ 0x1008003f8\n; > <???> @ 0x100800c20\n; > <???> @ 0x100801448\n; > <???> @ 0x100801c70\n; > <???> @ 0x100802480\n; > <???> @ 0x100802c90\n; > <???> @ 0x1008034a0\n; > <???> @ 0x100803cb0\n; > <???> @ 0x1008044c0\n; > <???> @ 0x100804cd0\n; > <???> @ 0x1008054e0\n; > <???> @ 0x100805cf0\n; > <???> @ 0x100806500\n; > <???> @ 0x100806d10\n; > <???> @ 0x100807520\n; > <???> @ 0x100807d30\n; > <???> @ 0x100808540\n; > <???> @ 0x100808d50\n; > <???> @ 0x100809560\n; > <???> @ 0x100809d70\n; > <???> @ 0x100816090\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\nSTP             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x10025b3d4\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10025b3d8\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10025b3dc\nADD             X29, SP, #0x20                                         ; +0xc, 0x10025b3e0\nFMOV            S8, S0                                                 ; +0x10, 0x10025b3e4\nLDR             S0, [X0,#0x38]                                         ; +0x14, 0x10025b3e8\nFCMP            S0, S8                                                 ; +0x18, 0x10025b3ec\nB.EQ            loc_10025B490                                          ; +0x1c, 0x10025b3f0\nMOV             X19, X0                                                ; +0x20, 0x10025b3f4\nMOV             W8, #0x101                                             ; +0x24, 0x10025b3f8\nSTRH            W8, [X0,#0x360]                                        ; +0x28, 0x10025b3fc\nMOV             W8, #1                                                 ; +0x2c, 0x10025b400\nSTRB            W8, [X0,#0x348]                                        ; +0x30, 0x10025b404\nFMOV            S0, S8                                                 ; +0x34, 0x10025b408\nBL              CCSpritePlus__setRotationX                             ; +0x38, 0x10025b40c\nLDR             X0, [X19,#0x2F0]                                       ; +0x3c, 0x10025b410\nCBZ             X0, loc_10025B428                                      ; +0x40, 0x10025b414\nLDR             X8, [X0]                                               ; +0x44, 0x10025b418\nLDR             X8, [X8,#0x168]                                        ; +0x48, 0x10025b41c\nFMOV            S0, S8                                                 ; +0x4c, 0x10025b420\nBLR             X8                                                     ; +0x50, 0x10025b424\nLDR             X0, [X19,#0x378]                                       ; +0x54, 0x10025b428\nCBZ             X0, loc_10025B448                                      ; +0x58, 0x10025b42c\nLDRB            W8, [X19,#0x362]                                       ; +0x5c, 0x10025b430\nTBNZ            W8, #0, loc_10025B448                                  ; +0x60, 0x10025b434\nLDR             X8, [X0]                                               ; +0x64, 0x10025b438\nLDR             X8, [X8,#0x168]                                        ; +0x68, 0x10025b43c\nFMOV            S0, S8                                                 ; +0x6c, 0x10025b440\nBLR             X8                                                     ; +0x70, 0x10025b444\nLDR             X0, [X19,#0x308]                                       ; +0x74, 0x10025b448\nCBZ             X0, loc_10025B468                                      ; +0x78, 0x10025b44c\nLDRB            W8, [X19,#0x428]                                       ; +0x7c, 0x10025b450\nTBNZ            W8, #0, loc_10025B468                                  ; +0x80, 0x10025b454\nLDR             X8, [X0]                                               ; +0x84, 0x10025b458\nLDR             X8, [X8,#0x168]                                        ; +0x88, 0x10025b45c\nFMOV            S0, S8                                                 ; +0x8c, 0x10025b460\nBLR             X8                                                     ; +0x90, 0x10025b464\nADD             X8, X19, #0x38 ; '8'                                   ; +0x94, 0x10025b468\nLD1R            {V0.4S}, [X8]                                          ; +0x98, 0x10025b46c\nADRP            X8, #xmmword_100642870@PAGE                            ; +0x9c, 0x10025b470\nLDR             Q1, [X8,#xmmword_100642870@PAGEOFF]                    ; +0xa0, 0x10025b474\nFCMEQ           V0.4S, V0.4S, V1.4S                                    ; +0xa4, 0x10025b478\nXTN             V0.4H, V0.4S                                           ; +0xa8, 0x10025b47c\nUMAXV           H0, V0.4H                                              ; +0xac, 0x10025b480\nFMOV            W8, S0                                                 ; +0xb0, 0x10025b484\nAND             W8, W8, #1                                             ; +0xb4, 0x10025b488\nSTRB            W8, [X19,#0x388]                                       ; +0xb8, 0x10025b48c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xbc, 0x10025b490\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xc0, 0x10025b494\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0xc4, 0x10025b498\nRET                                                                    ; +0xc8, 0x10025b49c", "xrefs": ["ParticleGameObject::setRotationX @ 0x100381978", "<???> @ 0x1007c3d20", "<???> @ 0x1007cf9f0", "<???> @ 0x1007d01d8", "<???> @ 0x1007d09e8", "<???> @ 0x1007f5258", "<???> @ 0x1007f5a90", "<???> @ 0x1007f6288", "<???> @ 0x1007f6a80", "<???> @ 0x1007f7278", "<???> @ 0x1007f7a70", "<???> @ 0x1007f8268", "<???> @ 0x1007f8a60", "<???> @ 0x1007f9a58", "<???> @ 0x1007fa2c0", "<???> @ 0x1007faad0", "<???> @ 0x1007fb2e0", "<???> @ 0x1007fbaf0", "<???> @ 0x1007fc300", "<???> @ 0x1007fcb10", "<???> @ 0x1007fd320", "<???> @ 0x1007fdb30", "<???> @ 0x1007fe340", "<???> @ 0x1007feb50", "<???> @ 0x1007ff378", "<???> @ 0x1007ffbd0", "<???> @ 0x1008003f8", "<???> @ 0x100800c20", "<???> @ 0x100801448", "<???> @ 0x100801c70", "<???> @ 0x100802480", "<???> @ 0x100802c90", "<???> @ 0x1008034a0", "<???> @ 0x100803cb0", "<???> @ 0x1008044c0", "<???> @ 0x100804cd0", "<???> @ 0x1008054e0", "<???> @ 0x100805cf0", "<???> @ 0x100806500", "<???> @ 0x100806d10", "<???> @ 0x100807520", "<???> @ 0x100807d30", "<???> @ 0x100808540", "<???> @ 0x100808d50", "<???> @ 0x100809560", "<???> @ 0x100809d70", "<???> @ 0x100816090"], "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"}