{"type": "func", "start": 4298499744, "end": 4298499812, "name": "CCPartAnimSprite::setFlipX", "pseudocode": "// \n// CCPartAnimSprite::setFlipX from 0x10035e6a0 to 0x10035e6e4 (68 bytes)\n// \n// 1 xrefs:\n// > CCAnimatedSprite::switchToMode @ 0x10033c0c0\n// \n// This function is hookable on this platform (idp: pc, 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:28:55 +0000\n// \n\n__int64 __fastcall CCPartAnimSprite::setFlipX(unsigned __int8 *a1, unsigned __int8 a2)\n{\n  unsigned __int8 isFlipX; // al\n  __int64 result; // rax\n\n  isFlipX = cocos2d::CCSprite::isFlipX((__int64)a1);\n  if ( isFlipX != a2 )\n    (*(void (__fastcall **)(unsigned __int8 *, float))(*(_QWORD *)a1 + 128LL))(a1, (float)(isFlipX ^ 1u));\n  result = cocos2d::CCSprite::setFlipX(a1, a2);\n  a1[616] = 1;\n  return result;\n}", "assembly": "; \n; CCPartAnimSprite::setFlipX from 0x10035e6a0 to 0x10035e6e4 (68 bytes)\n; \n; 1 xrefs:\n; > CCAnimatedSprite::switchToMode @ 0x10033c0c0\n; \n; This function is hookable on this platform (idp: pc, 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:28:55 +0000\n; \npush    rbp                                                            ; +0x0, 0x10035e6a0\nmov     rbp, rsp                                                       ; +0x1, 0x10035e6a1\npush    r14                                                            ; +0x4, 0x10035e6a4\npush    rbx                                                            ; +0x6, 0x10035e6a6\nmov     r14d, esi                                                      ; +0x7, 0x10035e6a7\nmov     rbx, rdi                                                       ; +0xa, 0x10035e6aa\ncall    cocos2d__CCSprite__isFlipX                                     ; +0xd, 0x10035e6ad\ncmp     al, r14b                                                       ; +0x12, 0x10035e6b2\njz      short loc_10035E6CC                                            ; +0x15, 0x10035e6b5\nxor     al, 1                                                          ; +0x17, 0x10035e6b7\nmovzx   eax, al                                                        ; +0x19, 0x10035e6b9\ncvtsi2ss xmm0, eax                                                     ; +0x1c, 0x10035e6bc\nmov     rax, [rbx]                                                     ; +0x20, 0x10035e6c0\nmov     rdi, rbx                                                       ; +0x23, 0x10035e6c3\ncall    qword ptr [rax+80h]                                            ; +0x26, 0x10035e6c6\nmovzx   esi, r14b                                                      ; +0x2c, 0x10035e6cc\nmov     rdi, rbx                                                       ; +0x30, 0x10035e6d0\ncall    cocos2d__CCSprite__setFlipX                                    ; +0x33, 0x10035e6d3\nmov     byte ptr [rbx+268h], 1                                         ; +0x38, 0x10035e6d8\npop     rbx                                                            ; +0x3f, 0x10035e6df\npop     r14                                                            ; +0x40, 0x10035e6e0\npop     rbp                                                            ; +0x42, 0x10035e6e2\nretn                                                                   ; +0x43, 0x10035e6e3", "xrefs": ["CCAnimatedSprite::switchToMode @ 0x10033c0c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}