{"type": "func", "start": 5372524624, "end": 5372524802, "name": "PlayerObject::setFlipX", "pseudocode": "// \n// PlayerObject::setFlipX from 0x1403a3850 to 0x1403a3902 (178 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1405c86a0\n// > <???> @ 0x140698aac\n// > <???> @ 0x140698abc\n// > <???> @ 0x1406d69a4\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 PlayerObject::setFlipX(PlayerObject *a1, bool a2)\n{\n  PlayerObject_vtbl *v4; // rbx\n\n  if ( a1->m_isFlipX != a2 )\n  {\n    v4 = a1->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    a1->m_isFlipX = a2;\n    ((void (*)(void))v4->getScaleX)();\n    ((void (__fastcall *)(PlayerObject *))v4->setScaleX)(a1);\n  }\n  cocos2d::CCSprite::setFlipX(a1->m_iconSprite, a2);\n  cocos2d::CCSprite::setFlipX(a1->m_iconSpriteSecondary, a2);\n  cocos2d::CCSprite::setFlipX(a1->m_vehicleSprite, a2);\n  cocos2d::CCSprite::setFlipX(a1->m_vehicleSpriteSecondary, a2);\n  cocos2d::CCSprite::setFlipX(a1->m_birdVehicle, a2);\n  cocos2d::CCSprite::setFlipX(a1->m_vehicleGlow, a2);\n}", "assembly": "; \n; PlayerObject::setFlipX from 0x1403a3850 to 0x1403a3902 (178 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1405c86a0\n; > <???> @ 0x140698aac\n; > <???> @ 0x140698abc\n; > <???> @ 0x1406d69a4\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\nmov     [rsp+arg_8], rsi                                               ; +0x0, 0x1403a3850\npush    rdi                                                            ; +0x5, 0x1403a3855\nsub     rsp, 20h                                                       ; +0x6, 0x1403a3856\nmovzx   esi, dl                                                        ; +0xa, 0x1403a385a\nmov     rdi, rcx                                                       ; +0xd, 0x1403a385d\ncmp     [rcx+2C9h], dl                                                 ; +0x10, 0x1403a3860\njz      short loc_1403A3891                                            ; +0x16, 0x1403a3866\nmov     [rsp+28h+arg_0], rbx                                           ; +0x18, 0x1403a3868\nmov     rbx, [rcx]                                                     ; +0x1d, 0x1403a386d\nmov     [rcx+2C9h], dl                                                 ; +0x20, 0x1403a3870\ncall    qword ptr [rbx+80h]                                            ; +0x26, 0x1403a3876\nxorps   xmm0, cs:xmmword_1406243F0                                     ; +0x2c, 0x1403a387c\nmov     rcx, rdi                                                       ; +0x33, 0x1403a3883\nmovaps  xmm1, xmm0                                                     ; +0x36, 0x1403a3886\ncall    qword ptr [rbx+78h]                                            ; +0x39, 0x1403a3889\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3c, 0x1403a388c\nmov     rcx, [rdi+738h]                                                ; +0x41, 0x1403a3891\nmovzx   edx, sil                                                       ; +0x48, 0x1403a3898\ncall    cs:?setFlipX@CCSprite@cocos2d@@QEAAX_N@Z; cocos2d::CCSprite::setFlipX(bool) ; +0x4c, 0x1403a389c\nmov     rcx, [rdi+740h]                                                ; +0x52, 0x1403a38a2\nmovzx   edx, sil                                                       ; +0x59, 0x1403a38a9\ncall    cs:?setFlipX@CCSprite@cocos2d@@QEAAX_N@Z; cocos2d::CCSprite::setFlipX(bool) ; +0x5d, 0x1403a38ad\nmov     rcx, [rdi+758h]                                                ; +0x63, 0x1403a38b3\nmovzx   edx, sil                                                       ; +0x6a, 0x1403a38ba\ncall    cs:?setFlipX@CCSprite@cocos2d@@QEAAX_N@Z; cocos2d::CCSprite::setFlipX(bool) ; +0x6e, 0x1403a38be\nmov     rcx, [rdi+760h]                                                ; +0x74, 0x1403a38c4\nmovzx   edx, sil                                                       ; +0x7b, 0x1403a38cb\ncall    cs:?setFlipX@CCSprite@cocos2d@@QEAAX_N@Z; cocos2d::CCSprite::setFlipX(bool) ; +0x7f, 0x1403a38cf\nmov     rcx, [rdi+768h]                                                ; +0x85, 0x1403a38d5\nmovzx   edx, sil                                                       ; +0x8c, 0x1403a38dc\ncall    cs:?setFlipX@CCSprite@cocos2d@@QEAAX_N@Z; cocos2d::CCSprite::setFlipX(bool) ; +0x90, 0x1403a38e0\nmov     rcx, [rdi+778h]                                                ; +0x96, 0x1403a38e6\nmovzx   edx, sil                                                       ; +0x9d, 0x1403a38ed\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xa1, 0x1403a38f1\nadd     rsp, 20h                                                       ; +0xa6, 0x1403a38f6\npop     rdi                                                            ; +0xaa, 0x1403a38fa\njmp     cs:?setFlipX@CCSprite@cocos2d@@QEAAX_N@Z; cocos2d::CCSprite::setFlipX(bool) ; +0xab, 0x1403a38fb", "xrefs": ["<???> @ 0x1405c86a0", "<???> @ 0x140698aac", "<???> @ 0x140698abc", "<???> @ 0x1406d69a4"], "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"}