{"type": "func", "start": 5730568, "end": 5730668, "name": "CCPartAnimSprite::setFlipY", "pseudocode": "// \n// CCPartAnimSprite::setFlipY from 0x577108 to 0x57716c (100 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x47358\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 CCPartAnimSprite::setFlipY(CCPartAnimSprite *a1, bool a2)\n{\n  long double v4; // q0\n\n  if ( (float)cocos2d::CCSprite::isFlipY(a1) == 0.0 )\n    LODWORD(v4) = 1.0;\n  else\n    LODWORD(v4) = 0;\n  a1->setScaleY(a1, v4);\n  cocos2d::CCSprite::setFlipY(a1, a2);\n  a1->m_hasChanged = 1;\n}", "assembly": "; \n; CCPartAnimSprite::setFlipY from 0x577108 to 0x57716c (100 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x47358\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             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x577108\nMOV             X29, SP                                                ; +0x4, 0x57710c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x577110\nMOV             X19, X0                                                ; +0xc, 0x577114\nUXTB            W20, W1                                                ; +0x10, 0x577118\nBL              _ZN7cocos2d8CCSprite7isFlipYEv; cocos2d::CCSprite::isFlipY(void) ; +0x14, 0x57711c\nUXTB            W0, W0                                                 ; +0x18, 0x577120\nUCVTF           S0, W0                                                 ; +0x1c, 0x577124\nLDR             X0, [X19]                                              ; +0x20, 0x577128\nLDR             X1, [X0,#0x90]                                         ; +0x24, 0x57712c\nFCMP            S0, #0.0                                               ; +0x28, 0x577130\nB.EQ            loc_577164                                             ; +0x2c, 0x577134\nFMOV            S0, WZR                                                ; +0x30, 0x577138\nMOV             X0, X19                                                ; +0x34, 0x57713c\nBLR             X1                                                     ; +0x38, 0x577140\nMOV             X0, X19; this                                          ; +0x3c, 0x577144\nMOV             W1, W20; bool                                          ; +0x40, 0x577148\nBL              _ZN7cocos2d8CCSprite8setFlipYEb; cocos2d::CCSprite::setFlipY(bool) ; +0x44, 0x57714c\nMOV             W0, #1                                                 ; +0x48, 0x577150\nSTRB            W0, [X19,#0x268]                                       ; +0x4c, 0x577154\nLDP             X19, X20, [SP,#var_s10]                                ; +0x50, 0x577158\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x54, 0x57715c\nRET                                                                    ; +0x58, 0x577160\nFMOV            S0, #1.0                                               ; +0x5c, 0x577164\nB               loc_57713C                                             ; +0x60, 0x577168", "xrefs": ["<???> @ 0x47358"], "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"}