//
// GameObject::setFlipY from 0x641630 to 0x64167c (76 bytes)
//
// 48 xrefs:
// > PlayerObject::setFlipY @ 0x620e48
// > ??> @ 0x6cfd8
// > ??> @ 0x1153980
// > ??> @ 0x1154150
// > ??> @ 0x1154950
// > ??> @ 0x1162300
// > ??> @ 0x1162b00
// > ??> @ 0x1163300
// > ??> @ 0x1163b00
// > ??> @ 0x1164300
// > ??> @ 0x1164b00
// > ??> @ 0x1165300
// > ??> @ 0x1165b00
// > ??> @ 0x11662d0
// > ??> @ 0x1166ad0
// > ??> @ 0x11672d0
// > ??> @ 0x1167ad0
// > ??> @ 0x11682d0
// > ??> @ 0x1168b10
// > ??> @ 0x1169310
// > ??> @ 0x1169b10
// > ??> @ 0x116a310
// > ??> @ 0x116ab10
// > ??> @ 0x116b320
// > ??> @ 0x116bb20
// > ??> @ 0x116c320
// > ??> @ 0x116cb20
// > ??> @ 0x116d320
// > ??> @ 0x116db20
// > ??> @ 0x116e320
// > ??> @ 0x116eb20
// > ??> @ 0x116f320
// > ??> @ 0x116fb20
// > ??> @ 0x1170320
// > ??> @ 0x1170b20
// > ??> @ 0x1171320
// > ??> @ 0x1171b20
// > ??> @ 0x1172320
// > ??> @ 0x1172b20
// > ??> @ 0x1173320
// > ??> @ 0x1173b20
// > ??> @ 0x1174320
// > ??> @ 0x1174b20
// > ??> @ 0x1175320
// > ??> @ 0x1175b20
// > ??> @ 0x1176320
// > ??> @ 0x1176b20
// > ??> @ 0x1177340
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GameObject::setFlipY(GameObject *a1, bool a2)
{
GameObject_vtbl *v2; // x2
void (__fastcall *setScaleY)(GameObject *__hidden, float); // x20
float v5; // s0
if ( a1->m_isFlipY != a2 )
{
v2 = a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
a1->m_isFlipY = a2;
setScaleY = v2->setScaleY;
v5 = ((float (*)(void))v2->getScaleY)();
setScaleY(a1, -v5);
}
}