{"type": "func", "start": 6891848, "end": 6891940, "name": "CCPartAnimSprite::setFlipX", "pseudocode": "// \n// CCPartAnimSprite::setFlipX from 0x692948 to 0x6929a4 (92 bytes)\n// \n// 2 xrefs:\n// > CCAnimatedSprite::switchToMode @ 0x68c834\n// > <???> @ 0xa3d38\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:50:36 +0000\n// \n\n__int64 __fastcall CCPartAnimSprite::setFlipX(CCPartAnimSprite *this, unsigned __int8 a2)\n{\n  int v2; // w20\n  unsigned __int8 isFlipX; // w0\n\n  v2 = a2;\n  isFlipX = cocos2d::CCSprite::isFlipX(this);\n  if ( isFlipX != v2 )\n    (*(void (__fastcall **)(CCPartAnimSprite *, float))(*(_QWORD *)this + 128LL))(this, (float)(isFlipX ^ 1u));\n  cocos2d::CCSprite::setFlipX(this, v2);\n  *((_BYTE *)this + 616) = 1;\n  return 1;\n}", "assembly": "; \n; CCPartAnimSprite::setFlipX from 0x692948 to 0x6929a4 (92 bytes)\n; \n; 2 xrefs:\n; > CCAnimatedSprite::switchToMode @ 0x68c834\n; > <???> @ 0xa3d38\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:50:36 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x692948\nMOV             X29, SP                                                ; +0x4, 0x69294c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x692950\nUXTB            W20, W1                                                ; +0xc, 0x692954\nMOV             X19, X0                                                ; +0x10, 0x692958\nBL              _ZN7cocos2d8CCSprite7isFlipXEv; cocos2d::CCSprite::isFlipX(void) ; +0x14, 0x69295c\nUXTB            W0, W0                                                 ; +0x18, 0x692960\nCMP             W0, W20                                                ; +0x1c, 0x692964\nB.EQ            loc_692984                                             ; +0x20, 0x692968\nEOR             W2, W0, #1                                             ; +0x24, 0x69296c\nLDR             X1, [X19]                                              ; +0x28, 0x692970\nMOV             X0, X19                                                ; +0x2c, 0x692974\nUCVTF           S0, W2                                                 ; +0x30, 0x692978\nLDR             X1, [X1,#0x80]                                         ; +0x34, 0x69297c\nBLR             X1                                                     ; +0x38, 0x692980\nMOV             X0, X19; this                                          ; +0x3c, 0x692984\nMOV             W1, W20; bool                                          ; +0x40, 0x692988\nBL              _ZN7cocos2d8CCSprite8setFlipXEb; cocos2d::CCSprite::setFlipX(bool) ; +0x44, 0x69298c\nMOV             W0, #1                                                 ; +0x48, 0x692990\nSTRB            W0, [X19,#0x268]                                       ; +0x4c, 0x692994\nLDP             X19, X20, [SP,#var_s10]                                ; +0x50, 0x692998\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x54, 0x69299c\nRET                                                                    ; +0x58, 0x6929a0", "xrefs": ["CCAnimatedSprite::switchToMode @ 0x68c834", "<???> @ 0xa3d38"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}