{"type": "func", "start": 3043316, "end": 3043384, "name": "CCPartAnimSprite::setFlipY", "pseudocode": "// \n// CCPartAnimSprite::setFlipY from 0x2e6ff4 to 0x2e7038 (68 bytes)\n// \n// 0 xrefs:\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  float v4; // r1\n\n  if ( (float)cocos2d::CCSprite::isFlipY(a1) == 0.0 )\n    v4 = 1.0;\n  else\n    v4 = 0.0;\n  ((void (__fastcall *)(CCPartAnimSprite *, _DWORD))a1->setScaleY)(a1, LODWORD(v4));\n  cocos2d::CCSprite::setFlipY(a1, a2);\n  a1->m_hasChanged = 1;\n}", "assembly": "; \n; CCPartAnimSprite::setFlipY from 0x2e6ff4 to 0x2e7038 (68 bytes)\n; \n; 0 xrefs:\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            {R3-R5,LR}                                             ; +0x0, 0x2e6ff4\nMOV             R4, R0                                                 ; +0x2, 0x2e6ff6\nMOV             R5, R1                                                 ; +0x4, 0x2e6ff8\nBL              _ZN7cocos2d8CCSprite7isFlipYEv; cocos2d::CCSprite::isFlipY(void) ; +0x6, 0x2e6ffa\nLDR             R3, [R4]                                               ; +0xa, 0x2e6ffe\nLDR             R3, [R3,#0x48]                                         ; +0xc, 0x2e7000\nVMOV            S15, R0                                                ; +0xe, 0x2e7002\nMOV             R0, R4                                                 ; +0x12, 0x2e7006\nVCVT.F32.U32    S14, S15                                               ; +0x14, 0x2e7008\nVLDR            S15, =0.0                                              ; +0x18, 0x2e700c\nVCMP.F32        S14, S15                                               ; +0x1c, 0x2e7010\nVMOV.F32        S14, #1.0                                              ; +0x20, 0x2e7014\nVMRS            APSR_nzcv, FPSCR                                       ; +0x24, 0x2e7018\nITE NE                                                                 ; +0x28, 0x2e701c\nVMOVNE          R1, S15                                                ; +0x2a, 0x2e701e\nVMOVEQ          R1, S14                                                ; +0x2e, 0x2e7022\nBLX             R3                                                     ; +0x32, 0x2e7026\nMOV             R0, R4; this                                           ; +0x34, 0x2e7028\nMOV             R1, R5; bool                                           ; +0x36, 0x2e702a\nBL              _ZN7cocos2d8CCSprite8setFlipYEb; cocos2d::CCSprite::setFlipY(bool) ; +0x38, 0x2e702c\nMOVS            R3, #1                                                 ; +0x3c, 0x2e7030\nSTRB.W          R3, [R4,#0x204]                                        ; +0x3e, 0x2e7032\nPOP             {R3-R5,PC}                                             ; +0x42, 0x2e7036", "xrefs": [], "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"}