// // CCSpritePlus::setFlipX from 0x100476720 to 0x1004767e7 (199 bytes) // // 3 xrefs: // > @ 0x100b26420 // > @ 0x100b46cb8 // > @ 0x100ba7218 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:30:35 +0000 // __int64 __fastcall CCSpritePlus::setFlipX(__int64 a1, unsigned __int8 a2) { __int64 result; // rax __int64 v4; // rdi unsigned int v5; // r15d unsigned __int8 *v6; // rax unsigned int v7; // r15d unsigned __int8 *v8; // rax result = cocos2d::CCSprite::setFlipX((unsigned __int8 *)a1, a2); if ( *(_BYTE *)(a1 + 618) == 1 ) { v4 = *(_QWORD *)(a1 + 208); if ( v4 ) { result = sub_1007FEF90(v4); if ( (_DWORD)result ) { v5 = 0; do { v6 = (unsigned __int8 *)sub_1007FEFE0(*(_QWORD *)(a1 + 208), v5); cocos2d::CCSprite::setFlipX(v6, a2); ++v5; result = sub_1007FEF90(*(_QWORD *)(a1 + 208)); } while ( v5 < (unsigned int)result ); } } } if ( *(_BYTE *)(a1 + 616) == 1 ) { result = sub_1007FEF90(*(_QWORD *)(a1 + 600)); if ( (_DWORD)result ) { v7 = 0; do { v8 = (unsigned __int8 *)sub_1007FEFE0(*(_QWORD *)(a1 + 600), v7); cocos2d::CCSprite::setFlipX(v8, a2); ++v7; result = sub_1007FEF90(*(_QWORD *)(a1 + 600)); } while ( v7 < (unsigned int)result ); } } return result; }